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

BAPI_SALESORDER_CHANGE / CREATE

Former Member
0 Likes
394

Hi All,

I have an urgent problem to solve, I need for specific reason to create or change another sales order during the creation or change of a, let me call, master sales order. This works, when I save the order A the bapi goes and create or change the sales order B. But the next issue is now that the order B has to be changed or created using a different USERID from the one who is changing the order A because of different levels of Authority.

Can anyone tell me how I can let the BAPI working as the B.I. session does, I mean with BDC_OPEN_GROUP I can specify which USERID has to be used to perform the BI session.

Is it possible using the BAPI?

Thanks a lot.

Ciao.

2 REPLIES 2
Read only

Former Member
0 Likes
350

Maybe create an RFC destination as type 3 (R/3 connection) that connects to your system (RFC_DEST=MYOWN). Enter the userid in logon details in SM59. Call the BAPI with DESTINATION 'MYOWN'....

Read only

Former Member
0 Likes
350

Thanks it worked properly !

Ciao Ciao