on 2023 Oct 09 12:17 AM
I'm trying to partially confirm an item using FM /SCWM/TO_CONFIRM. I have this error:
<em><strong>Either enter quantity or confirm target = actual</strong></em><br>
<strong>LS_CONF-TANUM = 'VALUE'.
LS_CONF-PAPOS = '0001'.
LS_CONF-SQUIT = 'X'.
LS_CONF-NISTA = '300.00000000000000'.
LS_CONF-ALTME = 'KG'.
LS_CONF-WDATU = '20230921223356'.
LS_CONF-VLENR = '0010000000000000857'.
LS_CONF-NLPLA = 'PICK_POINT'.
LS_CONF-NLENR = '00100000000000000590'.</strong><b><br></b>
CALL FUNCTION '/SCWM/TO_INIT_NEW'
EXPORTING
iv_lgnum = 'ABC'. " Lagernummer/Lagerkomplex
CALL FUNCTION '/SCWM/TO_CONFIRM'
EXPORTING
iv_lgnum = 'ABC'
iv_qname = sy-uname
iv_update_task = abap_true
iv_commit_work = abap_true
it_conf = lt_conf
it_conf_exc = lt_conf_exc
IMPORTING
et_ltap_vb = lt_ltap
et_bapiret = lt_bapiret
ev_severity = lv_severity
ev_ser_err = lv_ser_err.
PS: I tried with SQUIT empty.
Please Can you help me?
Request clarification before answering.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.