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: 

Update Picking quantity in VL02N

Former Member
0 Kudos

Hi Guys,

Iam using the FM 'SD_DELIVERY_UPDATE_PICKING' to update the Picking quantities. It is updating the quantities but not the storage location(LGORT) value.

Can aynone throw some light for acheiving the same..i wanted to update the value for the Storage location along with the Picking quantity.

Regards,

Kittu.

8 REPLIES 8

Former Member
0 Kudos

Try passing the storage location in the table VBPOK_TAB.

0 Kudos

Hi mark,

Iam passing the value for the Storage location and Picking.

The picking quantity is getting updated where as the Storage location value is not getting populated in VL02N.

Regards,

Kittu.

Former Member
0 Kudos

Use below FM :

Clear : i_prot.

refresh : i_prot.

  • Delivery Update

CALL FUNCTION 'LE_MOB_DELIVERY_UPDATE'

EXPORTING

do_commit = 'X'

TABLES

t_delivery_items = i_lips

prot = i_prot

EXCEPTIONS

conversion_overflow = 1

essential_data_missing = 2

error = 3

nothing_to_update = 4

lock_after_update_failed = 5

error_in_delivery_update = 6

OTHERS = 7.

COMMIT WORK.

Pass lips-lgort..

<REMOVED BY MODERATOR>

Thanks

Seshu

Edited by: Alvaro Tejada Galindo on Aug 8, 2008 4:51 PM

0 Kudos

Hi Seshu,

can u tell me what are all the fields which we need to pass in i_lips structure.

Regards,

Kittu.

0 Kudos

You need to pass delivery number,item number,qty and Storage Location.

declare Internal table like

i_lips like lips occurs 0 with header line.

and populate the data into i_lips.

Thanks

Seshu

Former Member
0 Kudos

LE_MOB_DELIVERY_UPDATE is also only update quantity

0 Kudos

Hi

Did you get the way to update the storage location on a delivery item?

Using WS_DELIVERY_UPDATE I can update the picking qty, but always add the new picking qty to the actual picking qty.

I mean:

- Actual Picking Qty=1

- New Picking Qty= 1

- Result Picking Qty = 2

Any idea of how to overwrite the pickuing qty?

Thanks in advance

0 Kudos

Hi Gerardo

I appreciate if you can share how did you get this resolved.

Thanks in advance!