‎2006 Oct 10 10:53 AM
Hi Forum,
What are the structures in BAPI_SALESORDER_CHANGE that I need to populate to change the requred delivery date for all the items
and to add a new item level pricing condition?
Example code will be more helpful.
Helpful suggestions will be rewarded.
Thanks,
Jaleel
‎2006 Oct 10 11:07 AM
Hi ,
You can see the following structures to be populated for your requirement.
1.ORDER_HEADER_IN LIKE BAPISDH1 Order Header
2.set the flag nidicator for item level changes ;
using
INT_NUMBER_ASSIGNMENT LIKE BAPIFLAG-BAPIFLAG SPACE Internal Item Number Assignment
regards,
‎2006 Oct 10 11:54 AM
Hello Mohammed
In ORDER_HEADER_IN (BAPISDHD1)there is field REQ_DATE_H (desired delivery date) which is probably not what you are looking for.
In ORDERS_ITEMS_IN (BAPISDITM) there is no appropriate date field.
In <b>ORDERS_SCHEDULES_IN</b> (BAPISCHDL) there is field <b>REQ_DATE</b> which is probably the one you are looking for.
Pricing conditions have to be provided using ORDERS_CONDITIONS_IN (BAPICOND). The link between item and condition is ITM_NUMBER.
Regards
Uwe
‎2006 Oct 10 12:10 PM
I did try what ever ur saying in the above post but unfourtunately it didn't work.
Just need exactly what are the fields that i need to populate.
Can you please help with some sample code.
Thanks in advance,
Jaleel.