cancel
Showing results for 
Search instead for 
Did you mean: 

WM : TO confirm for overpicking

former_member452749
Participant
0 Kudos

Hi all,

i have used the function module L_TO_CONFIRM to confirm single line item of LTAP table with the same quantity and this works correctly (for example <fs_item>-nista = 5):

SELECT SINGLE * FROM ltap INTO @DATA(ls_ltap)
WHERE lgnum EQ @ip_lgnum AND tanum EQ @ip_tanum.
IF sy-subrc EQ 0.
APPEND INITIAL LINE TO lt_ltap_conf ASSIGNING FIELD-SYMBOL(<fs_item>).
IF <fs_item> IS ASSIGNED.
MOVE-CORRESPONDING ls_ltap TO <fs_item>.
<fs_item>-nista = ls_ltap-vsolm.
ENDIF.
ENDIF.

CALL FUNCTION 'L_TO_CONFIRM'
EXPORTING
i_lgnum = ip_lgnum
i_tanum = ip_tanum
i_commit_work = 'X'
TABLES
t_ltap_conf = lt_ltap_conf
t_ltap_conf_hu = it_ltap_conf_hu

I would need to know how to set table parameter "T_LTAP_CONF" in order to confirm TO with overpicking (picked quantity > delivery quantity).

Is it correct to set parameter in the following way o i have to set other options?

delivery quantity = 5

<fs_item>-nista = 7

<fs_item>-ndifa = -2

Thanks in advance.

Regards.

Dario.

Accepted Solutions (0)

Answers (0)