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: 

How to use WS_DELIVERY_UPDATE to update Valuation Type for outbound delivery?

former_member1137458
Participant
0 Kudos

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.

2 REPLIES 2

JL23
Active Contributor
0 Kudos

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.

0 Kudos

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.