Skip to Content
avatar image
Former Member

Automatically create Purchase Order from Sales Order

Hi Guys,

I would like to know the User Exit/BADI Name that

creates a Purchase Order automatically through IDOC at the time of

saving a sales order. This requirement is very urgent from client perspective.
When I am trying to save a sales order an IDOC automatically gets generated [as per configuration] but fails to create a PO. Please help!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 09, 2017 at 05:44 AM

    Is this something that has been in use for some time already or is this something new that you try to setup?

    In any case, if an Idoc fails when posting then it has some hints for a user: the error messages that are captured in the IDoc status.

    What errors do you have?

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 09, 2017 at 02:36 AM

    In SAP SD, we have a standard configuration to create Purchase Requestion on saving the sales order (not PO), provided the PR is created in the same client/system.

    Generally, FM BAPI_PO_CREATE1 is used for the creation of a PO.

    Moreover, I like to understand whether you are trying created PO in the same system or different system.

    Thanks, JP

    Add comment
    10|10000 characters needed characters exceeded