cancel
Showing results for 
Search instead for 
Did you mean: 

BYD2502 Need to upload the PO Acknowledgement via API

SAPSupport
Employee
Employee
0 Kudos
59

 

Hi SAP,

Need to upload the PO acknowledgement via API to the system. But there is no standard API available in the system. Can you please suggest how to process it via API. Please do the needful asap. Don't reduce the priority.



------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Kudos

Dear Customer, 

As discussed on the call, we will not be able to guide you to set up the entire communication arrangement and SOAP UI settings on how to execute. This is a pure consulting issue. 

However I am still happy to help you and share few information on PO Acknowledgement. 

You can use Web services for cross-system communication. Web services are Web-based application programming interfaces (APIs) that allow you to access and modify data in SAP Cloud solutions.

You can use Communication Scenario "Purchase Order Integration" for PO Acknowledgement. A communication system represents an external system which is used for application integration. Before you can use a communication system in an application integration scenario, you need to create a communication arrangement.  For more details regarding communication system, you can refer to help document  - https://help.sap.com/docs/SAP_BUSINESS_BYDESIGN/2754875d2d2a403f95e58a41a9c7d6de/2dd3c6f8722d1014881...

Once the set up is done, you can go to API webpage - https://api.sap.com/api/PSM_ISI_R__SRMAP_II_LPURX_POP_PCO_IB/overview

You can select Manage Purchase Order Confirmation. This interface creates a purchase order acknowledgement based on acceptance or rejection of the requested products, quantities, and delivery period. 

Attributes:

Business object - Purchase Order Acknowledgment
Operations (Technical name) - Create purchase order confirmation (CreatePurchaseOrderConfirmation)
Predefined communication scenarios - Purchase Order Processing - Manage Purchase Order Confirmation
Process component (Application component) - Purchase Order Processing (AP-POP)
Technical name - PurchaseOrderProcessingOrderingIn

From API specification, you can download the WSDL file. 

If you go to API reference and Click on View Details, system will show the input parameters.

If you go to Documents tab and click on Business Documentation. This will open the help document for Inbound Service Manage Purchase Order Confirmation.

Here by you can find the sample Payload to Create Purchase Order Confirmation:

Create Request

<?xml version="1.0"?>
<n0:PurchaseOrderConfirmation xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
 <MessageHeader/>
 <PurchaseOrder reconciliationPeriodCounterValue="1">
  <ID>Token</ID>
  <SellerID>Token</SellerID>
  <Name languageCode="EN">Token</Name>
  <BuyerParty>
   <BuyerID>token</BuyerID>
   <SellerID>token</SellerID>
   <TypeCode>159</TypeCode>
  </BuyerParty>
  <SellerParty>
   <BuyerID>token</BuyerID>
   <SellerID>token</SellerID>
   <TypeCode>154</TypeCode>
  </SellerParty>
  <DeliveryTerms>
   <Incoterms>
    <ClassificationCode>Token</ClassificationCode>
    <TransferLocationName>String 1340</TransferLocationName>
   </Incoterms>
  </DeliveryTerms>
  <CashDiscountTerms>
   <Code>Token</Code>
   <FullPaymentDueDaysValue>999</FullPaymentDueDaysValue>
  </CashDiscountTerms>
  <Item>
   <ID>Token</ID>
   <SellerID>Token</SellerID>
   <AcceptanceStatusCode>AP</AcceptanceStatusCode>
   <Product>
    <BuyerID>Token</BuyerID>
    <SellerID>Token</SellerID>
   </Product>
   <ConfirmedPrice>
    <NetUnitPrice>
     <Amount currencyCode="EUR">50.0</Amount>
     <BaseQuantity unitCode="EA">1.0</BaseQuantity>
     <BaseQuantityTypeCode>EA</BaseQuantityTypeCode>
    </NetUnitPrice>
   </ConfirmedPrice>
   <ConfirmedScheduleLine>
    <SellerID>Token</SellerID>
    <DeliveryPeriod>
     <StartDateTime timeZoneCode="CET">2016-10-27T04:10:35Z</StartDateTime>
     <EndDateTime timeZoneCode="CET">2016-10-27T04:10:35Z</EndDateTime>
    </DeliveryPeriod>
    <Quantity unitCode="EA">10.0</Quantity>
   </ConfirmedScheduleLine>
  </Item>
 </PurchaseOrder>
</n0:PurchaseOrderConfirmation>

Refer to knowledge base documents pasted below; 

https://me.sap.com/notes/3463210

https://me.sap.com/notes/3354466

https://me.sap.com/notes/2765462

https://me.sap.com/notes/3574323

Hence closing this case with the above details. 

Best Regards,
Arun

Answers (0)