12-23-2014 6:50 AM
Hello,
I have a requirement, where I have to create a Purchase order from a return Sales order. This PO must be updated in the document flow of the sales order.
I am currently using BAPI_PO_CREATE1 (Called from MV45AFZZ), the PO is getting generated, but the doc flow isn't. Have used FM SD_DOCUMENT_FLOW_MAINTAIN, but it isn't working. Please suggest a way out.
Thanks.
12-23-2014 10:35 AM
Are you filling the REF_DOC REF_ITEM with SO Number and SO item number in BAPIMEPOITEM when you are creating the PO from that BAPI ?
If not , fill those for each line and check
12-23-2014 10:50 AM
Thanks for the reply, yes I tried passing the values of REF_DOC and REF_ITEM to POITEM and POITEMX, but it's not working.