读书人

How to change storage location in i

发布时间: 2012-10-06 17:34:01 作者: rapoo

How to change storage location in inbound delivery use bapi?

The paramater ITEM_DATA for bapi_inb_delivery_change has not a field named lgort.
so we use BADI SMOD_V50B0001, in this BADI has a method EXIT_SAPLV50I_009, use to change data in likp and lips.

So if you want to change the lgort or werks in the lips, you need to do below steps:
1/ you need to pass the value by extension1 to the BAPI, and get it in EXIT_SAPLV50I_009,
2/ set the lgort or werks in ct_vbpok accounting to extention1,
3/ set the filed kzlgo and xwmpp with 'X'.

it's all you need to do.

读书人网 >行业软件

热点推荐