Skip to Content
avatar image
Former Member

Doc flow update for a return PO created

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 23, 2014 at 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


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.