‎2008 Oct 06 6:17 PM
Hi all,
I am adding one condition type using BAPI_SALESORDER_CHANGE.
It is notworking as expected. Sometime it is working and sometimes not.
Please let me know. Is there any reason
Thank you,
Varma
‎2008 Oct 06 6:34 PM
hey,
we use that BAPI to create a new line item. You enter the details of the material in the table ORDER_ITEM_IN and set the item number of the new line item in the ITM_NUMBER and the update flag as "I" (for insert) in ORDER_ITEM_INX.
The "U" (for update) needs to set in the ORDER_HEADER_INX so that the entire document gets updated.
In addition, make sure you have a look at the SAP Note 1079521.
Regards,
Midhun Abraham
‎2008 Oct 06 6:34 PM
hey,
we use that BAPI to create a new line item. You enter the details of the material in the table ORDER_ITEM_IN and set the item number of the new line item in the ITM_NUMBER and the update flag as "I" (for insert) in ORDER_ITEM_INX.
The "U" (for update) needs to set in the ORDER_HEADER_INX so that the entire document gets updated.
In addition, make sure you have a look at the SAP Note 1079521.
Regards,
Midhun Abraham
‎2008 Oct 06 10:21 PM
It's like telling a doctor that "something hurts sometimes"... There could be thousand and one reason. Could you be more specific?
Look at the messages that are returned by BAPI in the RETURN table, most likely an explanation will be there. Locking errors are the most common, in my experience.