Fonction SAP /SAPPSPRO/USCHK_GOODS_RECEIPT - Check if user status in SRM allows goods receipt

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
IV_EBELN BSTNR C 10 Purchase order number
IV_EBELP EBELP N 5 X Item Number of Purchasing Document
IV_STATU_CHK FLAG C 1 'X' X Check of EKKO-STATU necessary

Paramètre Reférence Type Long. Description
EV_MSGID SYMSGID C 20 Messages, Message Class
EV_MSGNO SYMSGNO N 3 Messages, Message Number
EV_MSGTYPE SYMSGTY C 1 Messages, message type
EV_MSGV1 SYMSGV C 50 Messages, message variables
EV_MSGV2 SYMSGV C 50 Messages, message variables
EV_MSGV3 SYMSGV C 50 Messages, message variables
EV_MSGV4 SYMSGV C 50 Messages, message variables

Exception Description
ALLOWED_WARNING User status allows GR with warning
GR_NOT_ALLOWED User status does not allow goods receipt
INTERNAL_ERROR internal error
POINSRM_NOT_FOUND PO was not found in SRM
SRM_NOT_AVAILABLE SRM system is not available