Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 17, 2017 at 08: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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.