https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/Cloud-Integration-qa.xmlSAP Community - Cloud Integration2024-05-10T17:00:11.757803+00:00python-feedgenCloud Integration Q&A in SAP Communityhttps://community.sap.com/t5/technology-q-a/issue-with-cpi-odata-query-filter/qaq-p/13664371Issue with CPI ODATA Query - filter !2024-04-09T16:27:11.987000+02:00das_sappohttps://community.sap.com/t5/user/viewprofilepage/user-id/759772<P>Hi Experts,</P><P>I am trying to extract the details by passing the following query to S4 but getting error as - <SPAN>"<STRONG>Left hand expression of memberaccess operator has wrong cardinality (to many not allowed)"</STRONG> in Odata service request. my filter expression looks like - <STRONG><EM>$filter=to_Plant/Plant eq '08A' and ProductType eq 'MOH'.</EM></STRONG></SPAN></P><P><EM>From the note - <SPAN>3008698 I got the issue but not sure how can I filter the plant . Please suggest</SPAN></EM></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="das_sappo_0-1712672585561.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/93912iC15D5F66F01384C7/image-size/medium?v=v2&px=400" role="button" title="das_sappo_0-1712672585561.png" alt="das_sappo_0-1712672585561.png" /></span></P><P> </P>2024-04-09T16:27:11.987000+02:00https://community.sap.com/t5/technology-q-a/xml-to-json-convert-streaming-not-working/qaq-p/13666519XML to JSON convert streaming not working2024-04-11T09:05:03.463000+02:00ekekakoshttps://community.sap.com/t5/user/viewprofilepage/user-id/38961<P>Hello, I have this flow<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xml to json.jpg" style="width: 133px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/94933i600F4080EAA0936D/image-size/small?v=v2&px=200" role="button" title="xml to json.jpg" alt="xml to json.jpg" /></span>.</P><P>I am receiving the following XML from an RFC Function Module.</P><P> </P><P> </P><P> </P><pre class="lia-code-sample language-markup"><code><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<rfc:Z_CUSTOMER_BALANCE.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<ET_CUSTOMERS_BALANCE>
<item>
<CUSTOMER>0001000011</CUSTOMER>
<CUSTOMER_NAME>ELIAS KEKAKOS</CUSTOMER_NAME>
<CURRENCY>EUR</CURRENCY>
<BALANCE>39640.8200</BALANCE>
<MESSAGE/>
</item>
</ET_CUSTOMERS_BALANCE>
<E_BALANCE>39640.8200</E_BALANCE>
<E_CURRENCY>EUR</E_CURRENCY>
<E_CUSTNAME>ELIAS KEKAKOS</E_CUSTNAME>
<E_CUSTOMER>0001000011</E_CUSTOMER>
<E_RETURN_MESSAGE/>
</rfc:Z_CUSTOMER_BALANCE.Response></code></pre><P> </P><P> </P><P> </P><P>and the JSON is the below</P><P> </P><P> </P><P> </P><pre class="lia-code-sample language-json"><code>{
"Z_CUSTOMER_BALANCE.Response": {
"ET_CUSTOMERS_BALANCE": {
"item": {
"CUSTOMER": "0001000011",
"CUSTOMER_NAME": "ELIAS KEKAKOS",
"CURRENCY": "EUR",
"BALANCE": "39640.8200",
"MESSAGE": ""
}
},
"E_BALANCE": "39640.8200",
"E_CURRENCY": "EUR",
"E_CUSTNAME": "ELIAS KEKAKOS",
"E_CUSTOMER": "0001000011",
"E_RETURN_MESSAGE": ""
}
}</code></pre><P> </P><P> </P><P> </P><P>I want the <SPAN>Z_CUSTOMER_BALANCE.Response/ET_CUSTOMERS_BALANCE/item to permanently table even if it has 1 record or more. I enabled the Streaming option with the above XML element, but not only the JSON with 1 record in ITEM did not change, but when I have more than 1 it still is not table [ ] as you can see below.</SPAN></P><P> </P><P> </P><P> </P><pre class="lia-code-sample language-json"><code>{
"Z_CUSTOMER_BALANCE.Response": {
"ET_CUSTOMERS_BALANCE": {
"item": {
"CUSTOMER": "0001000022",
"CUSTOMER_NAME": "ELIAS KEKAKOS",
"CURRENCY": "EUR",
"BALANCE": "238.6900",
"MESSAGE": ""
},
"item": {
"CUSTOMER": "0001000035",
"CUSTOMER_NAME": "ELIAS KEKAKOS2",
"CURRENCY": "EUR",
"BALANCE": "20639.1000",
"MESSAGE": ""
}
},
"E_BALANCE": "0.0000",
"E_CURRENCY": "",
"E_CUSTNAME": "",
"E_CUSTOMER": "",
"E_RETURN_MESSAGE": ""
}
}</code></pre><P> </P><P> </P><P> </P><P>What I am expecting is the below</P><P> </P><P> </P><pre class="lia-code-sample language-json"><code>{
"Z_CUSTOMER_BALANCE.Response": {
"ET_CUSTOMERS_BALANCE": {
"item": [
{
"CUSTOMER": "0001000035",
"CUSTOMER_NAME": "ELIAS KEKAKOS",
"CURRENCY": "EUR",
"BALANCE": "20639.1000",
"MESSAGE": ""
},
{
"CUSTOMER": "0001000041",
"CUSTOMER_NAME": "ELIAS KEKAKOS2",
"CURRENCY": "EUR",
"BALANCE": "1610.1900",
"MESSAGE": ""
}
]
},
"E_BALANCE": "0.0000",
"E_CURRENCY": "",
"E_CUSTNAME": "",
"E_CUSTOMER": "",
"E_RETURN_MESSAGE": ""
}
}</code></pre><P> </P><P> </P><P>or with 1 record under the ITEM</P><P> </P><P> </P><pre class="lia-code-sample language-json"><code>{
"Z_CUSTOMER_BALANCE.Response": {
"ET_CUSTOMERS_BALANCE": {
"item": [
{
"CUSTOMER": "0001000035",
"CUSTOMER_NAME": "ELIAS KEKAKOS",
"CURRENCY": "EUR",
"BALANCE": "20639.1000",
"MESSAGE": ""
}
]
},
"E_BALANCE": "20639.1000",
"E_CURRENCY": "EUR",
"E_CUSTNAME": "ELIAS KEKAKOS",
"E_CUSTOMER": "0001000035",
"E_RETURN_MESSAGE": ""
}
}</code></pre><P> </P><P> </P><P>As it does if I select ALL(under Streaming) but it is for every element.</P><P>Can someone tell me what is wrong?</P><P>Thanks</P><P>Elias</P><P> </P><P> </P>2024-04-11T09:05:03.463000+02:00https://community.sap.com/t5/technology-q-a/need-help-with-cpi-mapping/qaq-p/13668767Need Help with CPI mapping2024-04-13T09:34:53.999000+02:00das_sappohttps://community.sap.com/t5/user/viewprofilepage/user-id/759772<P>Hi Experts,</P><P>I need help/direction to achieve the following in SAP CPI Mapping.</P><P>In the Source <Item> node (Occurences 0...Unbounded) we have following segments at the same level</P><P>G_HL_gq_O<BR />G_HL_gq_T<BR />G_HL_gq_P<BR />G_HL_gq_I</P><P>We have populated E1EDL24 for each G_HL_gq_O<BR />Now , there is a field under //G_HL_gq_I/S_SN1/D_382 , we need to sum up all the values from //D-382 before the next G_HL_gq_O<BR />and pass to target //E1EDL24/LFIMG .</P><P>Please suggest how can this be achieved.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="das_sappo_0-1712993650020.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/95883i969FE6B615779FE0/image-size/medium?v=v2&px=400" role="button" title="das_sappo_0-1712993650020.png" alt="das_sappo_0-1712993650020.png" /></span></P><P> </P><P> </P><P> </P><P> </P>2024-04-13T09:34:53.999000+02:00https://community.sap.com/t5/technology-q-a/need-help-with-sap-cpi-iflow/qaq-p/13669410Need help with SAP CPI iflow2024-04-13T17:27:15.499000+02:00Private_Member_355591https://community.sap.com/t5/user/viewprofilepage/user-id/493565<P>Message mapping not returning expected response. The target response is not having items array.<BR /><BR /><BR /><BR /><BR /><BR /></P><P> </P>2024-04-13T17:27:15.499000+02:00https://community.sap.com/t5/technology-q-a/sap-cpi-merge-different-payloads-to-single/qaq-p/13670555SAP CPI Merge different payloads to single2024-04-15T09:26:32.660000+02:00Private_Member_355591https://community.sap.com/t5/user/viewprofilepage/user-id/493565<P>Hi ,</P><P>I have a scenario where I need to merge the response of api call to input payload. Please suggest how this can be achieved.</P><P>InputPayload (Json) -> convert to xml -> use message mapping to map the input payload fields to api fields -> trigger api call -> response returned is in xml format (add it to the InputPayload ??) </P>2024-04-15T09:26:32.660000+02:00https://community.sap.com/t5/technology-q-a/read-a-jms-queue-with-a-timer-event/qaq-p/13671388Read a JMS queue with a timer event2024-04-15T20:21:56.477000+02:00vinicius_anjos_inaciohttps://community.sap.com/t5/user/viewprofilepage/user-id/887137<P>Hi experts,<BR /><BR />I would like to know, if is it possible to read data from a JMS queue with a timer?<BR />I want to run my JMS queue receiver flow daily, but I cannot connect the sender to a timer event. I want the data to be stored in JMS queue until the timer run the receiver flow.<BR /><BR />This is what my receiver flow looks like right now...<BR /><BR />Regards.</P>2024-04-15T20:21:56.477000+02:00https://community.sap.com/t5/technology-q-a/401-authorization-error-while-calling-the-cpi-service-from-postman-and-soap/qaq-p/13673345401 authorization error while calling the CPI service from POSTMAN and SOAP UI2024-04-17T13:47:40.592000+02:00AbdulHammedhttps://community.sap.com/t5/user/viewprofilepage/user-id/95040<P>Dear Experts,</P><P>Up until this past weekend, everything was going well with my SAP Cloud connection login and admin access. However, for the past two days, I've been receiving 401 authorization errors when attempting to contact the CPI services using POSTMAN and SOAP UI.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AbdulHammed_0-1713353972780.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/97586iC4562FD3BF0A727F/image-size/medium?v=v2&px=400" role="button" title="AbdulHammed_0-1713353972780.png" alt="AbdulHammed_0-1713353972780.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AbdulHammed_1-1713354103264.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/97593i8679E855548F6255/image-size/medium?v=v2&px=400" role="button" title="AbdulHammed_1-1713354103264.png" alt="AbdulHammed_1-1713354103264.png" /></span></P><P>Kindly help me to understand what am i missing here (password rest also done but still same issue).</P><P>Regards, </P>2024-04-17T13:47:40.592000+02:00https://community.sap.com/t5/technology-q-a/how-to-read-the-name-of-groovy-script-sap-cloud-integration-cpi/qaq-p/13678256how to read the name of groovy script sap cloud integration cpi2024-04-22T15:39:14.575000+02:00mark_fryuhttps://community.sap.com/t5/user/viewprofilepage/user-id/709977<P>hi, I need to use the name of the groovy script inside the script to use it as the attachment name</P><P>For example the script name is Log Payload, I want the attachment to be called Log Payload</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_fryu_0-1713793032884.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/100028i790D1027DE6D5292/image-size/medium?v=v2&px=400" role="button" title="mark_fryu_0-1713793032884.png" alt="mark_fryu_0-1713793032884.png" /></span></P><P>How can I do?</P><P>I've done some testing but am having problems, i tried this:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_fryu_1-1713793068239.png" style="width: 728px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/100029iBAF8F0C09DB0E970/image-dimensions/728x39?v=v2" width="728" height="39" role="button" title="mark_fryu_1-1713793068239.png" alt="mark_fryu_1-1713793068239.png" /></span></P><P>bur i have this error:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_fryu_2-1713793098359.png" style="width: 713px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/100030i7BCF8ABE6A07E012/image-dimensions/713x57?v=v2" width="713" height="57" role="button" title="mark_fryu_2-1713793098359.png" alt="mark_fryu_2-1713793098359.png" /></span></P><P>Thank you</P>2024-04-22T15:39:14.575000+02:00https://community.sap.com/t5/technology-q-a/cpi-mapping-condition-issue/qaq-p/13681098CPI Mapping condition issue2024-04-24T16:01:02.287000+02:00das_sappohttps://community.sap.com/t5/user/viewprofilepage/user-id/759772<P>Hi Experts,</P><P>I need to implement a mapping condition in CPI but unable to populate the data in target as per the requirement..</P><P><STRONG>Scenario 1</STRONG></P><P>If <S_LT> and <S_TM> contains same number of segments in a context then copy <D_373> to target field.</P><P>Which is working fine.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="das_sappo_0-1713967006212.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101219i2EF5F93987D5E034/image-size/medium?v=v2&px=400" role="button" title="das_sappo_0-1713967006212.png" alt="das_sappo_0-1713967006212.png" /></span></P><P> </P><P><STRONG>Scenario 2</STRONG></P><P>If <S_TM> comes only once in a context and <S_LT> comes more than once, then copy <D_373> to target as many as the occurrences of <S_LT></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="das_sappo_1-1713967222710.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101230i360322FE6F491896/image-size/medium?v=v2&px=400" role="button" title="das_sappo_1-1713967222710.png" alt="das_sappo_1-1713967222710.png" /></span></P><P> </P><P> </P>2024-04-24T16:01:02.287000+02:00https://community.sap.com/t5/technology-q-a/http-receiver-adapter-with-dynamic-value-in-url-using-header-property-value/qaq-p/13682497HTTP Receiver adapter with Dynamic value in URL using header/property value in CPI2024-04-25T15:54:16.343000+02:00Jeevitha_04https://community.sap.com/t5/user/viewprofilepage/user-id/1399038<P>Hi All,</P><P>Need some input in configuration of Receiver HTTP Adapter with dynamic values ( from Header/Property) in URL . </P><P>Please guide how to do configuration in adapter .</P><P>Thanks in advance.</P><P>Regards,</P><P>Jeevitha</P>2024-04-25T15:54:16.343000+02:00https://community.sap.com/t5/technology-q-a/splitting-commaseperated-value-and-passing-it-to-different-target-fields/qaq-p/13683311Splitting commaseperated value and passing it to different target fields through Groovy script2024-04-26T09:52:01.233000+02:00Jeevitha_04https://community.sap.com/t5/user/viewprofilepage/user-id/1399038<P>Hi All,</P><P>There is a requirement to split the input field and passing it to different fields. Pls guide me in groovy script to get this output.</P><P>Ex:</P><P>Inputfield = a,b,c,d</P><P>In Output </P><P>text1=a</P><P>text2=b</P><P>text3=c</P><P>text4=d </P><P>Thanks & Regards,</P><P>Jeevitha </P><P> </P>2024-04-26T09:52:01.233000+02:00https://community.sap.com/t5/technology-q-a/rfc-to-receive-pdf-files/qaq-p/13684841RFC to receive PDF files2024-04-28T17:18:09.695000+02:00rypatilhttps://community.sap.com/t5/user/viewprofilepage/user-id/870559<P>Hi Experts,</P><P>I'm working on a scenario which is related to SFTP to RFC. Where I need to pass pdf files from a SFTP server to RFC. Please let me know which type to RFC destination(Example:- ABAP, HTTP Connection to External Server, Internal Connection, TCP/IP Connection) and function module I've to create so that it can receive pdf files.<BR /><BR />Thanks and Regards,<BR />Sufiyan.</P>2024-04-28T17:18:09.695000+02:00https://community.sap.com/t5/technology-q-a/read-an-asynchronous-messaging-with-a-timer-event/qaq-p/13686387Read an asynchronous messaging with a Timer Event2024-04-29T20:27:32.301000+02:00vinicius_anjos_inaciohttps://community.sap.com/t5/user/viewprofilepage/user-id/887137<P>Hi,<BR />I want a Timer Event which will run daily to read the JMS Queue messages or some asynchronous messaging adapter and forward it for processing.<BR />Request-Reply is not working for JMS Adapter.<BR />How to achieve this?</P>2024-04-29T20:27:32.301000+02:00https://community.sap.com/t5/technology-q-a/deleted/qaq-p/13687741[deleted]2024-04-30T20:53:22.042000+02:00Jose_Pietrihttps://community.sap.com/t5/user/viewprofilepage/user-id/783598<P>[deleted]</P>2024-04-30T20:53:22.042000+02:00https://community.sap.com/t5/technology-q-a/abap-proxy-to-sftp-retry/qaq-p/13689811ABAP Proxy to SFTP Retry2024-05-02T17:41:10.310000+02:00David_Oexnerhttps://community.sap.com/t5/user/viewprofilepage/user-id/6943<P>Hi All,</P><P>We have a scenario where we CPI receives ABAP proxy call which will be forwarded to a SFTP receiver. Sometimes, we get error in SFTP like server unavailable, timeout etc. In such cases the message is going in failed status in CPI without any retry. What is the best approach for handling retries and also errors?</P>2024-05-02T17:41:10.310000+02:00https://community.sap.com/t5/technology-q-a/need-help-in-mapping-part-in-cpi/qaq-p/13690242Need help in mapping part in CPI2024-05-03T07:02:29.981000+02:00Jeevitha_04https://community.sap.com/t5/user/viewprofilepage/user-id/1399038<P>Hi All,</P><P> </P><P>I need help in mapping</P><P> </P><P>There are 3 E1EDL24 segment in IDoc , So 3 segment will be created in target structure.</P><P>There are many E1EDL37 segments (It is not coming under E1EDL34, this is separate segment), which will have Quantity field under the segment E1EDL44 , here I need to add all the quantity corresponding to the material number and pass the value,</P><P>Please let me know how to achieve this.</P><P> </P><P>I need highlighted value in the target field.</P><P> </P><P>Thanks in advance,</P><P>Regards,</P><P>Jeevitha N</P>2024-05-03T07:02:29.981000+02:00https://community.sap.com/t5/technology-q-a/shortening-source-file-name-in-sap-po/qaq-p/13694835Shortening Source File name in SAP PO !2024-05-08T09:56:00.745000+02:00das_sappohttps://community.sap.com/t5/user/viewprofilepage/user-id/759772<P>Dear Experts,</P><P>We have a <STRONG>passthrough</STRONG> scenario in SAP PO 7.5 and files are picked up from SFTP folder and placing into a File server keeping the same file name from the Source SFTP.</P><P>Now we need to truncate the file name . </P><P>If the file name at Source is <STRONG>ABC_12345_LKN.8URTY.txt</STRONG> then we need to write the file at the target File server with the name as <STRONG>ABC_12345.txt </STRONG></P><P>I have created dummy DT, MT and SI, mapping, operation mapping and using the following UDF but getting error in sender channel. Please suggest here</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="das_sappo_0-1715268282306.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108090i09F7270C52407084/image-size/medium?v=v2&px=400" role="button" title="das_sappo_0-1715268282306.png" alt="das_sappo_0-1715268282306.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="das_sappo_1-1715268307406.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108091iFEC3014C9D83C66B/image-size/medium?v=v2&px=400" role="button" title="das_sappo_1-1715268307406.png" alt="das_sappo_1-1715268307406.png" /></span></P><P><STRONG>Error:</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="das_sappo_2-1715268347859.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108092i404F62B513D28C27/image-size/medium?v=v2&px=400" role="button" title="das_sappo_2-1715268347859.png" alt="das_sappo_2-1715268347859.png" /></span></P><P> </P><P> </P><P>Please suggest how can this be achieved .</P><P> </P><P>Regards,</P><P>Arvik</P><P> </P>2024-05-08T09:56:00.745000+02:00https://community.sap.com/t5/technology-q-a/connectivity-guaranteed-with-cloud-integration-version-and-cloud-connector/qaq-p/13695807Connectivity guaranteed with Cloud Integration version and Cloud Connector version2024-05-09T02:53:18.355000+02:00Takuya_Nezuhttps://community.sap.com/t5/user/viewprofilepage/user-id/149010<P><SPAN>Is there any reference where I can check connectivity guaranteed between BTP Cloud Integration version and Cloud Connector version?</SPAN></P>2024-05-09T02:53:18.355000+02:00https://community.sap.com/t5/technology-q-a/sap-cpi-jdbc-adapter/qaq-p/13696111SAP CPI JDBC Adapter2024-05-09T10:50:06.275000+02:00David_Oexnerhttps://community.sap.com/t5/user/viewprofilepage/user-id/6943<P>Dear All,</P><P>Is there any way to see the what query is going to the database from CPI JDBC adapter?</P>2024-05-09T10:50:06.275000+02:00https://community.sap.com/t5/technology-q-a/retrieving-iflow-name-or-id-at-runtime-in-sap-cloud-integration/qaq-p/13697904Retrieving iFlow Name or ID at Runtime in SAP Cloud Integration2024-05-10T17:40:00.954000+02:00Florian_Kubehttps://community.sap.com/t5/user/viewprofilepage/user-id/2566<P> </P><P><SPAN>I'm trying to retrieve the name or ID of an iFlow during runtime in SAP Cloud Integration. I've checked the properties and sysenv, but couldn't find any relevant values. Does anyone have any suggestions on how to achieve this?</SPAN></P>2024-05-10T17:40:00.954000+02:00