01-28-2010 12:57 PM
Hi all,
for one of the requirement i am testing bapi_salesorder_change i need to fill the storage location value which is coming from some other program. after executing bapi i am getting a message as ITEM_IN are processed sucessfuly and sales order is saved after that i am excuting bapi_trasaction_commit but i am not getting the value of the storage location updated in vbap .
can anyone suggest me the solution.
01-28-2010 1:27 PM
01-28-2010 1:27 PM
01-28-2010 1:38 PM
Hi,
Maybe a stupid question, but are you sure you are setting the ITEM_INX table right? Update flag as "U" for updating and the "X" flag for STORE_LOC?
I just tried it out, and seems to work fine...
T00th
01-28-2010 2:45 PM
yeah i did set the flag as U and storage location as X but still i am not able to see the updated value in vbap
01-28-2010 8:27 PM
But you can see it updated in the actual sales order? When you start VA02/03 I mean.
01-29-2010 4:10 AM
01-30-2010 6:47 PM
Hi,
then I guess your function call is wrong...apparently the values aren't being set in the tables right.
Maybe you could set a breakpoint at the line where you call your BAPI with the parameters, and check if the tables are filled correctly...
T00th
01-28-2010 1:39 PM
just check LGORT is retrived or not.
gt_item_in TYPE TABLE OF bapisditm,
in bapi_salesordr_change
pass gt_item_in to order_item_in under TABLES
hope it works