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 BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
582

Hi all together.

I try to create a sales order in reference to a other sales order with the BAPI BAPI_SALESORDER_CREATEFROMDAT2. This works fine.

But, I have the feeling, that the copy control from customizing (Sales order type to sales order type) is not used during creation of the sales order.

If I create the order in reference to the other with transaction va01 the copy control is used.

Could it be that the BADI is not using the copy control?

Best regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
379

Look at Logic Switch flags passed to the BAPI may be using a suitable

value here would help.

In copy control these flags can be seen in VTAA. Also the suitable value

should be available from TVCPA table.

1 REPLY 1
Read only

Former Member
0 Likes
380

Look at Logic Switch flags passed to the BAPI may be using a suitable

value here would help.

In copy control these flags can be seen in VTAA. Also the suitable value

should be available from TVCPA table.