cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically create Purchase Order from Sales Order

Former Member
0 Kudos

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!

Accepted Solutions (0)

Answers (2)

Answers (2)

JL23
Active Contributor

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?

jpfriends079
Active Contributor
0 Kudos

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