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

ParameterTypeDescriptionRequired
NUMBERBAPI2080_NOTHDRE-NOTIF_NONotification numberYes
USR_STATUSBAPI2080_NOTUSRSTATIUser status to setYes
SET_INACTIVEBAPI20783T-STATUS_INDDeactivate the status—
TESTRUNBAPI20783T-STATUS_INDTest run (no update)—

Exporting parameters

ParameterTypeDescription
SYSTEMSTATUSBAPI2080_NOTADT-SYSTATUSSystem status
USERSTATUSBAPI2080_NOTADT-USRSTATUSUser status

Tables parameters

ParameterTypeDescriptionRequired
RETURNBAPIRET2Return 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.

Request a custom report