problem on updating item data reason for rejection on BAPI_SALESORDER_CHANGE
I am trying to create a report to update sales order item data reason for rejection by using BAPI_SALESORDER_CHANGE but i am testing this BAPI in se37
i am passing : Sales document no : XXXXXXX
Order_Header_inx : U
Order_item_in : item no : 010 ,
reason for rejection : 02
Order_item_inX : item no : 010 ,
update : U
reason for rejection : X
i got some Erroer Messages :
S V4 233 ORDER_HEADER_IN has been processed successfully
E V1 366 Storage location 0004 in plant 0920 is not defined
E V4 248 Error in ITEM_IN 000010
W V1 555 The sales document is not yet complete: Edit data
E V4 219 Sales document 0060003706 was not changed
Request your suggestions to avoid this error.
Stéphane Bailleul replied
I agree with Rick this is not a workflow issue.
Your issue is a config issue as Tajs says Storage location is not defined for this plant.
However I think that the document is not complete because of this error (but I am not sure)
Please close this discussion open it either in an SD forum or ABAP (SD can help you resolve the functional issue)