https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/Cloud-Integration-qa.xml SAP Community - Cloud Integration 2024-09-08T08:00:10.724536+00:00 python-feedgen Cloud Integration Q&A in SAP Community https://community.sap.com/t5/technology-q-a/error-while-establishing-erp-inbound-connection/qaq-p/13790599 Error while establishing ERP inbound connection 2024-08-11T17:31:57.320000+02:00 aditya_20 https://community.sap.com/t5/user/viewprofilepage/user-id/876377 <P>Hello all,</P><P>I'm trying to establish an inbound connection with ERP via IDOC adapter in CPI. I'm getting a '403 : Forbidden' error while posting the data to the receiver end.</P><P>I have referred a SAP note&nbsp;&nbsp;<SPAN><SPAN class=""><A class="" title="https://me.sap.com/notes/0002473005" href="https://me.sap.com/notes/0002473005" target="_blank" rel="noreferrer noopener">https://me.sap.com/notes/0002473005</A>&nbsp;and maintained everything as mentioned in it, but the issue still persists.</SPAN></SPAN></P><P><SPAN><SPAN class="">Can anyone provide a solution for this issue.</SPAN></SPAN></P><P><SPAN><SPAN class="">Thank You,</SPAN></SPAN></P><P><SPAN><SPAN class="">Aditya</SPAN></SPAN></P> 2024-08-11T17:31:57.320000+02:00 https://community.sap.com/t5/technology-q-a/cpi-message-mapping-how-to-remove-the-extra-null-context/qaq-p/13792988 CPI message mapping: how to remove the extra null context 2024-08-13T12:36:33.624000+02:00 rayd https://community.sap.com/t5/user/viewprofilepage/user-id/1552239 <P>In my source data, there are some empty node which become null context in the message mapping, is there a way that I can remove these extra null context in message mapping? Below are sample xml</P><DIV><DIV><SPAN>&lt;references/&gt;</SPAN></DIV><DIV><SPAN>&lt;references&gt;</SPAN></DIV><DIV><SPAN>&lt;typeCode&gt;order</SPAN><SPAN>&lt;/typeCode&gt;</SPAN></DIV><DIV><SPAN>&lt;id&gt;111</SPAN><SPAN>&lt;/id&gt;</SPAN></DIV><DIV><SPAN>&lt;/references&gt;</SPAN></DIV></DIV><P>and the capture are how it looks like in the message mapping.</P><P>Thanks a lot in advance</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P> 2024-08-13T12:36:33.624000+02:00 https://community.sap.com/t5/human-capital-management-q-a/iflow-content-modifer-issue/qaq-p/13795259 iflow content modifer Issue 2024-08-15T00:47:02.747000+02:00 Jorge99 https://community.sap.com/t5/user/viewprofilepage/user-id/1428498 <P>Hi team</P><P>I am working with &nbsp;an Iflow, &nbsp;this Iflow &nbsp;is a copy of the Iflow: Replicate Generic Data from SAP SuccessFactors Employee Central to SAP ERP or SAP S4HANA Using the OData API</P><P>This is Namespace Mapping</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jorge99_0-1723675302262.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/152037i847A6963E62E7001/image-size/medium?v=v2&amp;px=400" role="button" title="Jorge99_0-1723675302262.png" alt="Jorge99_0-1723675302262.png" /></span></P><P>Content modifier</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jorge99_1-1723675302265.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/152038i5EA8284F1A3E8973/image-size/medium?v=v2&amp;px=400" role="button" title="Jorge99_1-1723675302265.png" alt="Jorge99_1-1723675302265.png" /></span></P><P>This is the configuration in Content Modifier</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jorge99_2-1723675302270.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/152039iE3AB1B631F033C17/image-size/medium?v=v2&amp;px=400" role="button" title="Jorge99_2-1723675302270.png" alt="Jorge99_2-1723675302270.png" /></span></P><P>&nbsp;</P><P>The value in Source value to ECCOMPANY is /ns0:getGenericDataReplicationQuery/ProcessingParameter[Name='ECCompany']/Value</P><P>I am running a simulation</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jorge99_3-1723675302273.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/152040iB0442728BA7EF2E8/image-size/medium?v=v2&amp;px=400" role="button" title="Jorge99_3-1723675302273.png" alt="Jorge99_3-1723675302273.png" /></span></P><P>Simulation is sending this error message</P><P>Invalid xpath: /ns0:getGenericDataReplicationQuery/ProcessingParameter[Name='ECCompany']/Value. Reason: javax.xml.xpath.XPathExpressionException: Failure converting a node of class javax.xml.transform.sax.SAXSource: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jorge99_4-1723675302277.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/152041iB5AD38C64939D595/image-size/medium?v=v2&amp;px=400" role="button" title="Jorge99_4-1723675302277.png" alt="Jorge99_4-1723675302277.png" /></span></P><P>Do you know how to solve it?</P><P>Thanks a lot</P><P>&nbsp;</P> 2024-08-15T00:47:02.747000+02:00 https://community.sap.com/t5/technology-q-a/setfilename-dynamically-in-tpm-for-as2-configuration/qaq-p/13798956 setFilename dynamically in TPM for AS2 configuration 2024-08-19T09:22:36.072000+02:00 radhika_dev https://community.sap.com/t5/user/viewprofilepage/user-id/1602862 <P>Hi All,&nbsp;</P><P>The scenario is IDOC to AS2 using TPM, and I have the requirement to add filename dynamically in the receiver AS2 channel. For example, the format for adding the filename is message.messageId</P><P>Is there any way to add AS2 filename dynamically in TPM configuration?&nbsp;</P><P>Thanks&nbsp;</P><P>Radhika</P> 2024-08-19T09:22:36.072000+02:00 https://community.sap.com/t5/technology-q-a/version-of-erp-capable-of-connecting-with-integration-suite/qaq-p/13800496 Version of ERP capable of connecting with Integration Suite 2024-08-20T11:59:47.776000+02:00 aditya_20 https://community.sap.com/t5/user/viewprofilepage/user-id/876377 <P>Hello all,</P><P>I'm trying to establish connection for ERP with SAP Integration Suite. Just wanted to know which version of ERP will be capable of connecting with the Integration Suite.</P><P>Thank You</P><P>Aditya&nbsp;</P> 2024-08-20T11:59:47.776000+02:00 https://community.sap.com/t5/human-capital-management-q-a/any-lessons-learned-from-connecting-sf-ec-to-adp-workforce-now-using-sf/qaq-p/13802045 Any lessons learned from connecting SF EC to ADP Workforce Now using SF Integration Center? 2024-08-21T11:11:07.322000+02:00 JoernM https://community.sap.com/t5/user/viewprofilepage/user-id/1653303 <P><STRONG>The Purpose:</STRONG> we decided to integrate&nbsp;SF EC to ADP Workforce Now using SF Integration Center for US business.<BR /><STRONG>The Challenge:</STRONG> ADP Workforce Now requires data transformations in our CSV export file that cannot be easily built because we do not have an If Then Logic. As a result, we can probably meet the requirements by sending 3 different files that follow different logic.<BR />The question: Is there anyone who has successfully built such an integration using SF Integration Center?<BR />If not, we would look at SAP's CPI capabilities. That's a big gun, though.&nbsp;<BR /><BR /></P> 2024-08-21T11:11:07.322000+02:00 https://community.sap.com/t5/technology-q-a/unable-to-deploy-iflow-in-integration-suite-for-azurestorage-list-blobs/qaq-p/13803386 Unable to deploy iFlow in Integration Suite for AzureStorage List Blobs 2024-08-22T10:55:34.535000+02:00 oliverkrafft https://community.sap.com/t5/user/viewprofilepage/user-id/775053 <P>Hi all,</P><P>we have tried to connect our azure blob storage via iflow and the azure storage adapter version 1.0.4 with the function list blobs.&nbsp;During deployment we receive the following error message:</P><P><SPAN>[CONTENT][CONTENT_DEPLOY][RuntimeError] : {"message":"EXCEPTION","parameters":["org.apache.camel.FailedToCreateRouteException: Failed to create route Process_1 at: &gt;&gt;&gt; To[sap-it-azure-storage:foo?receiverContainerName=aussendienstfiles&amp;pageSize=200&amp;receiverAccountName=stouvreisekosten&amp;receiverResponseFormat=default&amp;processInPages=false&amp;sasToken=st=2024-08-22T07:53:12Z&amp;se=2099-08-22T15:53:12Z&amp;si=SAP Read Delete&amp;spr=https&amp;sv=2022-11-02&amp;sr=c&amp;sig=VQsEY6cnmX9XZoCTwmW1Y0iEK3I8eXVWctC2l6u0mI4%3D&amp;receiverAuthorization=SASTOKEN&amp;timeOut=60000&amp;blob=ListBlobs&amp;requestHeaders=x-ms-blob-type=blockblob] &lt;&lt;&lt; in route: Route(Process_1)[[From[direct:test_azure_TimerEventDefinitio... because of Failed to resolve endpoint: sap-it-azure-storage://foo?blob=ListBlobs&amp;pageSize=200&amp;processInPages=false&amp;receiverAccountName=stouvreisekosten&amp;receiverAuthorization=SASTOKEN&amp;receiverContainerName=aussendienstfiles&amp;receiverResponseFormat=default&amp;requestHeaders=x-ms-blob-type%3Dblockblob&amp;sasToken=st%3D2024-08-22T07%3A53%3A12Z&amp;se=2099-08-22T15%3A53%3A12Z&amp;si=SAP+Read+Delete&amp;sig=VQsEY6cnmX9XZoCTwmW1Y0iEK3I8eXVWctC2l6u0mI4%3D&amp;spr=https&amp;sr=c&amp;sv=2022-11-02&amp;timeOut=60000 due to: Failed to resolve endpoint: sap-it-azure-storage://foo?blob=ListBlobs&amp;pageSize=200&amp;processInPages=false&amp;receiverAccountName=stouvreisekosten&amp;receiverAuthorization=SASTOKEN&amp;receiverContainerName=aussendienstfiles&amp;receiverResponseFormat=default&amp;requestHeaders=x-ms-blob-type%3Dblockblob&amp;sasToken=st%3D2024-08-22T07%3A53%3A12Z&amp;se=2099-08-22T15%3A53%3A12Z&amp;si=SAP+Read+Delete&amp;sig=VQsEY6cnmX9XZoCTwmW1Y0iEK3I8eXVWctC2l6u0mI4%3D&amp;spr=https&amp;sr=c&amp;sv=2022-11-02&amp;timeOut=60000 due to: There are 6 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{se=2099-08-22T15:53:12Z, si=SAP Read Delete, sig=VQsEY6cnmX9XZoCTwmW1Y0iEK3I8eXVWctC2l6u0mI4=, spr=https, sr=c, sv=2022-11-02}]"],"childMessageInstances":[{"message":"CAUSE","parameters":["org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: sap-it-azure-storage://foo?blob=ListBlobs&amp;pageSize=200&amp;processInPages=false&amp;receiverAccountName=stouvreisekosten&amp;receiverAuthorization=SASTOKEN&amp;receiverContainerName=aussendienstfiles&amp;receiverResponseFormat=default&amp;requestHeaders=x-ms-blob-type%3Dblockblob&amp;sasToken=st%3D2024-08-22T07%3A53%3A12Z&amp;se=2099-08-22T15%3A53%3A12Z&amp;si=SAP+Read+Delete&amp;sig=VQsEY6cnmX9XZoCTwmW1Y0iEK3I8eXVWctC2l6u0mI4%3D&amp;spr=https&amp;sr=c&amp;sv=2022-11-02&amp;timeOut=60000 due to: Failed to resolve endpoint: sap-it-azure-storage://foo?blob=ListBlobs&amp;pageSize=200&amp;processInPages=false&amp;receiverAccountName=stouvreisekosten&amp;receiverAuthorization=SASTOKEN&amp;receiverContainerName=aussendienstfiles&amp;receiverResponseFormat=default&amp;requestHeaders=x-ms-blob-type%3Dblockblob&amp;sasToken=st%3D2024-08-22T07%3A53%3A12Z&amp;se=2099-08-22T15%3A53%3A12Z&amp;si=SAP+Read+Delete&amp;sig=VQsEY6cnmX9XZoCTwmW1Y0iEK3I8eXVWctC2l6u0mI4%3D&amp;spr=https&amp;sr=c&amp;sv=2022-11-02&amp;timeOut=60000 due to: There are 6 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{se=2099-08-22T15:53:12Z, si=SAP Read Delete, sig=VQsEY6cnmX9XZoCTwmW1Y0iEK3I8eXVWctC2l6u0mI4=, spr=https, sr=c, sv=2022-11-02}]"],"childMessageInstances":[{"message":"CAUSE","parameters":["org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: sap-it-azure-storage://foo?blob=ListBlobs&amp;pageSize=200&amp;processInPages=false&amp;receiverAccountName=stouvreisekosten&amp;receiverAuthorization=SASTOKEN&amp;receiverContainerName=aussendienstfiles&amp;receiverResponseFormat=default&amp;requestHeaders=x-ms-blob-type%3Dblockblob&amp;sasToken=st%3D2024-08-22T07%3A53%3A12Z&amp;se=2099-08-22T15%3A53%3A12Z&amp;si=SAP+Read+Delete&amp;sig=VQsEY6cnmX9XZoCTwmW1Y0iEK3I8eXVWctC2l6u0mI4%3D&amp;spr=https&amp;sr=c&amp;sv=2022-11-02&amp;timeOut=60000 due to: There are 6 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{se=2099-08-22T15:53:12Z, si=SAP Read Delete, sig=VQsEY6cnmX9XZoCTwmW1Y0iEK3I8eXVWctC2l6u0mI4=, spr=https, sr=c, sv=2022-11-02}]"]}]}]}</SPAN></P><P><SPAN>The following settings are stored in the adapter:</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oliverkrafft_0-1724316661815.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/155826i3BD6C5F290E354F1/image-size/medium?v=v2&amp;px=400" role="button" title="oliverkrafft_0-1724316661815.png" alt="oliverkrafft_0-1724316661815.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oliverkrafft_1-1724316709954.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/155828iED1AC37BB254C485/image-size/medium?v=v2&amp;px=400" role="button" title="oliverkrafft_1-1724316709954.png" alt="oliverkrafft_1-1724316709954.png" /></span></P><P>In addition, we have adhered to the following blog&nbsp;<A href="https://community.sap.com/t5/technology-blogs-by-members/steps-to-access-azure-blob-storage-via-rest-api-from-sap-cpi-using-azure/ba-p/13580257" target="_blank">https://community.sap.com/t5/technology-blogs-by-members/steps-to-access-azure-blob-storage-via-rest-api-from-sap-cpi-using-azure/ba-p/13580257</A></P><P>Unfortunately we could not find any hint in the logging on azure side, why we get this error.</P><P>Do you have any ideas as to what the problem might be and how we can solve it?</P><P>Thanks a lot and best regards,</P><P>Olli</P><P>&nbsp;</P> 2024-08-22T10:55:34.535000+02:00 https://community.sap.com/t5/technology-q-a/csv-to-xml-converter-with-multiple-header-and-footer-header-and-item-level/qaq-p/13805851 CSV to XML Converter with(multiple header and Footer) Header and item level data 2024-08-24T13:11:20.554000+02:00 Ram32 https://community.sap.com/t5/user/viewprofilepage/user-id/1563557 <P><SPAN>I have a requirement where I need to convert CSV to XML with header(AB) and footer(XY) and line item level data(CD). Below is the flat file format;</SPAN></P><P>AB, , , ,80000,08,24140,01<BR />CD,Sales 05/14/24 , ,000100,150,08,24140,01<BR />CD,Sales 05/14/24 , ,000100,-150,08,24140,01<BR />CD,Sales 05/14/24 , ,000100,650,08,24140,01<BR />CD,Sales 05/14/24 , ,000100,-650,08,24140,01<BR />XY, , , ,-80000,08,24140,01<BR />AB, , , ,80000,08,24140,01<BR />CD,Sales 05/14/24 , ,000100,150,08,24140,01<BR />CD,Sales 05/14/24 , ,000100,-150,08,24140,01<BR />CD,Sales 05/14/24 , ,000100,650,08,24140,01<BR />CD,Sales 05/14/24 , ,000100,-650,08,24140,01<BR />XY, , , ,-80000,08,24140,01<BR />AB, , , ,80000,08,24140,01<BR />CD,Sales 05/14/24 , ,000100,150,08,24140,01<BR />CD,Sales 05/14/24 , ,000100,-150,08,24140,01<BR />CD,Sales 05/14/24 , ,000100,650,08,24140,01<BR />CD,Sales 05/14/24 , ,000100,-650,08,24140,01<BR />XY, , , ,-80000,08,24140,01</P><P><SPAN>The desired output is below</SPAN></P><P><SPAN>your can consider Field1 to Field8</SPAN></P><P>&nbsp;</P><DIV>&lt;?xml version='1.0' encoding='UTF-8'?&gt;</DIV><DIV>&lt;root&gt;</DIV><DIV>&lt;record&gt;</DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;AB&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;80000&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;CD&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;Sales &lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;000100&lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;150&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;CD&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;Sales &lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;000100&lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;-150&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;CD&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;Sales&lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;000100&lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;650&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;CD&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;Sales &lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;000100&lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;-650&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;XY&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;-80000&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV>&lt;/record&gt;</DIV><DIV>&lt;record&gt;</DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;AB&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;80000&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;CD&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;Sales &lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;000100&lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;150&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;CD&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;Sales &lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;000100&lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;-150&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;CD&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;Sales&lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;000100&lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;650&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;CD&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;Sales &lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;000100&lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;-650&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;XY&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;-80000&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV>&lt;/record&gt;</DIV><DIV>&lt;record&gt;</DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;AB&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;80000&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;CD&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;Sales &lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;000100&lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;150&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;CD&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;Sales &lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;000100&lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;-150&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;CD&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;Sales&lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;000100&lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;650&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;CD&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;Sales &lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;000100&lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;-650&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV><SPAN>&lt;row&gt;</SPAN></DIV><DIV><SPAN>&lt;Field1&gt;XY&lt;/Field1&gt;</SPAN></DIV><DIV><SPAN>&lt;Field2&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/Field2&gt;</SPAN></DIV><DIV><SPAN>&lt;Field3&gt; &lt;/Field3&gt;</SPAN></DIV><DIV><SPAN>&lt;Field4&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Field4&gt;</SPAN></DIV><DIV><SPAN>&lt;Field5&gt;-80000&lt;/Field5&gt;</SPAN></DIV><DIV><SPAN>&lt;Field6&gt;08&lt;/Field6&gt;</SPAN></DIV><DIV><SPAN>&lt;Field7&gt;24140&lt;/Field7&gt;</SPAN></DIV><DIV><SPAN>&lt;Field8&gt;01&lt;/Field8&gt;</SPAN></DIV><DIV><SPAN>&lt;/row&gt;</SPAN></DIV><DIV>&lt;/record&gt;</DIV><DIV>&lt;/root&gt;</DIV><P><SPAN>Any help would be appreciated.</SPAN></P><P><SPAN>its similar to below blogs but in my case header and footer are multiple&nbsp;</SPAN></P><P><A href="https://community.sap.com/t5/technology-q-a/csv-to-xml-converter-with-header-and-item-level-data/qaq-p/696788" target="_blank">https://community.sap.com/t5/technology-q-a/csv-to-xml-converter-with-header-and-item-level-data/qaq-p/696788</A></P><P>&nbsp;</P> 2024-08-24T13:11:20.554000+02:00 https://community.sap.com/t5/technology-q-a/getting-error-with-sf-ocn-integration/qaq-p/13805984 Getting error with SF-OCN integration 2024-08-24T19:41:08.970000+02:00 bikram_ray https://community.sap.com/t5/user/viewprofilepage/user-id/843279 <P>I am trying to do an integration with salesforce and CPI by the help of open connectors.<BR />I am getting 200 response in API docs but when I am using in CPI I am getting error.<BR />PLease help.</P> 2024-08-24T19:41:08.970000+02:00 https://community.sap.com/t5/technology-q-a/groovy-script-for-removing-reserved-character-inside-xml-node/qaq-p/13807420 Groovy Script for removing reserved character inside XML node 2024-08-26T15:41:11.972000+02:00 jbesl https://community.sap.com/t5/user/viewprofilepage/user-id/84254 <P>Dear CPI experts.&nbsp;</P><P>Good day,&nbsp;</P><P>Looking to get assistance with my requirement below.&nbsp;</P><P>The idea is to remove all below reserved characters from inside the all XML nodes if they are present.</P><P>However below script im trying to work with, but does not work. It is not preserving the XML structure hence the entire output is incorrect.</P><P>reserved characters *%?:;=()[]|#@</P><pre class="lia-code-sample language-json"><code>import com.sap.gateway.ip.core.customdev.util.Message import groovy.xml.XmlUtil import groovy.util.XmlSlurper def Message processData(Message message) { def body = message.getBody(String) def root = new XmlSlurper().parseText(body) def cleanNodeContent cleanNodeContent = { node -&gt; if (node instanceof groovy.util.slurpersupport.NodeChild) { if (node.text()) { // Remove reserved characters: *%?:;=()[]|#@ def cleanedText = node.text().replaceAll('[*%?:;=()\\[\\]\\|#@]', '') node.setValue(cleanedText) } } node.children().each { child -&gt; cleanNodeContent(child) } } cleanNodeContent(root) def cleanedXml = XmlUtil.serialize(root) message.setBody(cleanedXml) // Set the modified body back to the message return message }</code></pre><P>&nbsp;#</P> 2024-08-26T15:41:11.972000+02:00 https://community.sap.com/t5/technology-q-a/anyone-know-the-reason-why-this-error-is-coming-quot-direct-connect-to/qaq-p/13807524 Anyone know the reason, why this error is coming "Direct connect to testacig.ariba.com:443 failed: 2024-08-26T16:53:35.922000+02:00 anilpb00957 https://community.sap.com/t5/user/viewprofilepage/user-id/935515 <P>We are facing this error in sm59 "Direct connect to&nbsp;<A href="http://testacig.ariba.com/" rel="nofollow noopener noreferrer" target="_blank">testacig.ariba.com</A>:443 failed:&nbsp;NIECONN_REFUSED(-10)" when we are trying to ping.</P><P>We have installed the load balancer certificates in SSL client anonymous and given puser password in rfc. still this error is popping.</P><P>How to fix or troubleshoot this error?</P> 2024-08-26T16:53:35.922000+02:00 https://community.sap.com/t5/technology-q-a/the-order-of-payload-when-using-odata-adapter-in-sap-cpi/qaq-p/13850845 The order of payload when using Odata adapter in SAP CPI 2024-09-02T08:04:20.413000+02:00 shin861231 https://community.sap.com/t5/user/viewprofilepage/user-id/1484100 <P>Hello Experts,</P><P>I'm encountering an unusual issue with OData queries in SAP Cloud Platform Integration (CPI), and I'm hoping someone can shed some light on this problem.</P><H2 id="toc-hId-1047881096">The Issue</H2><P class="">When I perform an OData GET query, the order of the data fields in the result is reversed when using SAP CPI compared to when I use Postman.</P><P class="">Postman Result (Correct Order):</P><P class="">Product, ProductType, LastChangeDate</P><P class="">SAP CPI Result (Reversed Order):</P><P class="">LastChangeDate, ProductType, Product</P><P class="">I've attempted to resolve this by adding the $orderby parameter to my query, but unfortunately, this did not solve the issue. ($orderby=Product,ProductType,LastChangeDate)</P><P class="">&nbsp;</P><P class="">My Questions are</P><P class="">1.&nbsp;Why might this reversal of field order occur when using SAP CPI?<BR />2.&nbsp;How can I ensure that the field order in SAP CPI matches what I see in Postman?<BR /><BR />As your reference, the attached screenshots show the Integration flow as well as the connection configuration for Odata Adapter, as well as the payload with reversed order.</P><P class=""><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IFLOW and Connection Configuration.jpg" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/160593i79796A73C72FEAA1/image-size/large?v=v2&amp;px=999" role="button" title="IFLOW and Connection Configuration.jpg" alt="IFLOW and Connection Configuration.jpg" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Payload with reversed order.jpg" style="width: 947px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/160594iDFD80D1E8D10E709/image-size/large?v=v2&amp;px=999" role="button" title="Payload with reversed order.jpg" alt="Payload with reversed order.jpg" /></span></P><P class="">&nbsp;</P><P class="">It would be a huge help if you could please kindly advise on this one!</P><P class="">Thank you.</P><P class="">&nbsp;</P> 2024-09-02T08:04:20.413000+02:00 https://community.sap.com/t5/technology-q-a/access-jdbc-material-while-developing-a-custom-adapter-for-sap-cpi/qaq-p/13851196 Access Jdbc Material while developing a Custom Adapter for SAP CPI 2024-09-02T10:37:14.028000+02:00 aln1 https://community.sap.com/t5/user/viewprofilepage/user-id/1492839 <P>I am currently developing a Custom adapter for the SAP CPI. Now I want to access an SQL-server over a Cloud Connector. I only found a guid how to access Tcp-Connections in general (<A href="https://help.sap.com/docs/cloud-integration/sap-cloud-integration/accessing-on-premise-application-using-cloud-connector" target="_blank" rel="noopener noreferrer">Accessing On-Premise Application using Cloud Connector | SAP Help Portal</A>). But using this would lose the capsulation provided by the Jdbc Material store. So, is there a way to access the Information stored in the Jdbc Material while developing a custom adapter?&nbsp;</P> 2024-09-02T10:37:14.028000+02:00 https://community.sap.com/t5/technology-q-a/unable-to-query-filter-lastchangedatetime-in-s-4/qaq-p/13851250 Unable to query/filter LastChangeDateTime in S/4 ! 2024-09-02T10:54:18.700000+02:00 das_sappo https://community.sap.com/t5/user/viewprofilepage/user-id/759772 <P>Dear Experts,</P><P>I am trying to perform a GET call through HTTP adapter or POSTMAN based on LastChangeDateTime value and the query is as below but getting 400 error. with out the below query parameter I am able to fetch records even select fields</P><P><SPAN>https://&lt;host&gt;/sap/opu/odata4/sap/api_purchaseorder_2/srvd_a2x/sap/purchaseorder/0001/PurchaseOrder?$filter=LastChangeDateTime ge datetimeoffset'2024-01-01T00:00:00.000000Z'</SPAN></P><P><SPAN>And the records look like below</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="das_sappo_0-1725267194680.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/160837i94F6D9C5AD58C9AB/image-size/medium?v=v2&amp;px=400" role="button" title="das_sappo_0-1725267194680.png" alt="das_sappo_0-1725267194680.png" /></span></P><P>Please suggest what could be the issue here</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P> 2024-09-02T10:54:18.700000+02:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/defect-tracking-api-data-posted-from-cpi-to-s4-shown-in-table-qmfe-but-not/qaq-p/13851555 Defect Tracking API data posted from CPI to S4 shown in Table QMFE but not in TCode QF21 2024-09-02T14:35:24.207000+02:00 AHMED786 https://community.sap.com/t5/user/viewprofilepage/user-id/1493270 <P>Hi Experts,</P><P>There is one requirement to post the data using the defect tracking API which is successful from CPI to S4 with below details</P><P>/sap/opu/odata4/sap/api_defect/srvd_a2x/sap/defect/0001/Defect</P><P>&lt;Defect&gt;</P><P>&lt;Defect_Type&gt;</P><P>&lt;DefectInternalID&gt;00000000004&lt;/DefectInternalID&gt;</P><P>&lt;DefectText&gt;test1&lt;/DefectText&gt;</P><P>&lt;DefectCodeCatalog&gt;9&lt;/DefectCodeCatalog&gt;</P><P>&lt;DefectCode&gt;1&lt;/DefectCode&gt;</P><P>&lt;DefectCodeGroup&gt;QM-E&lt;/DefectCodeGroup&gt;</P><P>&lt;ManufacturingOrder&gt;000012&lt;/ManufacturingOrder&gt;</P><P>&lt;InspectionLot&gt;40000000008&lt;/InspectionLot&gt;</P><P>&lt;DefectCategory&gt;01&lt;/DefectCategory&gt;</P><P>&lt;/Defect_Type&gt;</P><P>&lt;/Defect&gt;</P><P>Even tried with all the 50+ fields of the API populated with the functional data provided but still the same issue.</P><P>The post is successful and we can see the data triggered from CPI in S4 in the actual table QMFE and even the GET API call also shows the values posted but its not reflecting in the actual TCODE QF21</P><P>If the functional owner is entering any data manually its also available in both backend table QMFE and TCODE QF21 but its not available in GET API call.</P><P>Does anyone know any case like this where the API is not working as expected.</P><P><BR />Thanks,</P><P>Ahmed</P> 2024-09-02T14:35:24.207000+02:00 https://community.sap.com/t5/technology-q-a/how-to-access-message-processing-logs-in-cpi-using-groovy-script/qaq-p/13851675 How to access Message processing logs in cpi using groovy script? 2024-09-02T15:43:48.339000+02:00 dineshhome1361_7 https://community.sap.com/t5/user/viewprofilepage/user-id/757565 <P>I want to access the MPL logs(specifically status) in CPI to log the message only if it is error status.</P><P>One way i could think of is to use the standard OData API. But is there a way where I could access the message status using groovy like other partner directory API's</P><P>Ref:</P><P><A href="https://api.sap.com/api/MessageProcessingLogs/overview" target="_blank" rel="noopener noreferrer">https://api.sap.com/api/MessageProcessingLogs/overview</A></P><P><A href="https://help.sap.com/docs/cloud-integration/sap-cloud-integration/read-and-modify-partner-directory-content" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/cloud-integration/sap-cloud-integration/read-and-modify-partner-directory-content</A></P><P>&nbsp;</P> 2024-09-02T15:43:48.339000+02:00 https://community.sap.com/t5/technology-q-a/extract-attributes-from-xml/qaq-p/13852237 Extract attributes from XML 2024-09-03T08:09:40.422000+02:00 rakeshroshanjha https://community.sap.com/t5/user/viewprofilepage/user-id/123661 <P>I want to extract 2-attributes from XML. The names of attribute for extraction from this xml is -</P><P>ERPNumber,&nbsp;</P><P>ProcurementUnit/UniqueName</P><P>UniqueName</P><P>&nbsp;</P><P>My XML structures look like this -</P><P>&lt;SimplifiedRequest&gt;<BR />&lt;CancelExportRequest&gt;<BR />&lt;OrdHeader_Item&gt;<BR />&lt;item&gt;<BR />&lt;ERPNumber&gt;Y465643&lt;/ERPNumber&gt;<BR />&lt;ProcurementUnit&gt;<BR />&lt;UniqueName&gt;6604&lt;/UniqueName&gt;<BR />&lt;/ProcurementUnit&gt;<BR />&lt;UniqueName&gt;EPT10053-V3&lt;/UniqueName&gt;<BR />&lt;VersionNumber&gt;3&lt;/VersionNumber&gt;<BR />&lt;custom&gt;<BR />&lt;CustomBoolean name="SuppressOrder"&gt;false&lt;/CustomBoolean&gt;<BR />&lt;CustomString name="Test"/&gt;<BR />&lt;CustomString name="SupplierID"&gt;AEQ600:0000399413&lt;/CustomString&gt;<BR />&lt;/custom&gt;<BR />&lt;/item&gt;<BR />&lt;/OrdHeader_Item&gt;<BR />&lt;/CancelExportRequest&gt;<BR />&lt;/SimplifiedRequest&gt;</P><P>Can you help me here?</P><P>&nbsp;</P> 2024-09-03T08:09:40.422000+02:00 https://community.sap.com/t5/technology-q-a/facing-401-unauthorized-error-while-trying-post-data-to-cpi-via-sap-api/qaq-p/13852300 Facing 401 unauthorized error while trying post data to CPI via SAP API Management 2024-09-03T09:13:30.135000+02:00 MadhuraJogi https://community.sap.com/t5/user/viewprofilepage/user-id/1518198 <P>Hi,</P><P>I am trying to send request to SAP CPI via API Management.</P><P>But I am facing <SPAN>"</SPAN><EM>401 Unauthorized</EM><SPAN>"&nbsp;</SPAN>error while connecting to CPI though I have maintained correct credential in KeyValue Map. (CSRF token is unchecked in CPI HTTP adapter)</P><P>Using same credentials I am able to call CPI endpoint directly from Postman send data successfully.</P><P>I tried to test from both API Management and Postman(by calling API endpoint) but no luck. Also tried removing all the other policies.</P><P>Can someone help me understand if we have to do any kind of whitelisting or additional roles to be added to call CPI from APIM?</P><P>Below is the screen from APIM Debug :</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MadhuraJogi_0-1725347310304.png" style="width: 539px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/161330i2D6F92FFAE697972/image-dimensions/539x392?v=v2" width="539" height="392" role="button" title="MadhuraJogi_0-1725347310304.png" alt="MadhuraJogi_0-1725347310304.png" /></span></P><P>Thanks in advance.</P><P>Regards,</P><P>Madhura</P><P>&nbsp;</P> 2024-09-03T09:13:30.135000+02:00 https://community.sap.com/t5/technology-q-a/read-field-with-namespace-segment-xpath-cloud-integration/qaq-p/13855439 read field with namespace segment xpath cloud integration 2024-09-05T10:41:01.999000+02:00 mark_fryu https://community.sap.com/t5/user/viewprofilepage/user-id/709977 <P>hi,</P><P>I need to read the value of the field "message2" from a segment, with Cloud Integration.</P><P>this is the body:</P><P>&lt;message1 xmlns="test_message1"&gt;</P><P>&lt;message2&gt;test_odv&lt;message2&gt;</P><P>&lt;/message1&gt;</P><P>I tried //message2 but not working probably for the xmlns.</P><P>Does anyone know what the formula is to read the "message2" field?</P><P>&nbsp;</P> 2024-09-05T10:41:01.999000+02:00 https://community.sap.com/t5/technology-q-a/storing-payload-data-in-application-message-type-sap-messagetype/qaq-p/13855908 Storing payload data in Application Message Type: SAP_MessageType 2024-09-05T16:29:39.416000+02:00 David_Davis https://community.sap.com/t5/user/viewprofilepage/user-id/6943 <P>Dear All,</P><P>In the Content Modifier, we have the option to store a payload field's value in the SAP_MessageType property, which can be viewed in CPI monitoring as shown below. However, will this impact monitoring storage capacity? Would it be better to avoid using this property and instead use a custom property with SAP_MessageProcessingLogCustomStatus for logging?</P><P>Please advise on the best practice.</P><P><BR /><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-09-05_19-32-18.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/163026i2C49E2456337A0ED/image-size/large?v=v2&amp;px=999" role="button" title="2024-09-05_19-32-18.png" alt="2024-09-05_19-32-18.png" /></span></P> 2024-09-05T16:29:39.416000+02:00