Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

bapi_salesorder_change

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

can anyone help me in the issue

7 REPLIES 7

Former Member
0 Kudos

can anyone help me in the issue

0 Kudos

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

0 Kudos

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

0 Kudos

But you can see it updated in the actual sales order? When you start VA02/03 I mean.

0 Kudos

sorry i am npt able to see the updated values in va02 or va03

0 Kudos

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

Former Member
0 Kudos

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