on 06-22-2019 1:44 PM
Hello Community,
i'm struggling trying to make the purchase order create SOAP API work (https://api.sap.com/api/MMPUR_PURCHASEORDERREQUEST_IN/). I've succeeded with the oData API but we need to simulate all the POs before Commiting to SAP. I checked all the mandatory data for a PO is passed but i'm not getting any response when testing in Postman/SOAPUI
Here is my payload if you guys can Help:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<ns0:PurchaseOrderRequest xmlns:ns0="http://sap.com/xi/Procurement">
<MessageHeader>
<CreationDateTime>2019-06-21T11:19:28Z</CreationDateTime>
<TestDataIndicator>true</TestDataIndicator>
<SenderBusinessSystemID>Sage</SenderBusinessSystemID>
</MessageHeader>
<PurchaseOrder>
<ActionCode>1</ActionCode>
<DocumentType>NB</DocumentType>
<PurchaseOrderExternalReferenceID>15987</PurchaseOrderExternalReferenceID>
<PurchasingOrganization>2000</PurchasingOrganization>
<PurchasingGroup>001</PurchasingGroup>
<CompanyCode>FL01</CompanyCode>
<DocumentCurrency>EUR</DocumentCurrency>
<SupplierParty>
<Supplier>0010000448</Supplier>
</SupplierParty>
<PurchaseOrderItem>
<PurchaseOrderItemExternalRefID>10</PurchaseOrderItemExternalRefID>
<ItemDescription>Item Text</ItemDescription>
<Material>100204</Material>
<Plant>1000</Plant>
<RequestedQuantity unitCode="ROL">15</RequestedQuantity>
<DeliveryDate>2019-06-21</DeliveryDate>
<ItemPrice>
<Amount currencyCode="EUR">12</Amount>
<BaseQuantity unitCode="ROL">1</BaseQuantity>
</ItemPrice>
<AccountAssignment>
<AccountAssignmentCategory>K</AccountAssignmentCategory>
<AccountAssignmentLine>
<ControllingArea>A010</ControllingArea>
<Plant>1010</Plant>
<CostCenter>CFR01ERG10</CostCenter>
<GLAccount>0060200000</GLAccount>
</AccountAssignmentLine>
</AccountAssignment>
</PurchaseOrderItem>
</PurchaseOrder>
</ns0:PurchaseOrderRequest>
</soapenv:Body>
</soapenv:Envelope>
Thank you
Hi Sammy,
Did you make any progress with this? I'm experiencing the same issue so would love to know how you succeeded.
Many Thanks
Nad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Have you checked if there are messages in the app Message Dashboard? First you need to use Assign Recipients app to assign yourself to /MMPUR namespace for the inbound service but hopefully you can see your success (or errors) in this app.
Thanks,
Marty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samy, as SOAP API is working with un-sync mode that means the PO creation status will not be sent back, there is only a status code can be found, code 202 means the request was accepted by S4HC system, may I know your code in the test case?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Is the issue resolved now? Do you think the information provided by Edmin is helpful?
BR,
Ivy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here are some SAP resources you may review based on your topic "community,simulate,purchase order"
Customer Influence Update (April 2019)
Apr 8, 2019 ... Community. / Content ... Restricting the ability to create a service purchase order without reference to a contract or req. ? A field in the ... Advanced Variant Configuration - Add Product description into Simulate Configuration.
2377246 - Successfactors LMS Glossary Terms
In order to use an external exam in an online component, typically, external .... Typical examples might include Classroom, In-Plant Location, Simulator, or Auditorium. .... A system-generated unique number for each purchase in the system.
https://apps.support.sap.com/sap/support/knowledge/public/en/2377246
Data Management Guide for SAP Business Suite
4.2.14 EKKO, EKPO, EKBE, EKKN: Purchase Order Items .... Simulate different data volume scenarios (for example, moderate versus ... ilm@sap.com, or visit us on the Web at http://scn.sap.com/community/information-lifecycle-management.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here are some SAP resources you may review based on your topic "community,simulate,purchase order"
Customer Influence Update (April 2019)
Apr 8, 2019 ... Community. / Content ... Restricting the ability to create a service purchase order without reference to a contract or req. ? A field in the ... Advanced Variant Configuration - Add Product description into Simulate Configuration.
2377246 - Successfactors LMS Glossary Terms
In order to use an external exam in an online component, typically, external .... Typical examples might include Classroom, In-Plant Location, Simulator, or Auditorium. .... A system-generated unique number for each purchase in the system.
https://apps.support.sap.com/sap/support/knowledge/public/en/2377246
Data Management Guide for SAP Business Suite
4.2.14 EKKO, EKPO, EKBE, EKKN: Purchase Order Items .... Simulate different data volume scenarios (for example, moderate versus ... ilm@sap.com, or visit us on the Web at http://scn.sap.com/community/information-lifecycle-management.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.