Application Development and Automation 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: 
Read only

Function Module WS_DELIVERY_UPDATe

Former Member
0 Likes
1,173

Hi All,

We are using a function module ws_delivery_update to delete the delivery.

In 4.6 this function module is first used to delete the line item of delivery first and then this function module deletes the entire delivery from the database.

However in ECC6 this function module is not behaving in the same way.

Please let me know if there is any note available for the same.

This is how F.M. is being used:

CALL FUNCTION 'WS_DELIVERY_UPDATE'

EXPORTING

vbkok_wa = ls_vbkok_wa

synchron = 'X'

commit = 'X'

delivery = pd_vbeln

  • if_error_messages_send = ' ' " $01_upg

if_error_messages_send_0 = ' ' " $01_upg

TABLES

vbpok_tab = lt_vbpok.

ls_vbkok_wa is blank.

pd_vbeln is delivery number

lt_vbpok has one entry in which delivery no. , item no. and lips_del = 'X' is filled.

Thanks and Regards,

aman

2 REPLIES 2
Read only

former_member209217
Active Contributor
0 Likes
608

Hi,

Have a look at the documentation for the FM

Changes in supply

With this function module delivery are subject to change. The device can perform updates from picking on Kommissionierbelegflüsse (volumes & weights) when sitting UPDATE_PICKING parameters and quantities, weight and volume updates without Kommissionierflüsse if UPDATE_PICKING sits on SPACE. In this case, there is only one Einmalrückmeldung at any position. In VBPOK and VBKOK there are control parameters do, what changes will be implemented. Kommimengenänderungen are always in base unit number, quantity changes are always conducted in unit sales volume of the delivery position.

When not working on Kommissionierrückmeldung, all information must be given to a delivery position in the call, subsets and weight returns are not possible.

In the case of batches can be returned several records with different batches of VBPOK-POSNR_VL. The fields in the Include VBPOKKOMMI within the structure VBPOK) are only for the case of Kommissionierrückmeldung with the use of Kommissionierbelegflüssen relevant (eg WM transfer order confirmation.

The caller must evaluate both the log table PROT as well as the EXCEPTIONS OTHERS ERROR_MESSAHE and intercept.

Regards,

Lakshman.

Read only

former_member209217
Active Contributor
0 Likes
608

Hi,

Some enhancement is removed in ECC6.

Have a look at this note.

Note 334794 - DELU via new function module

Regards,

Lakshman.