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 can i update the delivery quantity??

Former Member

Hello all,

I have to update the delivery quantity (LFIMG) with the picked quantity (NISTA), but I don't know which module function I have to use. I am trying with WS_DELIVERY_UPDATE but I don't wich field I have to complete. If anybody knows how..

Thanks, Alejandro

1 ACCEPTED SOLUTION

former_member181962
Active Contributor
0 Kudos

Pass the quantity to the field: LFIMG of the tables parameter: VBPOK_TAB.

Regards,

Ravi

3 REPLIES 3

Former Member
0 Kudos

Hi ,

Use this.

fILL STRUCTUTRE ivbkok(header ) and ivbpok ( items )

PROT would be log information .

CALL FUNCTION 'WS_DELIVERY_UPDATE'

EXPORTING

VBKOK_WA = IVBKOK

COMMIT = DO_COMMIT

SYNCHRON = CON_X

DELIVERY = T_DELIVERY_ITEMS-VBELN

TABLES

VBPOK_TAB = IVBPOK

PROT = prot

EXCEPTIONS

ERROR_MESSAGE = 99.

Please reward if useful.

former_member181962
Active Contributor
0 Kudos

Pass the quantity to the field: LFIMG of the tables parameter: VBPOK_TAB.

Regards,

Ravi

Former Member
0 Kudos

Thank you very much, it was solved the problem.