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

How perform 'Copy control ' when call bapi 'BAPI_SALESORDER_CREATEFROMDAT2'

Former Member
0 Likes
1,291

I create a sales order reference another one,by call bapi 'BAPI_SALESORDER_CREATEFROMDAT2'.

But when the new sales order created,i found many field not copy from the previous sales order .I analysis the reason is that the bapi not perform the copy control.

Then i kooking for some document,it seems the BAPI parameter 'LOGIC_SWITCH' can control it.But i set the PRICING = 'G' COND_HANDL = 'X'. it's no work also.

Can you help me?

Edited by: Xiaoguang Yang on Mar 24, 2009 8:37 PM

Edited by: Xiaoguang Yang on Mar 24, 2009 8:38 PM

1 REPLY 1
Read only

boehmmic
Newcomer
0 Likes
643

Try use BADI_SD_SALES , se 19 , make new implementation.

it is for sap only use , but it works well for us, we had similar problems, because BAPI_SALESORDER_CREATEFROMDAT2 does not give possibility to fill all fields we need.

lg