2009 Jan 08 7:40 AM
Hi,
While creating Sales Order using BAPI BAPI_SALESORDER_CREATEFROMDAT2 process end successfully, but the Confirmed quantity field in Scheduled line remains 0;
I guess BAPI bypassing the Availability check; because if I craete the same manually(VA01) "Confirmed quantity" field filed up automatically.
Please help.
Hi,
While creating Sales Order using BAPI BAPI_SALESORDER_CREATEFROMDAT2 process end successfully, but the Confirmed quantity field in Scheduled line remains 0;
I guess BAPI bypassing the Availability check; because if I craete the same manually(VA01) "Confirmed quantity" field filed up automatically.
Please help.
2009 Jan 08 7:47 AM
Hi,
Please check this link will help you
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bapi_salesorder_createfromdat2-225875
If this link is not supported then please delete it.
Cheers.
2009 Jan 08 8:39 AM
Hi,
did you fill correctly the the schedules/schedulesx structures?
You have to populate the field itm_number with the position also in the X structure.
Bye
Andrea
2009 Jan 08 9:59 PM
in Scheduled line structure, i filled item number and required quantity field and also set "X" in the corresponding fields of Scheduled lineX structure.
I am passing the following fields:-
order_header_in --> Sales Org, Dist. Chan, Division.
order_items_in --> item no., Material, target_qty, Sales unit.
order_partners --> Sold-to and Ship-to
order_schedules_in --> itm no., req_quantity
order_schedules_inx --> X in above fields.
Please note, sales order is creating successfully with all the pricing calculation, but if we check the "Confirmed quantity" field in Scheduled line (VA01), value remains 0.
2009 Jan 08 10:02 PM
2009 Jan 08 8:51 AM
Hi,
U have to fill the structure schedulesx . The fields which u want to update u have to make them 'X' in the structure i sspecified..
Regards,
Nagaraj
2009 Jan 08 10:01 PM
I did but problem remains... Could you please try this out in your system and check whether it is populating the confirmed qty field or not.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |