scenario is it :
after change active status must be change notification status ,when user save notification ,I used user exit ZXQQMU20
and I must delete current notification status and set new status ,I used it :
for delete status :
call function 'STATUS_CHANGE_EXTERN'
exporting
* CHECK_ONLY = ' '
"CLIENT = SY-MANDT
objnr = OBJNRR
user_status = WA_STATUS-STAT
SET_INACT = 'X'
* SET_CHGKZ =
* NO_CHECK = ' '
* IMPORTING
* STONR =
* EXCEPTIONS
* OBJECT_NOT_FOUND = 1
* STATUS_INCONSISTENT = 2
* STATUS_NOT_ALLOWED = 3
* OTHERS = 4
.
for new status :
call function 'STATUS_CHANGE_EXTERN'
exporting
* CHECK_ONLY = ' '
"CLIENT = SY-MANDT
objnr = OBJNRR
user_status = CH_STAT
SET_INACT = ' '
* SET_CHGKZ =
* NO_CHECK = ' '
* IMPORTING
* STONR =
* EXCEPTIONS
* OBJECT_NOT_FOUND = 1
* STATUS_INCONSISTENT = 2
* STATUS_NOT_ALLOWED = 3
* OTHERS = 4
.
and at end commit and wait.
but after save I have error :

PLZ HELP ME..