https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/Cloud-Integration-qa.xml SAP Community - Cloud Integration 2024-07-26T23:00:10.328250+00:00 python-feedgen Cloud Integration Q&A in SAP Community https://community.sap.com/t5/technology-q-a/handle-multiple-api-keys-in-sap-cloud-integration/qaq-p/13749734 Handle multiple API Keys in SAP Cloud Integration 2024-07-03T09:06:29.593000+02:00 rrmalgi https://community.sap.com/t5/user/viewprofilepage/user-id/610862 <P>Hi,</P><P>We are integrating with an external application, which has provided us company specific API key to post data using their API. For Ex : If we are posting data about Company A there is a specific API Key A. If Company B then API Key B.&nbsp;</P><P>I can think of doing this using Value mapping but I would like to know if there is a better approach which is secure as well.&nbsp; Please suggest</P><P>Best Regards</P> 2024-07-03T09:06:29.593000+02:00 https://community.sap.com/t5/technology-q-a/csv-lookup-using-cpi/qaq-p/13750730 CSV lookup using CPI 2024-07-04T02:34:47.838000+02:00 Distinct_Sky https://community.sap.com/t5/user/viewprofilepage/user-id/1455753 <P>Hello All,</P><P>I have a CSV on an SFTP server that contains Employee's ID and their date of birth. Is it possible to do a lookup in CSV from CPI? E.g. send EmployeeID as request and get date of birth as a response.</P><P>I know I can create another iflow that reads this CSV regularly into a hashmap and do lookup there. However, I was trying to configure this ina single iflow, if possible.</P><P>&nbsp;</P><P>Thanks,</P> 2024-07-04T02:34:47.838000+02:00 https://community.sap.com/t5/technology-q-a/activate-idoc-service-path-in-s4-for-idoc-receiver-connection-with-ci/qaq-p/13751633 activate IDOC service path in S4 for IDOC receiver connection with CI 2024-07-04T16:05:37.946000+02:00 ramu_g4 https://community.sap.com/t5/user/viewprofilepage/user-id/245959 <P>Hi Experts,</P><P>We are working on SOAP -&gt; IDOC scenario in Cloud Integration(SAP Integration Suite).</P><P>As a pre-requisite, we are trying to establish the IDOC connection from "Cloud Integration" to S4.</P><P>But we notice that&nbsp;activation of IDOC service path ‘/sap/bc/srt/idoc’ in SAP backend is needed.</P><P>But, our BASIS team declines our request stating that it is not allowed as per our organization hardening guidelines. They are asking to find an alternative way to achieve the required functionality.</P><P>Could you please let me know the alternate options available to achieve the requirement without additional efforts like interface redesign etc., Thank you!</P><P>Regards,</P><P>Ramu</P> 2024-07-04T16:05:37.946000+02:00 https://community.sap.com/t5/technology-q-a/availability-of-event-mesh-in-sap-integration-suite-trial-account/qaq-p/13752567 Availability of Event Mesh in SAP Integration Suite trial account 2024-07-05T11:33:11.257000+02:00 sinhasouvik https://community.sap.com/t5/user/viewprofilepage/user-id/24647 <P>Hi,</P><P>As we know Event Mesh is now part of SAP Integration Suite standard license. Do we have any plan to release it in SAP Integration Suite trail account?</P><P>Regards,</P><P>Souvik</P> 2024-07-05T11:33:11.257000+02:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/how-to-handle-exceptions-in-odata-receiver-adapter-in-sap-cpi/qaq-p/13753752 How to handle exceptions in Odata receiver adapter in SAP CPI 2024-07-08T07:55:49.683000+02:00 pavankalyan_racha https://community.sap.com/t5/user/viewprofilepage/user-id/852023 <P>Hi All,<BR />We have a requirement to make multiple calls to an SAP EAM OData API. We would get a request with a set of Ids from source system then we have to split those ids into batches and make call to SAP EAM OData API with each batch so here the issue is if the data doesn't exist for any one of the batch the OData&nbsp; API is throwing exception and the entire flow is getting failed and not getting proceeded for the next batch.<BR />Let us assume we get 10 Ids from source and we are splitting them into a batch of two ids each so we have to make 5 calls to the OData API. Here for the first two batches there are details in OData API and it returned the details for those Ids, for the third batch of Ids there are no details in OData Api so its throwing exception with 400 Bad request and the flow is not getting failed and not getting proceeded for the next 2 batches where the data exists in OData API for those set of Ids.</P><P>In HTTPS adapter we have an option to handle the failures as shown below</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pavankalyan_racha_0-1720417960603.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/133358i51E2A6602511A7AE/image-size/medium?v=v2&amp;px=400" role="button" title="pavankalyan_racha_0-1720417960603.png" alt="pavankalyan_racha_0-1720417960603.png" /></span></P><P>If we uncheck this we can route the exception messages to a different route and we can handle&nbsp;</P><P>&nbsp;</P><P>Can someone help me how to handle the above-mentioned exceptions in OData receiver Adapter<BR /><BR />Thanks &amp; Regards<BR />Pavan Kalyan<BR /><BR /></P> 2024-07-08T07:55:49.683000+02:00 https://community.sap.com/t5/technology-q-a/handling-attributes-in-xpath-expressions-in-sap-cloud-integration-cpi/qaq-p/13754642 Handling Attributes in xpath expressions in Sap Cloud Integration CPI 2024-07-08T18:20:49.397000+02:00 mark_fryu https://community.sap.com/t5/user/viewprofilepage/user-id/709977 <P>hi,</P><P>I have to read an attribute of the xml as a property, the namespace is also present.</P><P>the xml is like this:</P><P>&lt;ns0:test&gt;</P><P>&nbsp; &lt;test2 ns1:testattribute="test"&gt;<BR /><BR />&nbsp; &lt;/test2&gt;</P><P>&lt;/ns0:test&gt;</P><P>How do I read the "testattribute" attribute with xpath?</P><P>I tried:</P><P>/test/test2/@testattribute</P><P>but looking in trace, the property is empty and does not contain the value:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_fryu_1-1720455563352.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/133841i2B871AD860256230/image-size/medium?v=v2&amp;px=400" role="button" title="mark_fryu_1-1720455563352.png" alt="mark_fryu_1-1720455563352.png" /></span></P><P>&nbsp;</P><P>&nbsp;</P><P>Thank you</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P> 2024-07-08T18:20:49.397000+02:00 https://community.sap.com/t5/technology-q-a/pdf-character-conversion-problem-cloud-integration-cpi/qaq-p/13756845 PDF character conversion problem cloud integration cpi 2024-07-10T12:29:25.907000+02:00 mark_fryu https://community.sap.com/t5/user/viewprofilepage/user-id/709977 <P>hi,</P><P>I created a flow on the integration suite that receives a .pdf file as input</P><P>I made a call with postman sending the pdf:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_fryu_0-1720606972731.png" style="width: 520px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/134936iDE311D523AD05552/image-dimensions/520x139?v=v2" width="520" height="139" role="button" title="mark_fryu_0-1720606972731.png" alt="mark_fryu_0-1720606972731.png" /></span></P><P>I put the flow in trace and when I modify the body, and add a text then the pdf changes format.</P><P>I downloaded the body at the beginning of the call, and it is like this (see line 15 of notepad):</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_fryu_4-1720607108406.png" style="width: 715px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/134941i5DC8619414663D5B/image-dimensions/715x206?v=v2" width="715" height="206" role="button" title="mark_fryu_4-1720607108406.png" alt="mark_fryu_4-1720607108406.png" /></span></P><P>with a content modifier, I added the text "test" at the beginning of the body, and the format of the pdf changes.</P><P>practically in line 16, the string "ÿØÿà" has been modified with&nbsp;�</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_fryu_0-1720608694842.png" style="width: 570px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/134951i78DC3AA91600074A/image-dimensions/570x167?v=v2" width="570" height="167" role="button" title="mark_fryu_0-1720608694842.png" alt="mark_fryu_0-1720608694842.png" /></span></P><P>&nbsp;</P><P>Here save the body (the pdf format is ok):</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_fryu_0-1720608341195.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/134945i35626CB3294EF4B5/image-size/medium?v=v2&amp;px=400" role="button" title="mark_fryu_0-1720608341195.png" alt="mark_fryu_0-1720608341195.png" /></span></P><P>&nbsp;</P><P>here I modify the body, the format of the pdf changes (as in the screenshot above with �)</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_fryu_1-1720608543202.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/134949iB245929D02AE4FF8/image-size/medium?v=v2&amp;px=400" role="button" title="mark_fryu_1-1720608543202.png" alt="mark_fryu_1-1720608543202.png" /></span></P><P>&nbsp;</P><P>How can I make additions in the body but keep the same format as the PDF I had at the beginning?</P><P>&nbsp;</P><P>Thank you</P> 2024-07-10T12:29:25.907000+02:00 https://community.sap.com/t5/technology-q-a/sender-rfc-configuration-in-cpi/qaq-p/13757523 Sender RFC configuration in CPI 2024-07-11T06:54:49.194000+02:00 radhika_01 https://community.sap.com/t5/user/viewprofilepage/user-id/1477170 <P>Hi</P><P>My configuration scenario for migrating in CPI is having a sender RFC channel. Since there is no sender RFC adapter available how can it be done?</P><P>Can someone help me with it?</P><P>Thanks&nbsp;</P><P>Radhika&nbsp;</P> 2024-07-11T06:54:49.194000+02:00 https://community.sap.com/t5/technology-q-a/error-in-odata-request-integration-suite/qaq-p/13757929 Error in ODATA Request - Integration Suite 2024-07-11T11:49:53.125000+02:00 florianre https://community.sap.com/t5/user/viewprofilepage/user-id/1485447 <P>Dear experts,</P><P>today I have encountered the following problem in the integration suite.</P><P>In the following artifact: "<SPAN>Replicate Generic Data from SAP SuccessFactors Employee Central to SAP ERP or SAP S4HANA Using the OData API" I get an error, even though the integration suite does say the message was processed succesfully.</SPAN></P><P><SPAN>The log in the monitoring tells me the following error:<BR />LastError&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;java.lang.NullPointerException:&nbsp;while&nbsp;trying&nbsp;to&nbsp;invoke&nbsp;the&nbsp;method&nbsp;org.apache.http.client.methods.HttpGet.releaseConnection()&nbsp;of&nbsp;a&nbsp;null&nbsp;object&nbsp;loaded&nbsp;from&nbsp;local&nbsp;variable&nbsp;'requestGet'<BR /></SPAN></P><P>What can I do to fix this? This is in the demo environment...</P><P>I am thankful for any help!</P><P>&nbsp;</P><P><a href="https://community.sap.com/t5/c-khhcw49343/Cloud+Integration/pd-p/67837800100800006801" class="lia-product-mention" data-product="361-1">Cloud Integration</a>&nbsp;<a href="https://community.sap.com/t5/c-khhcw49343/SAP+Business+Technology+Platform/pd-p/73555000100700000172" class="lia-product-mention" data-product="1215-1">SAP Business Technology Platform</a>&nbsp;#SAP SuccessFactors <a href="https://community.sap.com/t5/c-khhcw49343/API/pd-p/b31da0dd-f79a-4a1e-988c-af0755c2d184" class="lia-product-mention" data-product="123-1">API</a>&nbsp;</P> 2024-07-11T11:49:53.125000+02:00 https://community.sap.com/t5/technology-q-a/career-progression-for-cpi-consultants/qaq-p/13760289 Career progression for CPI consultants 2024-07-14T22:10:50.735000+02:00 Distinct_Sky https://community.sap.com/t5/user/viewprofilepage/user-id/1455753 <P>Hello All,</P><P>Hope you don't mind a non-technical question here <span class="lia-unicode-emoji" title=":slightly_smiling_face:">🙂</span></P><P>I am an independent consultant with several years of experience in SAP PI/PO and CPI. From a career progression perspective, what area of the Integration suite aligns naturally with a CPI consultant's path?</P><P>Few areas I am looking at are APIM and Event Mesh.</P><P>Thanks,</P> 2024-07-14T22:10:50.735000+02:00 https://community.sap.com/t5/technology-q-a/sap-btp-cpi-amqp-adapter/qaq-p/13761062 SAP BTP CPI - AMQP Adapter 2024-07-15T14:51:56.897000+02:00 Nijith https://community.sap.com/t5/user/viewprofilepage/user-id/178558 <P>How to use AMQP adapter in between an iFlow . I need to read messages from queue every 15 minutes ,so have a timer which is scheduled to run every 15 minutes . But I am not able to read messages from queue in between an iFlow using OOTB components</P> 2024-07-15T14:51:56.897000+02:00 https://community.sap.com/t5/technology-q-a/cpi-to-s4-hana-sales-order-creation/qaq-p/13763827 CPI to S4 Hana Sales Order Creation 2024-07-17T21:06:14.910000+02:00 Parth08 https://community.sap.com/t5/user/viewprofilepage/user-id/1481449 <P>I am trying to create Sales Order in S4 Hana Using SAP CPI <a href="https://community.sap.com/t5/c-khhcw49343/Cloud+Integration/pd-p/67837800100800006801" class="lia-product-mention" data-product="361-1">Cloud Integration</a>&nbsp;#, and the file payload format is XML and the API is A_SalesOrder #Sales Order# to create sales order,I think it might be the path Issue to access the line item but not sure.&nbsp; but the error is -&nbsp;</P><P>&nbsp;</P><DIV><DIV><STRONG>Error while parsing an XML stream: 'BOM / charset detection failed</STRONG></DIV><DIV>&nbsp;</DIV><DIV>Can anyone help me with this issue to fix the xml format to access the correct path to line item.</DIV><DIV>&nbsp;</DIV><DIV><DIV><DIV>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</DIV><DIV>&lt;atom:entry xmlns:atom="<A href="http://www.w3.org/2005/Atom" target="_blank" rel="nofollow noopener noreferrer">http://www.w3.org/2005/Atom</A>" xmlns:d="<A href="http://schemas.microsoft.com/ado/2007/08/dataservices" target="_blank" rel="nofollow noopener noreferrer">http://schemas.microsoft.com/ado/2007/08/dataservices</A>" xmlns:m="<A href="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" target="_blank" rel="nofollow noopener noreferrer">http://schemas.microsoft.com/ado/2007/08/dataservices/metadata</A>"&gt;</DIV><DIV>&lt;atom:content type="application/xml"&gt;</DIV><DIV>&lt;m:properties&gt;</DIV><DIV>&lt;d:SalesOrderType&gt;OR&lt;/d:SalesOrderType&gt;</DIV><DIV>&lt;d:SalesOrganization&gt;1000&lt;/d:SalesOrganization&gt;</DIV><DIV>&lt;d:DistributionChannel&gt;10&lt;/d:DistributionChannel&gt;</DIV><DIV>&lt;d:SoldToParty&gt;10000001&lt;/d:SoldToParty&gt;</DIV><DIV>&lt;d:CustomerPurchaseOrderDate&gt;2024-04-13T00:00:00&lt;/d:CustomerPurchaseOrderDate&gt;</DIV><DIV>&lt;/m:properties&gt;</DIV><DIV>&lt;d:to_Item&gt;</DIV><DIV>&lt;d:results&gt;</DIV><DIV>&lt;d:Material&gt;FG200&lt;/d:Material&gt;</DIV><DIV>&lt;d:RequestedQuantity&gt;55&lt;/d:RequestedQuantity&gt;</DIV><DIV>&lt;/d:results&gt;</DIV><DIV>&lt;/d:to_Item&gt;</DIV><DIV>&lt;/atom:content&gt;</DIV><DIV>&lt;/atom:entry&gt;</DIV></DIV></DIV></DIV> 2024-07-17T21:06:14.910000+02:00 https://community.sap.com/t5/technology-q-a/ariba-sender-adapter-in-cloud-integration-not-fetching-purchase-orders/qaq-p/13764176 Ariba Sender Adapter in Cloud Integration not fetching Purchase Orders 2024-07-18T08:11:03.267000+02:00 lnirmala https://community.sap.com/t5/user/viewprofilepage/user-id/122818 <P>Hi all,</P><P>We have a requirement to integrate Ariba supplier portal with SAP via Cloud Integration. There are 2 scenarios</P><P>1. Fetch orders from Ariba supplier portal and send to SAP ECC<BR />2. Post invoices from SAP ECC to Ariba Supplier portal</P><P>We are using Ariba adapter in both the scenarios.</P><P>For posting invoices, I am able to do that using Ariba receiver adapter and invoice is reflecting in Ariba supplier portal. But while fetching orders using Ariba sender adapter, the iFlow is in Completed status but no orders are being pulled and there is no error in Message Monitoring.</P><P>I would like to know if anyone has used Ariba sender adapter to pull Purchase orders from Ariba portal and faced similar issue.</P><P>Thank you<BR />Lekshmi</P> 2024-07-18T08:11:03.267000+02:00 https://community.sap.com/t5/technology-q-a/integration-with-subcontracting-cockpit-app-for-goods-issue/qaq-p/13765922 integration with subcontracting cockpit app, for goods issue 2024-07-19T12:15:38.002000+02:00 Ricardo6 https://community.sap.com/t5/user/viewprofilepage/user-id/1490088 <P>We need to generate an integration in sap public cloud, for our customer, with which we can make the goods issues for subcontracting orders.</P><P>I can't find a way to associate the creation of the goods issue to the subcontracting order with the subcontracting cockpit app.</P><P>Best regards, thank you in advance</P> 2024-07-19T12:15:38.002000+02:00 https://community.sap.com/t5/technology-q-a/sap-btp-services-usage-quota-restriction/qaq-p/13766470 SAP BTP Services usage quota restriction 2024-07-19T21:00:43.870000+02:00 SAPSupport https://community.sap.com/t5/user/viewprofilepage/user-id/121003 <P>Hi Team,</P><P>We have a few queries regarding restricting the quota for Integration Suite and Cloud Foundry:</P><P>1. How can we <STRONG>restrict the number of messages</STRONG> per integration tenant?<BR />2. How can we <STRONG>restrict the memory(GB) per cloud foundry organization</STRONG>? Currently, the entire available global memory quota is up for use.</P><P>Please advise on how to manage quota usage effectively to prevent unintentional usage of our CPEA credits.</P><P>Thank you.</P><BR />------------------------------------------------------------------------------------------------------------------------------------------------<BR /><B>Learn more about the SAP Support user and program <A target="_blank" href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/maximizing-the-power-of-sap-community-at-product-support/ba-p/13501276">here</A>.</B> 2024-07-19T21:00:43.870000+02:00 https://community.sap.com/t5/technology-q-a/how-to-add-params-warningacknowledged-and-workflowconfirmed-into-sf-batch/qaq-p/13767177 How to add Params:warningAcknowledged and workflowConfirmed into SF batch upsert 2024-07-22T05:31:07.755000+02:00 LynnChang https://community.sap.com/t5/user/viewprofilepage/user-id/1490871 <P>Hi all</P><P>I need to add below 2 parameters when I calling SF batch upsert method. I Can't find the way to passing the parameter in CPI. Need all you guys help.<span class="lia-unicode-emoji" title=":sad_but_relieved_face:">😥</span></P><UL><LI><STRONG>workflowConfirmed=true</STRONG></LI><LI><STRONG>warningAcknowledged=true</STRONG></LI></UL><P><STRONG>My CPI settings:</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="msedge_PsqeYD0ZG5.png" style="width: 200px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/139557i29D82377AC084517/image-size/small?v=v2&amp;px=200" role="button" title="msedge_PsqeYD0ZG5.png" alt="msedge_PsqeYD0ZG5.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xVwjaiPubr.png" style="width: 189px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/139558i7DC73A1BF36DE777/image-size/small?v=v2&amp;px=200" role="button" title="xVwjaiPubr.png" alt="xVwjaiPubr.png" /></span></P><P><STRONG>SF ODATA API Example (single data upsert):</STRONG></P><P><SPAN>https://&lt;API-Server&gt;/odata/v2/upsert?<FONT color="#FF0000"><STRONG>workflowConfirmed=true</STRONG></FONT>&amp;<FONT color="#FF0000"><STRONG>warningAcknowledged=true</STRONG></FONT></SPAN></P> 2024-07-22T05:31:07.755000+02:00 https://community.sap.com/t5/technology-q-a/error-while-processing-proxy-request-in-soap-to-proxy-interface-in/qaq-p/13768097 Error while processing Proxy request in soap to proxy interface in Integration Suite 2024-07-22T18:03:23.658000+02:00 aditya_20 https://community.sap.com/t5/user/viewprofilepage/user-id/876377 <P>Hello All,</P><P>I am currently testing a soap to proxy scenario for which I'm getting an error '<SPAN>org.apache.cxf.binding.soap.SoapFault: Error during conversion of XI message'. I have also found a detailed error after enabling the trace:</SPAN></P><P><SPAN>&lt;detail&gt;&lt;SAP:Error xmlns:SAP="<A href="http://sap.com/xi/XI/Message/30" target="_blank" rel="noopener noreferrer">http://sap.com/xi/XI/Message/30</A>" xmlns:SOAP="<A href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank" rel="nofollow noopener noreferrer">http://schemas.xmlsoap.org/soap/envelope/</A>" SOAP:mustUnderstand="1"&gt;&lt;SAP:Category&gt;XIProtocol&lt;/SAP:Category&gt;&lt;SAP:Code area="PARSER"&gt;UNEXPECTED_VALUE&lt;/SAP:Code&gt;&lt;SAP:P1&gt;Main/@versionMinor&lt;/SAP:P1&gt;&lt;SAP:P2&gt;001&lt;/SAP:P2&gt;&lt;SAP:P3&gt;000&lt;/SAP:P3&gt;&lt;SAP:P4/&gt;&lt;SAP:AdditionalText/&gt;&lt;SAP:ApplicationFaultMessage namespace=""/&gt;&lt;SAP:Stack&gt;XML tag Main/@versionMinor has the incorrect value 001. Value 000 expected &lt;/SAP:Stack&gt;&lt;/SAP:Error&gt;&lt;/detail&gt;</SPAN></P><P>&nbsp;</P><P><SPAN>Can anyone&nbsp;please let me know why this below error is generated and how this can be resolved.</SPAN></P><P><SPAN>Thanks,</SPAN></P><P><SPAN>Aditya</SPAN></P><P>&nbsp;</P> 2024-07-22T18:03:23.658000+02:00 https://community.sap.com/t5/technology-q-a/missing-custom-header-in-a-processdirect-stream/qaq-p/13770480 Missing custom header in a ProcessDirect stream 2024-07-24T16:14:56.222000+02:00 antBTP https://community.sap.com/t5/user/viewprofilepage/user-id/1492903 <P>hi community,</P><P><BR />I am trying to configure in a content modifier inside message header some constants, which I would like to be able to read later when I call up another stream with the ProcessDirect connector.</P><P>I have created two streams, the first:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="antBTP_0-1721830377788.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141074i6F4DF447BEF47CAD/image-size/large?v=v2&amp;px=999" role="button" title="antBTP_0-1721830377788.png" alt="antBTP_0-1721830377788.png" /></span></P><P>&nbsp;</P><P>which has a timer and a content modifier with two headers set, and the ProcessDirect connection.</P><P>The second one:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="antBTP_1-1721830394606.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141075iD39D3EEE6735CC7F/image-size/large?v=v2&amp;px=999" role="button" title="antBTP_1-1721830394606.png" alt="antBTP_1-1721830394606.png" /></span></P><P>with a content modifier that tries to take the two headers passed from the previous stream.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="antBTP_2-1721830427489.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141076i1733EF11D8718FE9/image-size/large?v=v2&amp;px=999" role="button" title="antBTP_2-1721830427489.png" alt="antBTP_2-1721830427489.png" /></span></P><P>From the deployment you can see that the headers are not present, so how do I pass headers/properties from one stream to another when using ProcessDirect?</P><P>Thank you</P> 2024-07-24T16:14:56.222000+02:00 https://community.sap.com/t5/technology-q-a/cpi-groovy-compare-integer-and-remove-xml-node/qaq-p/13771317 [CPI-Groovy]: Compare Integer and remove XML node 2024-07-25T09:24:50.463000+02:00 babruvahana https://community.sap.com/t5/user/viewprofilepage/user-id/43977 <P>Hi Experts,</P><P>Requirement is to compare the dates, if the difference more than the specified days we need to discard the particular XML node for further processing. I have written groovy scripts for the same. Not sure why it is not working.</P><P>Any help or suggestions would be highly appreciated.&nbsp;</P><P><STRONG>Parameters:</STRONG></P><pre class="lia-code-sample language-javascript"><code>interfaceLastRunTime = 2024-06-01T00:00:00 effDateDiff = 60 ManualRun= Yes golive_date = Manual_Delta_LSRD = 2024-06-01T00:00:00 end_dt = 2024-07-31T00:00:00</code></pre><P>&nbsp;<STRONG>Groovy Script:</STRONG></P><pre class="lia-code-sample language-javascript"><code>import com.sap.gateway.ip.core.customdev.util.Message; import java.util.HashMap; import groovy.util.XmlSlurper; import groovy.xml.MarkupBuilder; import groovy.xml.XmlUtil; import java.util.Date; import java.text.SimpleDateFormat; import java.util.Calendar; import groovy.time.TimeCategory; import java.util.GregorianCalendar; def Message processData(Message message) { def body = message.getBody(java.io.Reader); def payload = new XmlSlurper().parse(body); map = message.getProperties(); def lsrd = map.get("interfaceLastRunTime"); int effDateDiff = map.get("effDateDiff").toInteger(); def manual_run = map.get("ManualRun"); golive_date = map.get("golive_date"); Manual_Delta_LSRD = map.get("Manual_Delta_LSRD"); end_dt = map.get("end_dt"); if(lsrd == null || lsrd == "") { if(Manual_Delta_LSRD == null || Manual_Delta_LSRD == "") { lsrd = golive_date; } lsrd = Manual_Delta_LSRD; } lsrd = lsrd.substring(0, 19); SimpleDateFormat sdf = new SimpleDateFormat("ddMMyyyy"); SimpleDateFormat sdtf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); payload.Row.each {r -&gt; def pid = r.PID.text(); def jobinfo_stdt = r.jobinfo_stdt.text() if(jobinfo_stdt != null &amp;&amp; jobinfo_stdt != "") { Date new_jobinfo_stdt = sdf.parse(jobinfo_stdt); Date new_LSRD = sdtf.parse(lsrd); int dateDiffInDays = new_LSRD - new_jobinfo_stdt; dateDiffInDays=dateDiffInDays.toInteger()+1 println dateDiffInDays println effDateDiff if(dateDiffInDays &gt;= effDateDiff ) { r.replaceNode{} //message.setBody(dateDiffInDays.toString()) } } } message.setBody(XmlUtil.serialize(payload)); return message; }</code></pre><P><STRONG>XML Input:</STRONG></P><pre class="lia-code-sample language-markup"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;Records&gt; &lt;Row&gt; &lt;ACTION&gt;CHANGE&lt;/ACTION&gt; &lt;PID&gt;M123456&lt;/PID&gt; &lt;Last_Name/&gt; &lt;Last_Name_previous/&gt; &lt;First_Name/&gt; &lt;First_Name_previous/&gt; &lt;salutation/&gt; &lt;Gender/&gt; &lt;jobinfo_stdt&gt;06042024&lt;/jobinfo_stdt&gt; &lt;jobinfo_stdt_previous/&gt; &lt;event&gt;5&lt;/event&gt; &lt;event_previous/&gt; &lt;emplStatus&gt;T&lt;/emplStatus&gt; &lt;FullPartTimeInd&gt;true&lt;/FullPartTimeInd&gt; &lt;Permanent_Temporary&gt;R&lt;/Permanent_Temporary&gt; &lt;recurring&gt; &lt;recurring_stdt&gt;07052024&lt;/recurring_stdt&gt; &lt;recurring_value&gt;1234&lt;/recurring_value&gt; &lt;recurring_value_previous/&gt; &lt;recurring_code&gt;1111&lt;/recurring_code&gt; &lt;/recurring&gt; &lt;recurring&gt; &lt;recurring_stdt&gt;06042024&lt;/recurring_stdt&gt; &lt;recurring_value&gt;42123&lt;/recurring_value&gt; &lt;recurring_value_previous/&gt; &lt;recurring_code&gt;2222&lt;/recurring_code&gt; &lt;/recurring&gt; &lt;/Row&gt; &lt;Row&gt; &lt;ACTION&gt;CHANGE&lt;/ACTION&gt; &lt;PID&gt;M654321&lt;/PID&gt; &lt;Last_Name/&gt; &lt;Last_Name_previous/&gt; &lt;First_Name/&gt; &lt;First_Name_previous/&gt; &lt;salutation/&gt; &lt;Gender/&gt; &lt;jobinfo_stdt&gt;07042023&lt;/jobinfo_stdt&gt; &lt;jobinfo_stdt_previous/&gt; &lt;event&gt;5&lt;/event&gt; &lt;event_previous/&gt; &lt;emplStatus&gt;T&lt;/emplStatus&gt; &lt;FullPartTimeInd&gt;true&lt;/FullPartTimeInd&gt; &lt;Permanent_Temporary&gt;R&lt;/Permanent_Temporary&gt; &lt;recurring&gt; &lt;recurring_stdt&gt;07052024&lt;/recurring_stdt&gt; &lt;recurring_value&gt;1234&lt;/recurring_value&gt; &lt;recurring_value_previous/&gt; &lt;recurring_code&gt;1111&lt;/recurring_code&gt; &lt;/recurring&gt; &lt;recurring&gt; &lt;recurring_stdt&gt;06042024&lt;/recurring_stdt&gt; &lt;recurring_value&gt;42123&lt;/recurring_value&gt; &lt;recurring_value_previous/&gt; &lt;recurring_code&gt;2222&lt;/recurring_code&gt; &lt;/recurring&gt; &lt;/Row&gt; &lt;/Records&gt;</code></pre><P><STRONG>Regards,</STRONG></P><P><STRONG>Pavan</STRONG></P> 2024-07-25T09:24:50.463000+02:00 https://community.sap.com/t5/technology-q-a/getting-exception-quot-error-getting-function-quot-in-rfc-adapter-with/qaq-p/13772916 Getting Exception "Error Getting Function" in RFC Adapter with Remote Functions 2024-07-26T11:12:10.300000+02:00 fethi https://community.sap.com/t5/user/viewprofilepage/user-id/155894 <P>Hi Expert ,</P><P>in CPI tenant, while calling RFC adapter to SAP on-prem ECC with standard BAPI from HTTP endpoint, we are getting expected result whereas when we use custom FM (Remote Enabled) we are getting "Error Getting Function".</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fethi_0-1721984912865.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/142118i93957CC617ACBECF/image-size/medium?v=v2&amp;px=400" role="button" title="fethi_0-1721984912865.png" alt="fethi_0-1721984912865.png" /></span></P><P>How can we solve this issue ?</P><P>&nbsp;</P><P>thank you in advance</P><P>BR</P> 2024-07-26T11:12:10.300000+02:00