PM
BAPI
RFC
Used the same way in S/4HANA
BAPI_ALM_NOTIF_CHANGEUSRSTAT Change User Status of PM/CS Notification
Sets or resets a user status of a notification according to the status profile of its notification type. It is used when external workflows track their own steps on the notification. Set SET_INACTIVE to remove a status, and save with BAPI_ALM_NOTIF_SAVE plus BAPI_TRANSACTION_COMMIT.
- Function group
- IWOPM
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| NUMBER | BAPI2080_NOTHDRE-NOTIF_NO | Notification number | Yes |
| USR_STATUS | BAPI2080_NOTUSRSTATI | User status to set | Yes |
| SET_INACTIVE | BAPI20783T-STATUS_IND | Deactivate the status | — |
| TESTRUN | BAPI20783T-STATUS_IND | Test run (no update) | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| SYSTEMSTATUS | BAPI2080_NOTADT-SYSTATUS | System status |
| USERSTATUS | BAPI2080_NOTADT-USRSTATUS | User status |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| RETURN | BAPIRET2 | Return messages | — |
Call template (ABAP)
A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.
CALL FUNCTION 'BAPI_ALM_NOTIF_CHANGEUSRSTAT'
EXPORTING
number = lv_number
usr_status = lv_usr_status
IMPORTING
systemstatus = lv_systemstatus
userstatus = lv_userstatus
TABLES
return = lt_return.Related tables
Can't find the report you need?
We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.