cancel
Showing results for 
Search instead for 
Did you mean: 

SDK: How to make procurement documents

former_member272979
Participant
0 Kudos

I’m currently using the SDK to make a PO procurement from SO. I know how to read line items from an SO and make it as a PO with the SDK. However, what I’m trying to figure out after I add the line items from SO to PO, how do I flag the line items in SO that was used for PO for procurement?

To help you better understand, I attached a SO document I used for the procurement wizard. Note on row 1 & 3, there is a procurement column with values. I’m trying to do something like that with the SDK. Can you advise what required to do something like this?

Regards,

William

Accepted Solutions (0)

Answers (1)

Answers (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi William,

Check whether the following link will help or not?

Creating Purchase Order Using Procurement Confirmation Wizard

What I am suggesting, once the PO is created using Procurement Confirmation Wizard, try to get the Purchase Order details and update the Sales Order based on the received data from PO.

Make me correct, if I am getting it wrong.

Kind regards,

ANKIT CHAUHAN

SAP SME Support

former_member272979
Participant
0 Kudos

Hi Ankit,

What I'm doing is a little diffrent. On the SO, I will have UDF to enter a Vendor Card Code. After when the user enter line items with the Vendor Card Code on SO, they will click on a button to create an PO. I would group the line items for each Vendor Card Code and make a PO. This logic I have working.

What I want to do when I create the PO, I want to reference the Procurement Ref number in SO similar how it done if the user did use the Procurement Wizard. Adding a Procurement Ref number in SO I don't know how to do. I wondering if the logic is similar how you can reference line items from one document to another using BaseEntry and BaseLine with the SDK?

Regards,

William