Skip to Content
0

Automatically create Purchase Order from Sales Order

Feb 02, 2017 at 07:54 AM

125

avatar image

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!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jürgen L
Mar 09, 2017 at 05:44 AM
1

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?

Share
10 |10000 characters needed characters left characters exceeded
Jyoti Prakash
Mar 09, 2017 at 02:36 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded