Skip to Content
avatar image
Former Member

bapi for PO creation and assign SO to it

Hi ,

I am looking for a bapi which will create a Purchase Order from Purchase Requisition and assign a Sales Order to it during creation.

Thanks,

Mani.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 18, 2011 at 11:23 AM

    Dear Mani,

    Use this BAPI to create PO with reference to PR

    BAPI_PO_CREATE1

    create sales order with reference to PO

    BAPI_SALESORDER_CREATEFROMDAT1

    check and revert

    Regards

    Ram

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 25, 2011 at 05:40 AM

    Hello,

    The best way is to design a new BAPI (Z) and call the standard BAPI, BAPI_PO_CREATE1 for creating a PO, after commit, call ME22N, change PO and add the sales order in the account assignment tab. Tell you requirement to an ABAP expert, he will guide you.

    Regards,

    SAM

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 18, 2011 at 10:29 AM

    The standard process is that you should configure the sales order as Third party sales order (or Inter company SO-PO process whatever is the requirement here) then Purchase requisition will be created automatically when the sales order is saved. You can then create PO with reference to the Pur.req. The item category TAS is configured in standard SAP for Third party / inter company processing requiring SO - PO process.

    A PO in a third party/inter company SO-PO process is linked to SO through Purchase requisition and the linkage happens at item level because a single sales order can have both PO related items and items that are directly delivered and billed.

    You can refer these links

    how to configure third party order ?

    http://sapsdforum.com/2007/10/23/third-party-order-processing/

    Add comment
    10|10000 characters needed characters exceeded