cancel
Showing results for 
Search instead for 
Did you mean: 

How to get sales order - item from an PP/DS production order

Former Member
0 Kudos

I have a production orders list and I need to complete this with data from the sales order - item that orders supply to.

Do you know having an order id (22 chars) or order number (12 chars) how to get its sales order - item?

Our production scenario is "Make to Order"

Best regards.

Accepted Solutions (1)

Accepted Solutions (1)

somnath_manna
Active Contributor
0 Kudos

I am assuming you have a 22 digit GUID of the Sales Order or 12 digit Sales Order no.

Pass the 22 digit GUID as GUID, MATID as Product and LOCID as Location fields in the table /SAPAPO/ORDADM_I. You can pass the GUID to table /SAPAPO/SD_DOC to get the values of Material Group, Ship-To Party, Sold-To Party and Transportation Zone.

But ideally youo should be able to use BAPI_SLSRVAPS_GETLIST2 to extract Sales Order relevant data.

Hope this helps.

somnath

Answers (0)