Fonction SAP /SAPHT/DRM_AGREEMENT_STAT_CHAN - Agreement: change the status

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
IV_AGREEMENT_NUMBER VBAK-VBELN C 10 Sales document
IV_CHANGE_TEXT T681-KSDAT C 1 'X' X Checkbox
IV_NEW_STATE TJ30-ESTAT C 5 User status

Paramètre Reférence Type Long. Description
EV_ERROR SYST-SUBRC I 4 Return value, return value after ABAP statements

Exception Description
INVALID_INPUT
STATE_CHANGE_NOT_ALLOWED