https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAP-Process-Integration-qa.xml SAP Community - SAP Process Integration 2024-05-20T20:01:18.330205+00:00 python-feedgen SAP Process Integration Q&A in SAP Community https://community.sap.com/t5/technology-q-a/html-to-pdf-in-sap-cpi/qaq-p/13659258 HTML to PDF in SAP CPI 2024-04-04T15:41:41.355000+02:00 NareshDasika18 https://community.sap.com/t5/user/viewprofilepage/user-id/175931 <P>Hello All,</P><P>Would it be possible to convert HTML to PDF in SAP CPI?</P><P>Regards,</P><P>Naresh</P><P>&nbsp;</P> 2024-04-04T15:41:41.355000+02:00 https://community.sap.com/t5/technology-q-a/jms-receiver-channel-ping-issue/qaq-p/13663405 JMS Receiver channel ping issue. 2024-04-09T09:56:17.151000+02:00 thrilok_cpi https://community.sap.com/t5/user/viewprofilepage/user-id/880948 <P>Hi Experts,</P><P>While performing&nbsp; the receiver ping channel, I am getting below error for Destination Test. Could you please suggest possible issue and solution.&nbsp; But end to end message flow happing!!&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thrilok_cpi_0-1712648681752.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/93262i69226A9A076BE0F6/image-size/medium?v=v2&amp;px=400" role="button" title="thrilok_cpi_0-1712648681752.png" alt="thrilok_cpi_0-1712648681752.png" /></span></P><P>Error message in channel ping :</P><TABLE border="0" cellspacing="0" cellpadding="0"><TBODY><TR><TD><SPAN class=""><SPAN class="">Destination Test</SPAN></SPAN></TD><TD><SPAN class=""><SPAN class="">Checks for a valid temporary destination object</SPAN></SPAN></TD></TR></TBODY></TABLE><P>Thanks,</P><P>T Chandar</P><P>&nbsp;</P> 2024-04-09T09:56:17.151000+02:00 https://community.sap.com/t5/technology-q-a/looking-for-generic-delvry03-shpcon-schema/qaq-p/13666013 Looking for generic DELVRY03 SHPCON schema 2024-04-10T17:20:50.347000+02:00 Zach https://community.sap.com/t5/user/viewprofilepage/user-id/1436610 <P>Looking for generic DELVRY03 SHPCON schema to map too from EDI in github repo</P> 2024-04-10T17:20:50.347000+02:00 https://community.sap.com/t5/technology-q-a/how-to-maintain-display-contact-information-tab-in-po-pi-message-monitoring/qaq-p/13670151 How to maintain/display 'Contact Information' tab in PO/PI message monitoring page? 2024-04-15T03:35:25.119000+02:00 ricokong9 https://community.sap.com/t5/user/viewprofilepage/user-id/857380 <P>Hi, Who knows how to maintain/display '<STRONG>Contact Information</STRONG>' tab in PO/PI message monitoring page? If the contact information can record the owner info of sender or receiver&nbsp;system, it will be very helpful and useful for operation work with more efficiency and convenience.</P><P>Any feedback will be appreciated.<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MsgMon_ContactInformation.jpg" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/96288i71E427A2E8F0E60F/image-size/large?v=v2&amp;px=999" role="button" title="MsgMon_ContactInformation.jpg" alt="MsgMon_ContactInformation.jpg" /></span>&nbsp;</P> 2024-04-15T03:35:25.119000+02:00 https://community.sap.com/t5/spend-management-q-a/sap-pi-po-to-cig-integration/qaq-p/13671667 SAP PI/PO to CIG Integration 2024-04-16T08:15:00.636000+02:00 Saksham_11 https://community.sap.com/t5/user/viewprofilepage/user-id/40812 <P><BR />Hello colleagues,</P><P>(Required solution on URGENT basis)<BR />customer have already existing PI/PO (On Premise) and build our own mapping in the PI/PO.</P><P>We are faced with the challenge that we want to connect CIG with the SAP PI/PO (On Prem).</P><P>When we enable integration via PI middleware in sap s4/hana we do not see the option for web services while set up the interface. Please find attached screenshot for your reference.</P><P>SPRO&gt;&gt;SAP Reference IMG&gt;&gt; Integration with other sap components&gt;&gt;manage gateway spend&amp;network for buyer&gt;&gt;Global setting&gt;&gt;Enable integration Via PI middleware</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saksham_11_0-1713247911961.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/96900iC7E8261687889D1D/image-size/medium?v=v2&amp;px=400" role="button" title="Saksham_11_0-1713247911961.png" alt="Saksham_11_0-1713247911961.png" /></span></P><P>While setting up the business network interface.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saksham_11_1-1713247984642.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/96901iBFDB9FF02FFDAC29/image-size/medium?v=v2&amp;px=400" role="button" title="Saksham_11_1-1713247984642.png" alt="Saksham_11_1-1713247984642.png" /></span></P><P>Please provide the step for how to configure web services for integration via PI middleware.</P><P>Kindly suggest solution for PI/PO to CIG connectivity.</P> 2024-04-16T08:15:00.636000+02:00 https://community.sap.com/t5/technology-q-a/sap-pi-determine-the-receiver-based-on-source-filename/qaq-p/13673578 SAP PI - Determine the receiver based on Source FileName 2024-04-17T17:11:42.377000+02:00 pi_consultant1 https://community.sap.com/t5/user/viewprofilepage/user-id/739679 <P>Hi all,</P><P>Ive an issue regarding receiver determination based on a Source FileName.</P><P>Ive a file to file scenario without any ESR objects.&nbsp;</P><P>The FileNames look like this:</P><P>CRM_12345_TimeStamp<BR />CRM_&lt;all Other Values&gt;_TimeStamp</P><P>Based on the source FileName I need to send Files containing the value 12345 to Receiver 1 and all Files containing other values except 12345 to Receiver 2</P><P>I try this in the Iflow:</P><P>(ContextObject.FileName CP "*12345*") --&gt; Reiceiver 1&nbsp; --&gt; This is working</P><P>(ContextObject.FileName != "*12345*") --&gt; Reiceiver 2&nbsp; --&gt; This is NOT working</P><P>Ive red that (Not) Equal to with a Wilcard (*) is not working.</P><P>So what is the solution here? How can I achieve this and solve this issue?<BR /><BR />Your help is appreciated,</P><P>Kind regards</P><P>John</P> 2024-04-17T17:11:42.377000+02:00 https://community.sap.com/t5/technology-q-a/integration-object-creation-with-one-to-one-relation-with-same-item-type/qaq-p/13673796 Integration object creation with one to one relation with same item type. 2024-04-17T21:23:36.154000+02:00 abs https://community.sap.com/t5/user/viewprofilepage/user-id/707567 <P>I need to create integration object where product has an attribute called relatedProduct with 1-1 relation.<BR />Example:<BR />Product- A has relatedProduct B and I want to save the reference of B into A.</P><TABLE border="1" width="100%"><TBODY><TR><TD width="100%" height="30px"><STRONG>Product</STRONG></TD></TR><TR><TD width="100%" height="30px">code(unique)</TD></TR><TR><TD width="100%" height="30px">relatedProduct(Product:code)</TD></TR></TBODY></TABLE><P><BR />Reference to B is not a mandatory field, but when there is value, its suppose to create FK relation.<BR /><BR />When I try to save the object I get an error saying<BR /><SPAN>Key attribute 'Product.relatedProduct' forms a circular reference back to 'Product'.<BR /></SPAN>How can I create a integration object in this situation?</P> 2024-04-17T21:23:36.154000+02:00 https://community.sap.com/t5/technology-q-a/how-to-read-the-name-of-groovy-script-sap-cloud-integration-cpi/qaq-p/13678256 how to read the name of groovy script sap cloud integration cpi 2024-04-22T15:39:14.575000+02:00 mark_fryu https://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&amp;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:00 https://community.sap.com/t5/technology-q-a/xslt-dynamic-rows-creation-and-values-in-column-based-on-dynamic-nested-xml/qaq-p/13678991 [XSLT]: Dynamic rows creation and values(in column) based on dynamic nested XML nodes 2024-04-23T09:00:36.110000+02:00 babruvahana https://community.sap.com/t5/user/viewprofilepage/user-id/43977 <P>Hi Experts,</P><P>Requirement is to send a CSV for a target system from the attached XML.</P><P>Source XML is from SFEC which contains department hierarchy and is dynamic for each employees, we need to create the number of rows in CSV based on the department hierarchy for each employee and is achieved already with the attached XSLT. The challenge here is the misalignment of the values in the columns.&nbsp;</P><P>Any leads, suggestion to achieve the desired output within the XSLT would be really helpful.</P><P>Regards,</P><P>Pavan</P><P>&nbsp;</P> 2024-04-23T09:00:36.110000+02:00 https://community.sap.com/t5/technology-q-a/hi-we-are-getting-below-error-javax-net-ssl-sslhandshakeexception-sun/qaq-p/13679137 Hi, we are getting below error javax.net.ssl.SSLHandshakeException: sun.security.validator.Validator 2024-04-23T10:43:07.158000+02:00 9701046419 https://community.sap.com/t5/user/viewprofilepage/user-id/860348 <P>Hi we are getting below error while uploading certificate in KX2 test system In SAP PI/PO.</P><P>Could you please suggest me to resolve the issue.</P><P>&nbsp;</P><P>&nbsp;</P> 2024-04-23T10:43:07.158000+02:00 https://community.sap.com/t5/technology-q-a/rest-api-call-for-downloading-file/qaq-p/13689163 REST API Call for downloading file 2024-05-02T10:48:21.811000+02:00 SAPPO_76 https://community.sap.com/t5/user/viewprofilepage/user-id/1446212 <P>Hi Experts,</P><P>I am working on SAP PO 7.5 to download the file from AWS S3 bucket. so i have followed the blogs</P><P>(<A href="https://community.sap.com/t5/technology-blogs-by-members/how-to-download-a-file-from-amazon-s3-buckets/ba-p/13419722" target="_blank">https://community.sap.com/t5/technology-blogs-by-members/how-to-download-a-file-from-amazon-s3-buckets/ba-p/13419722</A>)</P><P>&nbsp;</P><P>on the same and have used "GET" call instead of PUT and interface is OK and getting response 200 in the monitoring. the file is coming in the payload and i have to download this file in some NFS folder.</P><P>Could you please let me know how can i get this file in the NFS folder directly. please note i am not using request/response(Sync) call here.</P><P>&nbsp;</P><P>thanks</P> 2024-05-02T10:48:21.811000+02:00 https://community.sap.com/t5/technology-q-a/principle-propagation-for-non-sap-sender-in-pi-7-50-aex/qaq-p/13689448 Principle propagation for non SAP sender in PI 7.50 AEX 2024-05-02T13:36:34.139000+02:00 jaysonxiao https://community.sap.com/t5/user/viewprofilepage/user-id/86558 <P>Hello expert</P><P>we have a typical requirement for Java front-end to call ECC backend, REST - PI - ECC. However they require user authorization (Authority Check) in backend based on the user who calls the API. Normally we use ECC service user to call the ABAP proxy from PI, to allow using end user calling ECC from frontend, the only option is Principle propagation.</P><P>I've done lots of research on PP, none of them provided definite answer.</P><P>From SAP help (<A href="https://help.sap.com/doc/saphelp_scm700_ehp02/7.0.2/en-us/81/6d7e8093134d4f8417a2e780a3393f/frameset.htm" target="_blank" rel="noopener noreferrer">https://help.sap.com/doc/saphelp_scm700_ehp02/7.0.2/en-us/81/6d7e8093134d4f8417a2e780a3393f/frameset.htm</A>), it seems that PP is only possible between SAP systems, as it mentioned you'd need to configure Trusted Relationship between Sender and PI, and between PI and backend, those configuration are SAP specific.</P><P>So my question is: is it possible to use PP between non SAP frontend and SAP backend? if yes, how to configure it? (including configuring Trusted Relationship in non-SAP system / application)</P><P>thank you so much</P><P>Jayson</P> 2024-05-02T13:36:34.139000+02:00 https://community.sap.com/t5/technology-q-a/pi-po7-5-background-job-processing-monitor-user-roles/qaq-p/13693096 PI/PO7.5 Background Job Processing Monitor -User roles 2024-05-06T22:01:12.623000+02:00 yeshuaq https://community.sap.com/t5/user/viewprofilepage/user-id/588733 <P>Hi,</P><P>Q1. Can you please suggest the user roles to restrict EDIT access for '<SPAN>Background Job Processing Monitor' in PI/PO message monitoring.&nbsp;</SPAN></P><P><SPAN>Configuration and monitoring home--&gt;Monitoring--&gt;Adapter engine tab--&gt;Background Job Processing Monitor: Process Jobs</SPAN></P><P><SPAN>the current roles assigned to user are: SAP_XI_DEVELOPER_J2EE ,&nbsp;SAP_XI_MONITOR_J2EE,SAP_XI_SUPPORT_J2EE,SAP_XI_RWB_SERV_USER.</SPAN></P><P><SPAN>Q2: When assigned the NWA_Readonly role, I am still able to see the 'Identity Management' section (display) and the list of users created. I would like to restrict access to the 'Identity Management' option; please suggest ways to hide it so that the user cannot view the list of all users created. I tried using the 'SAP_JAVA_NWADMIN_CENTRAL/LOCAL_READONLY' roles, but they restrict access to many other tools as well. So, I want to use the NWA_READONLY role, but it should not show the 'Identity Management' section.</SPAN></P><P><SPAN>Thank you.</SPAN></P><P>&nbsp;</P> 2024-05-06T22:01:12.623000+02:00 https://community.sap.com/t5/technology-q-a/shortening-source-file-name-in-sap-po/qaq-p/13694835 Shortening Source File name in SAP PO ! 2024-05-08T09:56:00.745000+02:00 das_sappo https://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 .&nbsp;</P><P>If the file name at Source is <STRONG>ABC_12345_LKN.8URTY.txt</STRONG>&nbsp; then we need to write the file at the target File server with the name as&nbsp;<STRONG>ABC_12345.txt&nbsp;</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&amp;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&amp;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&amp;px=400" role="button" title="das_sappo_2-1715268347859.png" alt="das_sappo_2-1715268347859.png" /></span></P><P>&nbsp;</P><P>&nbsp;</P><P>Please suggest how can this be achieved .</P><P>&nbsp;</P><P>Regards,</P><P>Arvik</P><P>&nbsp;</P> 2024-05-08T09:56:00.745000+02:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/sap-process-integration-sap-pi-po-local-rule-routing-condition/qaq-p/13697965 SAP Process Integration (SAP PI PO) Local rule routing condition 2024-05-10T19:59:47.974000+02:00 revathi3 https://community.sap.com/t5/user/viewprofilepage/user-id/848514 <P>Hello ,&nbsp;&nbsp;</P><P>In integrated configuration , i have to add a condition like when zregiogroup = 'eng' or 'mech' and werks = 'p020' or 'p025' or 'p089' or... Then that needs to passed to receiver. Please find the attachment for reference. I'm not able to find the solution. Please help me!!</P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="revathi3_0-1715363825127.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108805i280CD1ECDC69228B/image-size/medium?v=v2&amp;px=400" role="button" title="revathi3_0-1715363825127.png" alt="revathi3_0-1715363825127.png" /></span></P><P>&nbsp;</P><P>&nbsp;</P> 2024-05-10T19:59:47.974000+02:00 https://community.sap.com/t5/product-lifecycle-management-q-a/sap-pi-huge-messages-are-in-scheduled-status-update-the-status/qaq-p/13702159 SAP PI - Huge messages are in Scheduled Status - Update the status 2024-05-15T13:02:36.924000+02:00 jegathees_waran https://community.sap.com/t5/user/viewprofilepage/user-id/194685 <P>Hi Friends,&nbsp;</P><P>Good day.&nbsp;</P><P>In SAP PI (7.5) , Message Monitoring overview screen, huge messages count is shown under Scheduled column. When we click the count, there is no messages come. i.e. no messages are available.</P><P>Restarting the PI system also did not help to update the status of the messages (to move them to Cancelled).&nbsp;</P><P>I get stuck how to clear these messages (to move them to cancelled status)</P><P>Please find the screen shot. Kindly clarify.&nbsp;</P><P>Thank you.</P><P>Regards,&nbsp;</P><P>Jegatheeswaran P.&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P> 2024-05-15T13:02:36.924000+02:00 https://community.sap.com/t5/technology-q-a/cannot-create-new-sap-pi-pit-run-configuration/qaq-p/13702208 cannot create new sap pi PIT run configuration 2024-05-15T13:33:12.663000+02:00 Tomas https://community.sap.com/t5/user/viewprofilepage/user-id/135379 <P>after adding all PIT roles and running config wizard there is still issue with making new run configurations for test cases. In Web gui the '+' button is grey<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-05-15 12_37_36-PI Test Tool.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/110935i90750C74A224E9B8/image-size/large?v=v2&amp;px=999" role="button" title="2024-05-15 12_37_36-PI Test Tool.png" alt="2024-05-15 12_37_36-PI Test Tool.png" /></span></P><P>and NWDS it is not possible to add it due to some error in background (the same user gets application response from postman:))</P><P>"An error occurred while retrieving the data.<BR />javax.xml.soap.SOAPException: Error accessing "http:xxxxxxxxxxxx/IntegratedConfigurationInService/IntegratedConfigurationInImplBean?style=document". Response code is 401, response message is "Unauthorized"</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-05-15 13_31_26-Select Integrated Configuration.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/110940i0BB9A577A64A6204/image-size/medium?v=v2&amp;px=400" role="button" title="2024-05-15 13_31_26-Select Integrated Configuration.png" alt="2024-05-15 13_31_26-Select Integrated Configuration.png" /></span></P><P>any suggestions?</P> 2024-05-15T13:33:12.663000+02:00 https://community.sap.com/t5/technology-q-a/po7-5-node-functions/qaq-p/13703491 PO7.5 Node functions 2024-05-16T13:08:19.172000+02:00 PavanJhawar https://community.sap.com/t5/user/viewprofilepage/user-id/1388240 <P>Hi ,</P><P>I am using PO7.5. I am new to node functions and need some help.</P><P>Say,I have 3 input fields(ip1, ip2, ip3) and one output field(op1).</P><P>I want to achieve below functionality with node functions or UDF. Can anyone guide me on this?</P><P>If IP1 or IP2 is initial then OP1 = IP3.</P><P>If IP1 is not initial and IP2 is not initial then OP1 = concate(IP1, IP2).</P><P>Do i need to create Custome function or with simple node functions is it possible?</P><P>Thanks,<BR />Pavan.</P> 2024-05-16T13:08:19.172000+02:00 https://community.sap.com/t5/technology-q-a/groovy-script-parse-error/qaq-p/13703850 Groovy Script Parse Error 2024-05-16T18:11:01.244000+02:00 jbesl https://community.sap.com/t5/user/viewprofilepage/user-id/84254 <P>Can you help me with a SAP CPI groovy script ?<BR />Objective : I want to merge the content of an exchange property with XML content and the incoming payload by referencing a key &lt;userId&gt; in my case.</P><P>the sample format of the xml in the exchange property is this</P><P>&nbsp;</P><pre class="lia-code-sample language-markup"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;rootA&gt; &lt;cust_A_WFM&gt; &lt;cust_ADPWFMStatus&gt;I&lt;/cust_ADPWFMStatus&gt; &lt;externalCodeNav&gt; &lt;User&gt; &lt;userId&gt;123456&lt;/userId&gt; &lt;/User&gt; &lt;/externalCodeNav&gt; &lt;lastModifiedDateTime&gt;*&lt;/lastModifiedDateTime&gt; &lt;externalCode&gt;*&lt;/externalCode&gt; &lt;effectiveStartDate&gt;*&lt;/effectiveStartDate&gt; &lt;/cust_ADP_WFM&gt; &lt;cust_ADP_WFM&gt; &lt;cust_ADPWFMStatus&gt;I&lt;/cust_ADPWFMStatus&gt; &lt;externalCodeNav&gt; &lt;User&gt; &lt;userId&gt;987654&lt;/userId&gt; &lt;/User&gt; &lt;/externalCodeNav&gt; &lt;lastModifiedDateTime&gt;*&lt;/lastModifiedDateTime&gt; &lt;externalCode&gt;*&lt;/externalCode&gt; &lt;effectiveStartDate&gt;2*&lt;/effectiveStartDate&gt; &lt;/cust_A_WFM&gt; &lt;/rootA&gt; </code></pre><P>&nbsp;</P><P>While the incoming payload, is this&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>I am using this script</P><P>&nbsp;</P><pre class="lia-code-sample language-json"><code>import com.sap.gateway.ip.core.customdev.util.Message import groovy.xml.XmlUtil import groovy.xml.XmlParser Message processData(Message message) { // Get the incoming payload def body = message.getBody(java.lang.String) as String // Get the exchange property containing cust_A_WFM def custADPWFMPayload = message.getProperty('backup_call1') as String // Remove the XML declaration if present body = body.replaceFirst(/\&lt;\?xml.*?\?\&gt;/, "").trim() custAWFMPayload = custAWFMPayload.replaceFirst(/\&lt;\?xml.*?\?\&gt;/, "").trim() // Parse both XMLs def parser = new XmlParser(false, false) // Disable namespace aware parsing def rootEmpJob = parser.parseText(body) def rootADP = parser.parseText(custAWFMPayload) // Convert the rootADP to a map for easy lookup def adpMap = rootADP.cust_A_WFM.collectEntries { adp -&gt; [adp.externalCodeNav.User.userId.text(), adp] } // Iterate over each EmpJob element and merge, or remove if no match def empJobsToRemove = [] rootEmpJob.EmpJob.each { empJob -&gt; def userId = empJob.userId.text() def correspondingA = aMap[userId] if (correspondingA) { // Create a new node for externalCodeOfcust_A_WFMNav if it doesn't exist def userNav = empJob.userNav[0] if (userNav) { def externalCodeOfcust_A_WFMNav = userNav.externalCodeOfcust_A_WFMNav ?: userNav.appendNode('externalCodeOfcust_A_WFMNav') // Append the corresponding ADP data externalCodeOfcust_A_WFMNav.append(correspondingA) } } else { // Add to the list of nodes to remove empJobsToRemove &lt;&lt; empJob } } // Remove the unmatched EmpJob nodes empJobsToRemove.each { empJob -&gt; rootEmpJob.remove(empJob) } // Convert the merged XML back to string and set it as the message body def mergedXml = XmlUtil.serialize(rootEmpJob) message.setBody(mergedXml) return message }</code></pre><P>&nbsp;</P><P>But i get this error&nbsp;</P><P>&nbsp;</P><pre class="lia-code-sample language-abap"><code>javax.script.ScriptException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: ADP_mergeXML_custADP_empData__Script.groovy: 3: unable to resolve class groovy.xml.XmlParser @ line 3, column 1. import groovy.xml.XmlParser ^ 1 error , cause: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: ADP_mergeXML_custADP_empData__Script.groovy: 3: unable to resolve class groovy.xml.XmlParser @ line 3, column 1. import groovy.xml.XmlParser ^ 1 error</code></pre><P>&nbsp;</P><P>&nbsp;</P> 2024-05-16T18:11:01.244000+02:00 https://community.sap.com/t5/technology-q-a/fetch-mails-from-outlook365-from-sap-po/qaq-p/13704769 Fetch mails from Outlook365 from SAP PO 2024-05-17T12:45:54.232000+02:00 sudarshanpoojary6061_1 https://community.sap.com/t5/user/viewprofilepage/user-id/664941 <P>Hi Team,</P><P>Please could someone let me know how to connect to outlook365 and read mails via SAP PO.</P><P>Thanks and Regards,</P><P>Sudarshan</P> 2024-05-17T12:45:54.232000+02:00