11-17-2017 7:19 AM
I want to update Valuation Type and do PGI through WS_DELIVERY_UPDATE for a outbound delivery
I try to pass below parameter to BAPI, but it always return
Valuation type is not defined for delivery item 10.
// NO enable batch management for my material.
....
LT_VBPOK-CHARG = SPACE.
LT_VBPOK-BWTAR = 'XXXXXXX'.
LT_VBPOK-KZBWT = 'X'.
....
Please advise.
11-17-2017 8:19 AM
The very first thing that you should clarify is whether the issue is in your program or if you try something (changing of valuation type) that is not possible manually in VL02N either.
From a process point of view it is not known if you have batch managed materials or just split valuated materials. It is also not known if you already completed the picking.
11-17-2017 8:47 AM
Thanks Jürgen L !
1. In VL02N, no any problem for changing of valuation type and PGI.
2. DN is incompleted the picking status with a no enable batch batch managed materials. It just split valuated material for my case.
3. WS_DELIVERY_UPDATE can make a sucess picking and PGI for my other case without valuated materials.