Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Creating SO Automatically

Former Member
0 Likes
582

Hi,

I got a requirement that is

Whenever the user is creating a PO (Some type) it should create SO for another plant which is existing in same client system .

It should not be a BDC . It should be authomatic Creation not Scheduled also.

Please,Suggest me the Ways.

Thanks & Regards,

Nandha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
562

Hi Nandha,

It is possible ,You need to write the code under user exit MM06E005 - FM would be EXIT_SAPMM06E_012 -> This FM Will trigger when ever save po.

In this FM .Call BAPI Sales order FM

Thanks

Seshu

4 REPLIES 4
Read only

Former Member
0 Likes
562

Hi

You can use a BAPI for SO creation

BAPI_SALESORDER_CREATEFROMDAT2

when a PO uis created..

Reward points for useful Answers

Regards

Anji

Read only

Former Member
0 Likes
563

Hi Nandha,

It is possible ,You need to write the code under user exit MM06E005 - FM would be EXIT_SAPMM06E_012 -> This FM Will trigger when ever save po.

In this FM .Call BAPI Sales order FM

Thanks

Seshu

Read only

Former Member
0 Likes
562

Dear Nandha ,

I m also same requirement and i guess u can help me with this ...

Please guide me as to how u completed this requirement

Which userexit in me21n did u use ??? M looking for a userexit that gets fire after the PO is commited

Read only

Former Member
0 Likes
562

my emial id is more.rachana@gmail.com ... Do mail