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

Problem with BOM Quant while creating Sales order with reference using BAPI

Former Member
0 Likes
392

Dear All,

I am facing problem with creating a slaes order with reference to other sales order by using BAPI_SALESORDER_CREATEFROMDAT2 .

Sales order is getting created but

1. It exploding the BOM means the line items which are not there in the reference SO also coming in the new SO ( all BOM items are coming )

2. Schedule line for BOM header item is getting copied to all sub items of BOM.

Can any one help me out to prevent the above deviations in creating Sales order with reference by using BAPI_SALESORDER_CREATEFROMDAT2.

Note: while passing the parameters to BAPI_SALESORDER_CREATEFROMDAT2

all the data related to items is exactly the same as in the original Sales Order.

Thanks in advnace.

Regards,

John

1 REPLY 1
Read only

Former Member
0 Likes
293

Hi All,

Can any one help me !!!!!!!!!!

please