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

Problems creating Sales Orders using BAPI_SALESORDER_CREATEFROMDAT2 !!

Former Member
0 Likes
346

Hi All:

I'm having problems when creating sales orders using BAPI_SALESORDER_CREATEFROMDAT2 with reference to contract.

I'm able to create the SO but the items in the Contract are not transferred to the SO.

Any help is appreciated.

Thanks

Venkat

2 REPLIES 2
Read only

daniel_carvalho
Active Contributor
0 Likes
328

Hello Venkat,

As I know, the BAPIs did not consider data from the previous documents, like you explained, the contracts. You should select the information from the Contract tables and then you should map them into the corresponding fields of this function module.

I hope it helps you.

Regards,

Daniel

Read only

0 Likes
328

Thanks Daniel, but the problem is I'm only getting contract number and we need to create a SO using this number as reference.

Thanks

Venkat