https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAP-Integration-Suite-qa.xml SAP Community - SAP Integration Suite 2024-05-20T17:01:25.259048+00:00 python-feedgen SAP Integration Suite Q&A in SAP Community https://community.sap.com/t5/technology-q-a/purchase-order-creation-mapping-issue/qaq-p/13700073 Purchase order creation mapping issue 2024-05-14T04:14:12.879000+02:00 SG141 https://community.sap.com/t5/user/viewprofilepage/user-id/200135 <P>I am working on the Purchase order creation ( ODATA V4). The payload generated after message mapping does convert to set the schedule lines for example as array which is expected by SAP. Any pointers on how modify the mapping make sure Schedule lines show up a arrays in the payload?&nbsp; The source schema is at item level and I am only mapping the delivery date in the target schedule line. Attaching sample payload from mapping. Appreciate any points on how to resolve this issue.&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P> 2024-05-14T04:14:12.879000+02:00 https://community.sap.com/t5/technology-q-a/establish-sftp-connection-using-public-key-authentication-key-pair/qaq-p/13700419 Establish SFTP Connection using Public Key Authentication - Key Pair 2024-05-14T10:24:25.143000+02:00 Jayasri https://community.sap.com/t5/user/viewprofilepage/user-id/1383789 <P>Hi All,</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jayasri_1-1715668914908.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/109951iA736ECF5E8F721CC/image-size/medium?v=v2&amp;px=400" role="button" title="Jayasri_1-1715668914908.png" alt="Jayasri_1-1715668914908.png" /></span></P><P>&nbsp;</P><P>User has provided Authentication details for SFTP Receiver Channel. Can anyone explain how to establish SFTP connection with Public Key Authentication using Key-Pair.</P><P>Thanks.</P> 2024-05-14T10:24:25.143000+02:00 https://community.sap.com/t5/product-lifecycle-management-q-a/issue-migration-of-product-posting-with-foot-base-uom-having-plant-level/qaq-p/13700704 Issue: Migration of product posting with Foot-Base UOM having plant level Serial no. profile. 2024-05-14T13:27:46.127000+02:00 Gagan1 https://community.sap.com/t5/user/viewprofilepage/user-id/1390057 <P>When migrating product data&nbsp;with Foot-Base UOM having plant level Serial no. profile. then it thorw me an error to take base unit of measurement as discrete-PC/Pallet etc. instead of foot measurement which is logically right but when someone posted 1000 material combination of Base_UOM- PC,Foot,Pack in which some with same above data(FT-foot with Serial number) has been migrated and some 16 were throwing an error.(Product Type-HAWA) in S4C public edition tenant.</P><P>So i need to know why system took other and left 16 products only, please clarify. It has been uploaded in DEV system. Starter_System having error for uploading all the data which already migrated into the DEV system.is it due to fresh system it was taken or something else in backend?</P><P>Please Reply, your valuable reply needs to enhancing the knowledge and better to deliver.</P> 2024-05-14T13:27:46.127000+02:00 https://community.sap.com/t5/technology-q-a/set-element-as-array-in-message-mapping/qaq-p/13700805 Set element as array in message mapping 2024-05-14T14:19:07.957000+02:00 SG141 https://community.sap.com/t5/user/viewprofilepage/user-id/200135 <P>All,&nbsp; Schedule lines are defined as 1:* cardinality in my target schema. However after the message mapping it's returned as single element instead of array. Can you guys help on how to convert it as Array? Delivery date/ Quantity of the schedule line schema are mapped to source item fields.&nbsp;</P><P>Target XSD Schema:&nbsp; &nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><pre class="lia-code-sample language-markup"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt; &lt;xs:element name="PurchaseOrder"&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:element name="PurchaseOrderType" type="xs:string"/&gt; &lt;xs:element name="PurchaseOrderDate" type="xs:date"/&gt; &lt;xs:element name="Language" type="xs:string"/&gt; &lt;xs:element name="CompanyCode" type="xs:string"/&gt; &lt;xs:element name="PurchasingOrganization" type="xs:string"/&gt; &lt;xs:element name="PurchasingGroup" type="xs:string"/&gt; &lt;xs:element name="Supplier" type="xs:string"/&gt; &lt;xs:element name="DocumentCurrency" type="xs:string"/&gt; &lt;xs:element name="_PurchaseOrderItem" minOccurs="1" maxOccurs="unbounded"&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:element name="PurchaseOrderItem" type="xs:string"/&gt; &lt;xs:element name="PurchaseOrderCategory" type="xs:string"/&gt; &lt;xs:element name="DocumentCurrency" type="xs:string"/&gt; &lt;xs:element name="MaterialGroup" type="xs:string"/&gt; &lt;xs:element name="PurchaseOrderItemText" type="xs:string"/&gt; &lt;xs:element name="ProductTypeCode" type="xs:string"/&gt; &lt;xs:element name="CompanyCode" type="xs:string"/&gt; &lt;xs:element name="Plant" type="xs:string"/&gt; &lt;xs:element name="SupplierIsSubcontractor" type="xs:boolean"/&gt; &lt;xs:element name="PurchaseOrderQuantityUnit" type="xs:string"/&gt; &lt;xs:element name="OrderPriceUnit" type="xs:string"/&gt; &lt;xs:element name="NetPriceQuantity" type="xs:decimal"/&gt; &lt;xs:element name="PurchaseOrderItemCategory" type="xs:string"/&gt; &lt;xs:element name="AccountAssignmentCategory" type="xs:string"/&gt; &lt;xs:element name="NetAmount" type="xs:decimal"/&gt; &lt;xs:element name="GrossAmount" type="xs:decimal"/&gt; &lt;xs:element name="OrderQuantity" type="xs:decimal"/&gt; &lt;xs:element name="NetPriceAmount" type="xs:decimal"/&gt; &lt;xs:element name="OrderPriceUnitToOrderUnitNmrtr" type="xs:decimal"/&gt; &lt;xs:element name="OrdPriceUnitToOrderUnitDnmntr" type="xs:decimal"/&gt; &lt;xs:element name="_PurchaseOrderScheduleLineTP" minOccurs="1" maxOccurs="unbounded"&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:element name="PurchaseOrderItem" type="xs:string"/&gt; &lt;xs:element name="ScheduleLine" type="xs:string"/&gt; &lt;xs:element name="ScheduleLineDeliveryDate" type="xs:date"/&gt; &lt;xs:element name="SchedLineStscDeliveryDate" type="xs:date"/&gt; &lt;xs:element name="Batch" type="xs:string"/&gt; &lt;xs:element name="BatchBySupplier" type="xs:string"/&gt; &lt;xs:element name="ScheduleLineOrderQuantity" type="xs:decimal"/&gt; &lt;xs:element name="PurchaseOrderQuantityUnit" type="xs:string"/&gt; &lt;xs:element name="Currency" type="xs:string"/&gt; &lt;/xs:sequence&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;xs:element name="_PurOrdAccountAssignment" minOccurs="1" maxOccurs="unbounded"&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:element name="PurchaseOrderItem" type="xs:string"/&gt; &lt;xs:element name="AccountAssignmentNumber" type="xs:string"/&gt; &lt;xs:element name="OrderQuantityUnit" type="xs:string"/&gt; &lt;xs:element name="Quantity" type="xs:decimal"/&gt; &lt;xs:element name="DocumentCurrency" type="xs:string"/&gt; &lt;xs:element name="CostCenter" type="xs:string"/&gt; &lt;xs:element name="GLAccount" type="xs:string"/&gt; &lt;xs:element name="Fund" type="xs:string"/&gt; &lt;xs:element name="CompanyCode" type="xs:string"/&gt; &lt;xs:element name="ChartOfAccounts" type="xs:string"/&gt; &lt;xs:element name="ControllingArea" type="xs:string"/&gt; &lt;xs:element name="ProfitCenter" type="xs:string"/&gt; &lt;/xs:sequence&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;xs:element name="_PurOrdPricingElement" maxOccurs="unbounded"&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:element name="PurchaseOrder" type="xs:string"/&gt; &lt;xs:element name="PurchaseOrderItem" type="xs:string"/&gt; &lt;xs:element name="PricingDocument" type="xs:string"/&gt; &lt;xs:element name="PricingDocumentItem" type="xs:string"/&gt; &lt;xs:element name="PricingProcedureStep" type="xs:string"/&gt; &lt;xs:element name="PricingProcedureCounter" type="xs:string"/&gt; &lt;xs:element name="ConditionType" type="xs:string"/&gt; &lt;xs:element name="ConditionBaseAmount" type="xs:decimal"/&gt; &lt;xs:element name="TransactionCurrency" type="xs:string"/&gt; &lt;xs:element name="ConditionIsDeletable" type="xs:boolean"/&gt; &lt;/xs:sequence&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;/xs:sequence&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;/xs:sequence&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;/xs:schema&gt;</code></pre><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;Source schema&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><pre class="lia-code-sample language-abap"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt; &lt;xs:element name="root"&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:element name="externalId" type="xs:string"/&gt; &lt;xs:element name="formNumber" type="xs:string"/&gt; &lt;xs:element name="vendorName" type="xs:string"/&gt; &lt;xs:element name="vendorCode" type="xs:string"/&gt; &lt;xs:element name="taxTotal" type="xs:decimal"/&gt; &lt;xs:element name="lineItems" minOccurs="0" maxOccurs="unbounded"&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:element name="description" type="xs:string"/&gt; &lt;xs:element name="quantity" type="xs:string"/&gt; &lt;xs:element name="total" type="xs:decimal"/&gt; &lt;xs:element name="unit" type="xs:string"/&gt; &lt;xs:element name="unitPrice" type="xs:decimal"/&gt; &lt;xs:element name="lineNumber" type="xs:string"/&gt; &lt;/xs:sequence&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;/xs:sequence&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;/xs:schema&gt;</code></pre><P>&nbsp;</P><P>Sample payload after mapping:</P><P>&nbsp;</P><pre class="lia-code-sample language-json"><code>{ "PurchaseOrderType": "NB", "PurchaseOrderDate": "2024-05-14", "Language": "EN", "CompanyCode": "2024", "PurchasingOrganization": "2024", "PurchasingGroup": "001", "Supplier": "1000000", "DocumentCurrency": "USD", "_PurchaseOrderItem": [ { "PurchaseOrderItem": "10", "PurchaseOrderCategory": "F", "DocumentCurrency": "USD", "MaterialGroup": "E002", "PurchaseOrderItemText": "From CPI", "ProductTypeCode": "1", "CompanyCode": "2024", "Plant": "2024", "PurchaseOrderQuantityUnit": "EA", "OrderPriceUnit": "EA", "NetPriceQuantity": "1", "PurchaseOrderItemCategory": "0", "AccountAssignmentCategory": "P", "NetAmount": "10", "GrossAmount": "10", "OrderQuantity": "10", "NetPriceAmount": "1", "_PurchaseOrderScheduleLineTP": { "ScheduleLineDeliveryDate": "2024-05-14", "SchedLineStscDeliveryDate": "2024-05-14", "ScheduleLineOrderQuantity": "10", "PurchaseOrderQuantityUnit": "EA", "Currency": "USD" }, "_PurOrdAccountAssignment": { "AccountAssignmentNumber": "1", "OrderQuantityUnit": "EA", "Quantity": "10", "DocumentCurrency": "USD", "CostCenter": "20240001", "GLAccount": "42007000", "Fund": "FUND1", "CompanyCode": "2024", "ChartOfAccounts": "XXXA", "ControllingArea": "AXX0", "ProfitCenter": "XXXX" } } ] }</code></pre><P>&nbsp;</P><P>&nbsp;</P> 2024-05-14T14:19:07.957000+02:00 https://community.sap.com/t5/technology-q-a/cpi-message-mapping-quotes/qaq-p/13700850 CPI message mapping quotes. 2024-05-14T14:42:02.880000+02:00 VG141 https://community.sap.com/t5/user/viewprofilepage/user-id/1452849 <P>All, Quantity and amount fields are defined as xs:decimal in my schema. After the xml to json conversion in iFlow, i notice that they are getting populated as "10" instead of 10. Any pointers on how to get rid of the quotes around the numbers?&nbsp; Here's the schema definition:&nbsp;</P><pre class="lia-code-sample language-markup"><code> &lt;xs:element name="SupplierIsSubcontractor" type="xs:boolean"/&gt; &lt;xs:element name="PurchaseOrderQuantityUnit" type="xs:string"/&gt; &lt;xs:element name="OrderPriceUnit" type="xs:string"/&gt; &lt;xs:element name="NetPriceQuantity" type="xs:decimal"/&gt; &lt;xs:element name="PurchaseOrderItemCategory" type="xs:string"/&gt; &lt;xs:element name="AccountAssignmentCategory" type="xs:string"/&gt; &lt;xs:element name="NetAmount" type="xs:decimal"/&gt; &lt;xs:element name="GrossAmount" type="xs:decimal"/&gt; &lt;xs:element name="OrderQuantity" type="xs:decimal"/&gt; &lt;xs:element name="NetPriceAmount" type="xs:decimal"/&gt; &lt;xs:element name="OrderPriceUnitToOrderUnitNmrtr" type="xs:decimal"/&gt; &lt;xs:element name="OrdPriceUnitToOrderUnitDnmntr" type="xs:decimal"/</code></pre><P>&nbsp;Below is the payload after xml to json conversion.&nbsp;</P><pre class="lia-code-sample language-json"><code> "_PurchaseOrderItem": [ { "PurchaseOrderItem": "10", "PurchaseOrderCategory": "F", "DocumentCurrency": "USD", "MaterialGroup": "E002", "PurchaseOrderItemText": "From CPI", "ProductTypeCode": "1", "CompanyCode": "2024", "Plant": "2024", "PurchaseOrderQuantityUnit": "EA", "OrderPriceUnit": "EA", "NetPriceQuantity": "1", "PurchaseOrderItemCategory": "0", "AccountAssignmentCategory": "P", "NetAmount": "10", "GrossAmount": "10", "OrderQuantity": "10", "NetPriceAmount": "1", "_PurchaseOrderScheduleLineTP": { "ScheduleLineDeliveryDate": "2024-05-14", "SchedLineStscDeliveryDate": "2024-05-14", "ScheduleLineOrderQuantity": "10", "PurchaseOrderQuantityUnit": "EA", "Currency": "USD" },</code></pre><P>&nbsp;</P> 2024-05-14T14:42:02.880000+02:00 https://community.sap.com/t5/technology-q-a/groovy-script-help-to-remove-quotes/qaq-p/13701114 Groovy script help to remove quotes 2024-05-14T16:56:29.334000+02:00 SG141 https://community.sap.com/t5/user/viewprofilepage/user-id/200135 <P>Need to help identify the scheduleline array object and set the quantity field to number removing the "".&nbsp;</P><P>&nbsp;</P><pre class="lia-code-sample language-javascript"><code>import com.sap.gateway.ip.core.customdev.util.Message; import java.util.HashMap; import groovy.json.* def Message processData(Message message) { def body = message.getBody(java.lang.String); def object = new JsonSlurper().parseText(body) object._PurchaseOrderItem.each{_PurchaseOrderItem-&gt; _PurchaseOrderItem.NetPriceQuantity = _PurchaseOrderItem.NetPriceQuantity.toDouble().intValue() _PurchaseOrderItem.NetAmount = _PurchaseOrderItem.NetAmount.toDouble() _PurchaseOrderItem.GrossAmount = _PurchaseOrderItem.GrossAmount.toDouble() _PurchaseOrderItem.OrderQuantity = _PurchaseOrderItem.OrderQuantity.toDouble() _PurchaseOrderItem.NetPriceAmount = _PurchaseOrderItem.NetPriceAmount.toDouble() } object._PurchaseOrderScheduleLineTP.each{_PurchaseOrderItem._PurchaseOrderScheduleLineTP-&gt; _PurchaseOrderScheduleLineTP.ScheduleLineOrderQuantity = _PurchaseOrderScheduleLineTP.ScheduleLineOrderQuantity.toDouble().intValue() } object._PurOrdAccountAssignment.each{_PurchaseOrderItem._PurOrdAccountAssignment-&gt; _PurOrdAccountAssignment.ScheduleLineOrderQuantity = _PurOrdAccountAssignment.ScheduleLineOrderQuantity.toDouble().intValue() } message.setBody(JsonOutput.toJson(object)); return message; }</code></pre><P>&nbsp;</P><P>Here's the sample payload and I am trying to remove "" from ScheduleLineOrderQuantity.&nbsp;</P><P>&nbsp;</P><pre class="lia-code-sample language-json"><code>{ "PurchaseOrderType": "NB", "PurchaseOrderDate": "2024-05-14", "Language": "EN", "CompanyCode": "2024", "PurchasingOrganization": "2024", "PurchasingGroup": "001", "Supplier": "1000000", "DocumentCurrency": "USD", "_PurchaseOrderItem": [ { "PurchaseOrderItem": "10", "PurchaseOrderCategory": "F", "DocumentCurrency": "USD", "MaterialGroup": "E002", "PurchaseOrderItemText": "From CPI", "ProductTypeCode": "1", "CompanyCode": "2024", "Plant": "2024", "PurchaseOrderQuantityUnit": "EA", "OrderPriceUnit": "EA", "NetPriceQuantity": "1", "PurchaseOrderItemCategory": "0", "AccountAssignmentCategory": "P", "NetAmount": "10", "GrossAmount": "10", "OrderQuantity": "10", "NetPriceAmount": "1", "_PurchaseOrderScheduleLineTP": [{ "ScheduleLineDeliveryDate": "2024-05-14", "SchedLineStscDeliveryDate": "2024-05-14", "ScheduleLineOrderQuantity": "10", "PurchaseOrderQuantityUnit": "EA", "Currency": "USD" }], "_PurOrdAccountAssignment": [{ "AccountAssignmentNumber": "1", "OrderQuantityUnit": "EA", "Quantity": "10", "DocumentCurrency": "USD", "CostCenter": "20240001", "GLAccount": "42007000", "Fund": "FUND1", "CompanyCode": "2024", "ChartOfAccounts": "XXOA", "ControllingArea": "ABCD", "ProfitCenter": "XXXX" }] } ] }</code></pre><P>&nbsp;</P> 2024-05-14T16:56:29.334000+02:00 https://community.sap.com/t5/technology-q-a/creation-of-destination-in-btp-using-basic-authentication-for-cloud-tms-for/qaq-p/13701863 Creation of destination in BTP using Basic Authentication for Cloud TMS for sap integration suite. 2024-05-15T10:19:14.992000+02:00 dornadulasanath69 https://community.sap.com/t5/user/viewprofilepage/user-id/718546 <P>Hello Experts,</P><P>We are using SAP Cloud TMS for BTP integration suite and we had created the destination for the below target URL&nbsp;<A href="https://deploy-service.cfapps.xxxx.hana.ondemand.com/slprot/xxxxxx/xxxxxx/slp" target="_blank" rel="nofollow noopener noreferrer">https://deploy-service.cfapps.xxxx.hana.ondemand.com/slprot/xxxxxx/xxxxxx/slp</A>&nbsp;and using basic authentication as per SAP we need to use technical user and we created one technical user and assign role as space developer but when doing connection test, it is failing.</P><P>Are there any roles I need to add, or any other procedure need to follow for creation of technical user.</P><P>Note: The connectivity test is working fine with my S-User ID.</P> 2024-05-15T10:19:14.992000+02:00 https://community.sap.com/t5/technology-q-a/having-issue-in-integration-advisor-mag-idoc-to-edifact/qaq-p/13701945 Having issue in Integration Advisor MAG IDOC to EDIFACT 2024-05-15T11:20:55.558000+02:00 Ali_Sufiyan https://community.sap.com/t5/user/viewprofilepage/user-id/1407529 <P>I have an IDOC payload with&nbsp;E1EDP01 SEGMENT I have to map it with the LIN item of EDIFACT,&nbsp;<BR />Sample Payload:</P><P>&nbsp;</P><P>&nbsp;</P><pre class="lia-code-sample language-abap"><code>&lt;E1EDP01 SEGMENT="1"&gt; &lt;POSEX&gt;00010&lt;/POSEX&gt; &lt;ACTION&gt;001&lt;/ACTION&gt; &lt;PSTYP&gt;0&lt;/PSTYP&gt; &lt;MENGE&gt;3.000&lt;/MENGE&gt; &lt;MENEE&gt;EA&lt;/MENEE&gt; &lt;BMNG2&gt;3.000&lt;/BMNG2&gt; &lt;PMENE&gt;EA&lt;/PMENE&gt; &lt;VPREI&gt;3.45&lt;/VPREI&gt; &lt;PEINH&gt;1&lt;/PEINH&gt; &lt;NETWR&gt;10.35&lt;/NETWR&gt; &lt;GEWEI&gt;KGM&lt;/GEWEI&gt; &lt;PREIS&gt;3.80&lt;/PREIS&gt; &lt;MATKL&gt;ASDFQWE&lt;/MATKL&gt; &lt;BPUMN&gt;1&lt;/BPUMN&gt; &lt;BPUMZ&gt;3&lt;/BPUMZ&gt; &lt;BRGEW&gt;0.342&lt;/BRGEW&gt; &lt;WERKS&gt;QVQEV&lt;/WERKS&gt; &lt;LGORT&gt;0001&lt;/LGORT&gt; &lt;E1EDP05 SEGMENT="1"&gt; &lt;ALCKZ&gt;+&lt;/ALCKZ&gt; &lt;KSCHL&gt;VQEF&lt;/KSCHL&gt; &lt;KOTXT&gt;Gross Price&lt;/KOTXT&gt; &lt;BETRG&gt;10.35&lt;/BETRG&gt; &lt;KRATE&gt;3.45&lt;/KRATE&gt; &lt;UPRBS&gt; 1&lt;/UPRBS&gt; &lt;MEAUN&gt;EA&lt;/MEAUN&gt; &lt;KOEIN&gt;USD&lt;/KOEIN&gt; &lt;/E1EDP05&gt; &lt;E1EDP05 SEGMENT="1"&gt; &lt;ALCKZ&gt;+&lt;/ALCKZ&gt; &lt;KSCHL&gt;QEVQ&lt;/KSCHL&gt; &lt;KOTXT&gt;GST rate&lt;/KOTXT&gt; &lt;KPERC&gt;10&lt;/KPERC&gt; &lt;/E1EDP05&gt; &lt;E1EDP20 SEGMENT="1"&gt; &lt;WMENG&gt;3.000&lt;/WMENG&gt; &lt;AMENG&gt;0.000&lt;/AMENG&gt; &lt;EDATU&gt;23523422&lt;/EDATU&gt; &lt;EZEIT&gt;153123&lt;/EZEIT&gt; &lt;/E1EDP20&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;002&lt;/QUALF&gt; &lt;IDTNR&gt;VAV2342&lt;/IDTNR&gt; &lt;/E1EDP19&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;001&lt;/QUALF&gt; &lt;IDTNR&gt;CAER12341&lt;/IDTNR&gt; &lt;KTEXT&gt;ATEL ACR PNT 80ML PRUS BE HUE&lt;/KTEXT&gt; &lt;/E1EDP19&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;003&lt;/QUALF&gt; &lt;IDTNR&gt;1234567890123&lt;/IDTNR&gt; &lt;KTEXT&gt;235236526&lt;/KTEXT&gt; &lt;/E1EDP19&gt; &lt;/E1EDP01&gt; &lt;E1EDP01 SEGMENT="1"&gt; &lt;POSEX&gt;1&lt;/POSEX&gt; &lt;UEPOS&gt;00010&lt;/UEPOS&gt; &lt;MATNR&gt;ADFGWQ35232&lt;/MATNR&gt; &lt;E1ADDI1 SEGMENT="1"&gt; &lt;ADDIMATNR&gt;ASVFQE&lt;/ADDIMATNR&gt; &lt;ADDINUMBER&gt;3.000&lt;/ADDINUMBER&gt; &lt;ADDIVKME&gt;EA&lt;/ADDIVKME&gt; &lt;ADDIFM&gt;0005&lt;/ADDIFM&gt; &lt;ADDIFM_TXT&gt;SLS Pre-packing&lt;/ADDIFM_TXT&gt; &lt;/E1ADDI1&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;017&lt;/QUALF&gt; &lt;IDTNR&gt;0001&lt;/IDTNR&gt; &lt;/E1EDP19&gt; &lt;/E1EDP01&gt; &lt;E1EDP01 SEGMENT="1"&gt; &lt;POSEX&gt;00011&lt;/POSEX&gt; &lt;ACTION&gt;001&lt;/ACTION&gt; &lt;PSTYP&gt;0&lt;/PSTYP&gt; &lt;MENGE&gt;3.000&lt;/MENGE&gt; &lt;MENEE&gt;EA&lt;/MENEE&gt; &lt;BMNG2&gt;3.000&lt;/BMNG2&gt; &lt;PMENE&gt;EA&lt;/PMENE&gt; &lt;PEINH&gt;1&lt;/PEINH&gt; &lt;GEWEI&gt;ASF&lt;/GEWEI&gt; &lt;MATKL&gt;QAEVQ&lt;/MATKL&gt; &lt;UEPOS&gt;00010&lt;/UEPOS&gt; &lt;BPUMN&gt;1&lt;/BPUMN&gt; &lt;BPUMZ&gt;3&lt;/BPUMZ&gt; &lt;BRGEW&gt;0.342&lt;/BRGEW&gt; &lt;WERKS&gt;W965&lt;/WERKS&gt; &lt;LGORT&gt;0001&lt;/LGORT&gt; &lt;E1EDP20 SEGMENT="1"&gt; &lt;WMENG&gt;3.000&lt;/WMENG&gt; &lt;AMENG&gt;0.000&lt;/AMENG&gt; &lt;EDATU&gt;2341351&lt;/EDATU&gt; &lt;EZEIT&gt;235234&lt;/EZEIT&gt; &lt;/E1EDP20&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;002&lt;/QUALF&gt; &lt;IDTNR&gt;CASF12341&lt;/IDTNR&gt; &lt;/E1EDP19&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;001&lt;/QUALF&gt; &lt;IDTNR&gt;ASF121523&lt;/IDTNR&gt; &lt;KTEXT&gt;ASDV EEF WEF WEG WG &lt;/KTEXT&gt; &lt;/E1EDP19&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;003&lt;/QUALF&gt; &lt;IDTNR&gt;1234567890123&lt;/IDTNR&gt; &lt;KTEXT&gt;10084935&lt;/KTEXT&gt; &lt;/E1EDP19&gt; &lt;/E1EDP01&gt; &lt;E1EDP01 SEGMENT="1"&gt; &lt;POSEX&gt;1&lt;/POSEX&gt; &lt;UEPOS&gt;00011&lt;/UEPOS&gt; &lt;MATNR&gt;CHRAI12040&lt;/MATNR&gt; &lt;E1ADDI1 SEGMENT="1"&gt; &lt;ADDIMATNR&gt;ADGQWEGWEV&lt;/ADDIMATNR&gt; &lt;ADDINUMBER&gt;3.000&lt;/ADDINUMBER&gt; &lt;ADDIVKME&gt;EA&lt;/ADDIVKME&gt; &lt;ADDIFM&gt;0005&lt;/ADDIFM&gt; &lt;ADDIFM_TXT&gt;QAEGWEG&lt;/ADDIFM_TXT&gt; &lt;/E1ADDI1&gt; &lt;E1EDPA1 SEGMENT="1"&gt; &lt;PARVW&gt;SLS&lt;/PARVW&gt; &lt;PARTN&gt;A235&lt;/PARTN&gt; &lt;NAME1&gt;ASDFWQWEF&lt;/NAME1&gt; &lt;NAME4&gt;A341&lt;/NAME4&gt; &lt;STRAS&gt;ADSVAEF QWF QW&lt;/STRAS&gt; &lt;ORT01&gt;ASFWEF&lt;/ORT01&gt; &lt;PSTLZ&gt;6090&lt;/PSTLZ&gt; &lt;LAND1&gt;US&lt;/LAND1&gt; &lt;SPRAS&gt;E&lt;/SPRAS&gt; &lt;REGIO&gt;WA&lt;/REGIO&gt; &lt;SPRAS_ISO&gt;EN&lt;/SPRAS_ISO&gt; &lt;/E1EDPA1&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;017&lt;/QUALF&gt; &lt;IDTNR&gt;0001&lt;/IDTNR&gt; &lt;/E1EDP19&gt; &lt;/E1EDP01&gt; &lt;E1EDP01 SEGMENT="1"&gt; &lt;POSEX&gt;00020&lt;/POSEX&gt; &lt;ACTION&gt;001&lt;/ACTION&gt; &lt;PSTYP&gt;0&lt;/PSTYP&gt; &lt;MENGE&gt;3.000&lt;/MENGE&gt; &lt;MENEE&gt;EA&lt;/MENEE&gt; &lt;BMNG2&gt;3.000&lt;/BMNG2&gt; &lt;PMENE&gt;EA&lt;/PMENE&gt; &lt;VPREI&gt;3.45&lt;/VPREI&gt; &lt;PEINH&gt;1&lt;/PEINH&gt; &lt;NETWR&gt;10.35&lt;/NETWR&gt; &lt;GEWEI&gt;KGM&lt;/GEWEI&gt; &lt;PREIS&gt;3.80&lt;/PREIS&gt; &lt;MATKL&gt;ADFQWEQ&lt;/MATKL&gt; &lt;BPUMN&gt;1&lt;/BPUMN&gt; &lt;BPUMZ&gt;3&lt;/BPUMZ&gt; &lt;BRGEW&gt;0.336&lt;/BRGEW&gt; &lt;WERKS&gt;W134&lt;/WERKS&gt; &lt;LGORT&gt;0001&lt;/LGORT&gt; &lt;E1EDP05 SEGMENT="1"&gt; &lt;ALCKZ&gt;+&lt;/ALCKZ&gt; &lt;KSCHL&gt;ZPUR&lt;/KSCHL&gt; &lt;KOTXT&gt;Gross Price&lt;/KOTXT&gt; &lt;BETRG&gt;10.35&lt;/BETRG&gt; &lt;KRATE&gt;3.45&lt;/KRATE&gt; &lt;UPRBS&gt; 1&lt;/UPRBS&gt; &lt;MEAUN&gt;EA&lt;/MEAUN&gt; &lt;KOEIN&gt;USD&lt;/KOEIN&gt; &lt;/E1EDP05&gt; &lt;E1EDP05 SEGMENT="1"&gt; &lt;ALCKZ&gt;+&lt;/ALCKZ&gt; &lt;KSCHL&gt;ZGST&lt;/KSCHL&gt; &lt;KOTXT&gt;GST rate&lt;/KOTXT&gt; &lt;KPERC&gt;10&lt;/KPERC&gt; &lt;/E1EDP05&gt; &lt;E1EDP20 SEGMENT="1"&gt; &lt;WMENG&gt;3.000&lt;/WMENG&gt; &lt;AMENG&gt;0.000&lt;/AMENG&gt; &lt;EDATU&gt;23523562&lt;/EDATU&gt; &lt;EZEIT&gt;235232&lt;/EZEIT&gt; &lt;/E1EDP20&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;002&lt;/QUALF&gt; &lt;IDTNR&gt;ASFD2352&lt;/IDTNR&gt; &lt;/E1EDP19&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;001&lt;/QUALF&gt; &lt;IDTNR&gt;ASF12341&lt;/IDTNR&gt; &lt;KTEXT&gt;ASFQE QEG WG WEG W&lt;/KTEXT&gt; &lt;/E1EDP19&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;003&lt;/QUALF&gt; &lt;IDTNR&gt;1234567890123&lt;/IDTNR&gt; &lt;KTEXT&gt;345234236&lt;/KTEXT&gt; &lt;/E1EDP19&gt; &lt;/E1EDP01&gt; &lt;E1EDP01 SEGMENT="1"&gt; &lt;POSEX&gt;1&lt;/POSEX&gt; &lt;UEPOS&gt;00020&lt;/UEPOS&gt; &lt;MATNR&gt;CHRAI12400&lt;/MATNR&gt; &lt;E1ADDI1 SEGMENT="1"&gt; &lt;ADDIMATNR&gt;CROSSDOCK&lt;/ADDIMATNR&gt; &lt;ADDINUMBER&gt;3.000&lt;/ADDINUMBER&gt; &lt;ADDIVKME&gt;EA&lt;/ADDIVKME&gt; &lt;ADDIFM&gt;0005&lt;/ADDIFM&gt; &lt;ADDIFM_TXT&gt;ASDG WEG W GEW&lt;/ADDIFM_TXT&gt; &lt;/E1ADDI1&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;017&lt;/QUALF&gt; &lt;IDTNR&gt;0001&lt;/IDTNR&gt; &lt;/E1EDP19&gt; &lt;/E1EDP01&gt; &lt;E1EDP01 SEGMENT="1"&gt; &lt;POSEX&gt;00021&lt;/POSEX&gt; &lt;ACTION&gt;001&lt;/ACTION&gt; &lt;PSTYP&gt;0&lt;/PSTYP&gt; &lt;MENGE&gt;3.000&lt;/MENGE&gt; &lt;MENEE&gt;EA&lt;/MENEE&gt; &lt;BMNG2&gt;3.000&lt;/BMNG2&gt; &lt;PMENE&gt;EA&lt;/PMENE&gt; &lt;PEINH&gt;1&lt;/PEINH&gt; &lt;GEWEI&gt;KGM&lt;/GEWEI&gt; &lt;MATKL&gt;OSPAPAI&lt;/MATKL&gt; &lt;UEPOS&gt;00020&lt;/UEPOS&gt; &lt;BPUMN&gt;1&lt;/BPUMN&gt; &lt;BPUMZ&gt;3&lt;/BPUMZ&gt; &lt;BRGEW&gt;0.336&lt;/BRGEW&gt; &lt;WERKS&gt;W965&lt;/WERKS&gt; &lt;LGORT&gt;0001&lt;/LGORT&gt; &lt;E1EDP20 SEGMENT="1"&gt; &lt;WMENG&gt;3.000&lt;/WMENG&gt; &lt;AMENG&gt;0.000&lt;/AMENG&gt; &lt;EDATU&gt;20240520&lt;/EDATU&gt; &lt;EZEIT&gt;153123&lt;/EZEIT&gt; &lt;/E1EDP20&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;002&lt;/QUALF&gt; &lt;IDTNR&gt;ASF13R42&lt;/IDTNR&gt; &lt;/E1EDP19&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;001&lt;/QUALF&gt; &lt;IDTNR&gt;ASF3R21323&lt;/IDTNR&gt; &lt;KTEXT&gt;ADVGW WE GWE GWEG WGE&lt;/KTEXT&gt; &lt;/E1EDP19&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;003&lt;/QUALF&gt; &lt;IDTNR&gt;726839375638&lt;/IDTNR&gt; &lt;KTEXT&gt;235236&lt;/KTEXT&gt; &lt;/E1EDP19&gt; &lt;/E1EDP01&gt; &lt;E1EDP01 SEGMENT="1"&gt; &lt;POSEX&gt;1&lt;/POSEX&gt; &lt;UEPOS&gt;00021&lt;/UEPOS&gt; &lt;MATNR&gt;SADGQ23R2&lt;/MATNR&gt; &lt;E1ADDI1 SEGMENT="1"&gt; &lt;ADDIMATNR&gt;CROSSDOCK&lt;/ADDIMATNR&gt; &lt;ADDINUMBER&gt;3.000&lt;/ADDINUMBER&gt; &lt;ADDIVKME&gt;EA&lt;/ADDIVKME&gt; &lt;ADDIFM&gt;0005&lt;/ADDIFM&gt; &lt;ADDIFM_TXT&gt;SLS Pre-packing&lt;/ADDIFM_TXT&gt; &lt;/E1ADDI1&gt; &lt;E1EDPA1 SEGMENT="1"&gt; &lt;PARVW&gt;SLS&lt;/PARVW&gt; &lt;PARTN&gt;F2342&lt;/PARTN&gt; &lt;NAME1&gt;ASEGDWEG2G23G 23 T2&lt;/NAME1&gt; &lt;NAME4&gt;W621&lt;/NAME4&gt; &lt;STRAS&gt;SDG WE GWG WG &lt;/STRAS&gt; &lt;ORT01&gt;SEGSG&lt;/ORT01&gt; &lt;PSTLZ&gt;6090&lt;/PSTLZ&gt; &lt;LAND1&gt;US&lt;/LAND1&gt; &lt;SPRAS&gt;E&lt;/SPRAS&gt; &lt;REGIO&gt;WA&lt;/REGIO&gt; &lt;SPRAS_ISO&gt;EN&lt;/SPRAS_ISO&gt; &lt;/E1EDPA1&gt; &lt;E1EDP19 SEGMENT="1"&gt; &lt;QUALF&gt;017&lt;/QUALF&gt; &lt;IDTNR&gt;0001&lt;/IDTNR&gt; &lt;/E1EDP19&gt; &lt;/E1EDP01&gt;</code></pre><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;So the above payload is a single Line item as you can see&nbsp;POSEX&nbsp;00010 The 2nd record is&nbsp;POSEX 1 where&nbsp;UEPOS&nbsp;00010 and 3rd record is&nbsp;POSEX&nbsp;00011 where&nbsp;UEPOS is&nbsp;00010 and the 4th which is the last of the single line item is&nbsp;POSEX 1 where&nbsp;UEPOS is&nbsp;00011, So I'm not able to map these with EDIFACT LIN because if I MAP&nbsp;E1EDP01 Segment with SG25 where My LIN is, it will have multiple nodes created like for&nbsp;POSEX&nbsp;00010,&nbsp;POSEX 1,&nbsp;POSEX 00011 and&nbsp;POSEX 1.&nbsp;<BR />Please suggest to me the best practices how do I achieve this requirement.<BR /><BR />I want to map&nbsp;</P><P>E1EDP01/POSEX where its 00020 to LIN/1082 and&nbsp;E1EDP01/E1EDP19/IDTNR where&nbsp;E1EDP01/E1EDP19/QUALF is&nbsp;003 to LIN/C212/7140,&nbsp;E1EDP01/MENGE&nbsp;to QTY/C186/6060 and so on.<BR />So the main issue is I'm not able to map&nbsp;E1EDP01 records for this EDIFACT LIN Items.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ali_Sufiyan_1-1715764608126.png" style="width: 780px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/110764i075D69F85AF7D8A1/image-dimensions/780x303?v=v2" width="780" height="303" role="button" title="Ali_Sufiyan_1-1715764608126.png" alt="Ali_Sufiyan_1-1715764608126.png" /></span></P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ali_Sufiyan_2-1715764653464.png" style="width: 775px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/110765i3D0C3D78E3495F23/image-dimensions/775x277?v=v2" width="775" height="277" role="button" title="Ali_Sufiyan_2-1715764653464.png" alt="Ali_Sufiyan_2-1715764653464.png" /></span></P><P>&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ali_Sufiyan_3-1715764686997.png" style="width: 766px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/110766i60C4E46A76B5B9ED/image-dimensions/766x274?v=v2" width="766" height="274" role="button" title="Ali_Sufiyan_3-1715764686997.png" alt="Ali_Sufiyan_3-1715764686997.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ali_Sufiyan_4-1715764724655.png" style="width: 765px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/110767i85012985F415C8AF/image-dimensions/765x253?v=v2" width="765" height="253" role="button" title="Ali_Sufiyan_4-1715764724655.png" alt="Ali_Sufiyan_4-1715764724655.png" /></span></P><P>After Correct Mapping, this EDIFACT should look like this</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ali_Sufiyan_5-1715764794840.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/110768iD4C8F9C3A0B89C3D/image-size/medium?v=v2&amp;px=400" role="button" title="Ali_Sufiyan_5-1715764794840.png" alt="Ali_Sufiyan_5-1715764794840.png" /></span></P><P>Thanks.</P><P><BR /><BR /></P> 2024-05-15T11:20:55.558000+02:00 https://community.sap.com/t5/human-capital-management-q-a/ess-amp-mss-on-s4hana/qaq-p/13702044 ESS & MSS ON S4HANA 2024-05-15T11:58:49.863000+02:00 Ankit3393 https://community.sap.com/t5/user/viewprofilepage/user-id/1384214 <P>Hello All,<BR /><BR />Can anyone let me know how to configure ESS &amp; MSS in S4 HANA.</P> 2024-05-15T11:58:49.863000+02:00 https://community.sap.com/t5/technology-q-a/can-cpi-return-the-response-in-txt-format/qaq-p/13703006 Can CPI return the response in.txt format? 2024-05-16T06:30:32.273000+02:00 Akash https://community.sap.com/t5/user/viewprofilepage/user-id/863626 <P>Hi,</P><P>I have a requirement that when we call the CPI URL, the API should return the response in .txt file format.</P><P>is it possible or not?</P> 2024-05-16T06:30:32.273000+02:00 https://community.sap.com/t5/human-capital-management-q-a/is-there-a-known-issue-with-scripting-and-scaling/qaq-p/13703453 Is there a known issue with scripting and scaling? 2024-05-16T12:47:05.280000+02:00 ramia https://community.sap.com/t5/user/viewprofilepage/user-id/891110 <P>When I use non 100% scaling and try to get items coordinates in scripting.</P><P>Is this a known issue in SAP 770 Patch 6? (does it have a workaround/fix?)</P><P>Thanks</P> 2024-05-16T12:47:05.280000+02:00 https://community.sap.com/t5/technology-q-a/po-rest-adapter-loses-odata-attributes-when-converting-json-response-to-xml/qaq-p/13703833 PO REST adapter loses ODATA attributes when converting JSON response to XML 2024-05-16T17:42:29.937000+02:00 Wapper https://community.sap.com/t5/user/viewprofilepage/user-id/1407107 <P>Hello,</P><P>We are trying to implement a simple data query from SAP PO to a Sharepoint server via Microsoft Graph API.</P><P>It seems nowadays MS Graph API only supports json, so we need to convert json response to xml in the REST receiver channel. Json response contains ODATA elements in the beginning of the json body, we need these elements to be able to read the next page (element @odata.nextLink):</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Wapper_0-1715872998491.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/111671iE747BFFB9DEBE7BE/image-size/medium?v=v2&amp;px=400" role="button" title="Wapper_0-1715872998491.png" alt="Wapper_0-1715872998491.png" /></span></P><P>However, after conversion to XML (with wrapper element) these ODATA elements are lost:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Wapper_1-1715873314239.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/111672i6524B9812E7F65A2/image-size/medium?v=v2&amp;px=400" role="button" title="Wapper_1-1715873314239.png" alt="Wapper_1-1715873314239.png" /></span></P><P>We have tried all possible combinations of settings in the REST channel, including JSON to XML name mapping, but ODATA elements just will not be there. The only way is not to add the wrapper element in XML conversion, in this case a very strange structure will be returned, with ODATA elements but without the business data:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Wapper_2-1715873875180.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/111674i85D58E15826662FB/image-size/medium?v=v2&amp;px=400" role="button" title="Wapper_2-1715873875180.png" alt="Wapper_2-1715873875180.png" /></span></P><P>Is there any way to make conversion is such a way that both ODATA and business payload are preserved? Many thanks in advance.</P> 2024-05-16T17:42:29.937000+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/jms-dead-letter-queue-alert/qaq-p/13703872 JMS Dead Letter Queue Alert 2024-05-16T18:45:48.911000+02:00 David_Oexner https://community.sap.com/t5/user/viewprofilepage/user-id/6943 <P>Dear All,</P><P>What is the best way to alert admin when a DLQ queue is filled with some entries? Is there anyway we can move the entries to processing queue without manual intervention?</P> 2024-05-16T18:45:48.911000+02:00 https://community.sap.com/t5/technology-q-a/exception-subprocess-invalid-characters-cr-lf-in-header-stacktrace/qaq-p/13703992 Exception subprocess - Invalid characters (CR/LF) in header stacktrace 2024-05-16T22:10:55.649000+02:00 VG141 https://community.sap.com/t5/user/viewprofilepage/user-id/1452849 <P>&nbsp;</P><P>Hi, I am receiving the following error in the exception subprocess, not sure how to resolve it. Appreciate any pointers to fix this one.&nbsp;</P><P>&nbsp;</P><pre class="lia-code-sample language-javascript"><code>javax.servlet.ServletException: Error during write of the response: , cause: java.lang.IllegalArgumentException: Invalid characters (CR/LF) in header stacktrace</code></pre><P>&nbsp;</P><DIV class=""><DIV class=""><DIV class=""><DIV class=""><DIV class="">&nbsp;</DIV></DIV></DIV></DIV></DIV> 2024-05-16T22:10:55.649000+02:00 https://community.sap.com/t5/crm-and-cx-questions/tdd-test-tenant-items-purchase-for-sales-clould-and-service-cloud-v2/qaq-p/13704149 TDD test tenant items purchase for sales clould and service cloud v2 provision? 2024-05-17T04:37:16.682000+02:00 dxps https://community.sap.com/t5/user/viewprofilepage/user-id/846327 <P><FONT size="1 2 3 4 5 6 7">SAP partner for sales clould and service cloud v2 ,&nbsp;</FONT><FONT size="1 2 3 4 5 6 7">if I like to have a&nbsp;TDD test tenant,&nbsp;which of the following options for purchase is correct?<BR /><FONT color="#FF0000">option1 8004470、8014371、8014363、8008801</FONT><BR /><FONT color="#FF0000">option2 8014371、8014363、8008801</FONT></FONT><BR /><BR /><FONT size="1 2 3 4 5 6 7">Products (service)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test and demo for SAP Field Service Management - (8007134)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test and demo for SAP Secure Login Service for SAP GUI - (8016110)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test and demo for SAP Service and Asset Manager - (8005710)</FONT><BR /><FONT size="1 2 3 4 5 6 7" color="#FF0000">Cloud test, demo and development for SAP Sales and Service Cloud - (8004470)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Alert Notification service for SAP BTP - (8008816)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Application Logging service for SAP BTP, standard - (8008812)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Mobile Services - (8008809)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Portal service - (8008811)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Portal service, administrator - (8008810)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Sales and Service Cloud, dynamic visit planning add-on - (8011475)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Sales and Service Cloud, intelligent sales add-on - (8011476)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Sales and Service Cloud, service agent console - (8011477)</FONT><BR /><FONT size="1 2 3 4 5 6 7" color="#FF0000">Cloud test, demo, and development for SAP Service Cloud Version 2 - (8014371)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Service Cloud Version 2, Utilities Add-On - (8014411)</FONT></P><P><FONT size="1 2 3 4 5 6 7">Products (sales)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo and development for SAP Sales and Service Cloud - (8004470)</FONT><BR /><FONT size="1 2 3 4 5 6 7" color="#FF0000">Cloud test, demo, and development for SAP Sales Cloud Version 2 - (8014363)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Sales and Service Cloud, dynamic visit planning add-on - (8011475)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Sales and Service Cloud, intelligent sales add-on - (8011476)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Sales and Service Cloud, service agent console - (8011477)</FONT></P><P>&nbsp;</P><P><FONT size="1 2 3 4 5 6 7">Products (integration suite for ERP to CRM)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test and demo for SAP Integrated Business Planning for Supply Chain - (8004817)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test and demo for SAP Integrated Business Planning for Supply Chain (upgrade to 512 GB) - (8005266)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test and demo for SAP S/4HANA Cloud for credit integration - (8005679)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test and demo for SAP trading platform integration - (8012353)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Continuous Integration and Delivery - (8009362)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Data Privacy Integration - (8008950)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Data Privacy Integration, additional storage - (8008953)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Document Management, integration option - (8008804)</FONT><BR /><FONT size="1 2 3 4 5 6 7">Cloud test, demo, and development for SAP Integration Suite, edge integration cell, additional tenant - (8018102)</FONT><BR /><FONT size="1 2 3 4 5 6 7" color="#FF0000">Cloud test, demo, and development for SAP Integration Suite, standard edition - (8008801)</FONT></P> 2024-05-17T04:37:16.682000+02:00 https://community.sap.com/t5/technology-q-a/how-to-post-csrf-token-to-sap-standard-odata-to-perform-post-operation/qaq-p/13704638 How to post CSRF Token to SAP Standard ODATA to perform POST Operation ? 2024-05-17T11:55:29.640000+02:00 prathmesh009 https://community.sap.com/t5/user/viewprofilepage/user-id/810089 <P>Hello Experts,&nbsp;<BR /><BR />I am working on a scenario where i want to Post BATCH in SAP S4 Hana System.&nbsp;<BR />Working on POSTMAN Tool :&nbsp;<BR />&nbsp;</P><P>1. GET CSRF Token from the API and Put in the Header of Request&nbsp;</P><P>2. x-csrf-token : _______________ and Basic Auth.&nbsp;</P><P>&nbsp;</P><P>It is working fine in the POSTMAN Tool&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="prathmesh009_1-1715938790482.png" style="width: 560px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/111958i50D579CB6A8FE00B/image-dimensions/560x290?v=v2" width="560" height="290" role="button" title="prathmesh009_1-1715938790482.png" alt="prathmesh009_1-1715938790482.png" /></span></P><P>In order to make this work on SAP CPI, I developed a iflow&nbsp;<BR /><BR /></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="prathmesh009_2-1715938849770.png" style="width: 810px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/111976i5516030F134EDE65/image-dimensions/810x330?v=v2" width="810" height="330" role="button" title="prathmesh009_2-1715938849770.png" alt="prathmesh009_2-1715938849770.png" /></span></P><P>1. Hold Payload : Holds the JSON Payload&nbsp;<BR />2. XML to JSON : It converts JSON to XML for capturing the fields in XPATH<BR />3. Content Modifier : It captures Xpath&nbsp;<BR />4. Content Modifier :&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="prathmesh009_3-1715939222109.png" style="width: 555px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/111978iE431141F5A55AD82/image-dimensions/555x271?v=v2" width="555" height="271" role="button" title="prathmesh009_3-1715939222109.png" alt="prathmesh009_3-1715939222109.png" /></span></P><P>&nbsp;</P><P>5. Request Reply : It sends the GET Request to the API and gets the CSRF Token which will be later used to create POST Request.&nbsp;</P><P>6. Content Modifier : (Capture Token) In this step we can log the retrieved CSRF Token by using ${header.x-csrf-token}&nbsp;<BR /><BR />7. Request Reply : In this step i am creating a POST Request to create Batch in which it is mandatory to send csrf token in the header.&nbsp;<BR /><BR /></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="prathmesh009_4-1715939428421.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/111980i97A1803890C25330/image-size/medium?v=v2&amp;px=400" role="button" title="prathmesh009_4-1715939428421.png" alt="prathmesh009_4-1715939428421.png" /></span></P><P>But when i am deploying the iflow and test it from postman i am getting error as "403 CSRF Token Validation Failed"&nbsp;<BR /><BR />So instead of using SAP API there i replaced it with a random webhook to see that what values i am passing in the header.&nbsp;<BR /><BR />I am getting CSRF Token there in the Header value.&nbsp;<BR />But why it is not working with SAP API.&nbsp;<BR /><BR />Please elaborate your views&nbsp;<BR /><BR />Regards,&nbsp;<BR />Prathmesh Sutar<BR />prathmeshsutar.sapcpi@gmail.com</P><P>&nbsp;<BR /><BR /></P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P> 2024-05-17T11:55:29.640000+02:00 https://community.sap.com/t5/technology-q-a/edge-integration-cell-setup-with-aws/qaq-p/13704783 Edge Integration Cell Setup with AWS 2024-05-17T12:50:21.784000+02:00 HuyNguyen https://community.sap.com/t5/user/viewprofilepage/user-id/160149 <P>Hi</P><P>I setup Edge Integration Cell with AWS Kubenetest Cluster (EKS). When run ELM.exe I get issue:</P><P><FONT color="#FF0000"><STRONG>Validation Error The check for "JSON_POSIX_COMPLIANT_STORAGE_CLASSES" failed. Details No usable storage class found. Configure a storage class with a POSIX-compliant file system:</STRONG></FONT><BR /><FONT color="#FF0000"><STRONG>ext3,ext4,xfs,zfs,btrfs</STRONG></FONT><BR /><FONT color="#FF0000"><STRONG>For analysis and known fixes for failures related to "JSON_POSIX_COMPLIANT_STORAGE_CLASSES" see the Troubleshooting Guide</STRONG></FONT><BR /><FONT color="#FF0000"><STRONG>(<A href="https://help.sap.com/viewer/elm_bridge_troubleshooting/cd2c59cdb1a144d692721fe63335dc5d.html" target="_blank" rel="noopener noreferrer">https://help.sap.com/viewer/elm_bridge_troubleshooting/cd2c59cdb1a144d692721fe63335dc5d.html</A>)</STRONG></FONT></P><P><FONT color="#000000">This is my configure AWS cluster with storage class</FONT></P><P><FONT color="#000000">1/ Add on Amazone EFS CSI Driver</FONT></P><P><FONT color="#000000">2/ Storage Class&nbsp;</FONT></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HuyNguyen_0-1715942875022.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/112075i1F705C7797B8F5C0/image-size/medium?v=v2&amp;px=400" role="button" title="HuyNguyen_0-1715942875022.png" alt="HuyNguyen_0-1715942875022.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HuyNguyen_1-1715942903957.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/112076iF591D88525193940/image-size/medium?v=v2&amp;px=400" role="button" title="HuyNguyen_1-1715942903957.png" alt="HuyNguyen_1-1715942903957.png" /></span></P><P>3/ Issue here</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HuyNguyen_2-1715942954499.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/112078i5D0CBAB89B861F1F/image-size/medium?v=v2&amp;px=400" role="button" title="HuyNguyen_2-1715942954499.png" alt="HuyNguyen_2-1715942954499.png" /></span></P><P>Kindly help to fix this issue.</P><P>Thanks.</P><P>&nbsp;</P><P>&nbsp;</P> 2024-05-17T12:50:21.784000+02:00 https://community.sap.com/t5/technology-q-a/git-repository-for-sap-cpi-iflows/qaq-p/13704914 Git Repository for SAP CPI IFlows 2024-05-17T14:33:49.150000+02:00 Venn_G https://community.sap.com/t5/user/viewprofilepage/user-id/220228 <P>Hi All,</P><P>I have a requirement of backup all CPI Iflows from current production Tenant and import these backup Iflows into new CPI Production tenant in case of any Disaster recovery (new CPI tenant will be available during or after DR only).</P><P>Is there any way of doing it automatically.</P><P>Can you please provide some inputs on how to achieve it.&nbsp;</P><P>Thanks in advance,</P><P>Venn</P> 2024-05-17T14:33:49.150000+02:00 https://community.sap.com/t5/technology-q-a/unable-to-view-monitor-menu-in-integration-suit-of-btp-trial-account/qaq-p/13705383 Unable to view Monitor Menu in Integration Suit of BTP Trial account 2024-05-18T07:01:17.946000+02:00 Smita https://community.sap.com/t5/user/viewprofilepage/user-id/1389759 <P>Hello Community,</P><P>I activated Integration Suit in my BTP Trial account. Add required capabilities and Roles. But still I am unable to view Menu in my Integration Suit account. Also unable to use capabilities added in my account. Sharing the screen shot of my Integration Suit.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Smita_0-1716008318503.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/112333iC66C01CD1FF4E380/image-size/medium?v=v2&amp;px=400" role="button" title="Smita_0-1716008318503.png" alt="Smita_0-1716008318503.png" /></span></P><P>Please help, its urgent.</P><P>&nbsp;</P> 2024-05-18T07:01:17.946000+02:00