Documente Academic
Documente Profesional
Documente Cultură
STO
Ensure than in your delivery item category (0VLP) the control "Availabiliy check Off" is blank and
the control "Check quantity 0" is B. Also ensure that the control for avalability check is as per
your business requirement.
You need to create error message if user create delivery PO STO and entered delivery
quantity more than quantity in PO STO using VL10D SAP Transaction.
For example, We need to check only for Delivery type Z4LN and the delivery quantity
was entered is not more than Open Qty ( PO Qty Total Delivery Qty ).
REFRESH : lt_ekbe.
SELECT SINGLE menge INTO lv_menge FROM ekpo WHERE ebeln = ls_xlips-vgbel
ENDLOOP.
lf_cannot_over = 'X'.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
IF lf_cannot_over EQ 'X'.
CLEAR ls_finchdel.
ls_finchdel-vbeln = ls_xlikp-vbeln.
ls_finchdel-pruefung = '99'.
ls_finchdel-msgty = 'E'.
ls_finchdel-msgid = 'ZMM'.
ls_finchdel-msgno = '005'.
ENDIF.