PM BAPI RFC Used the same way in S/4HANA

BAPI_ALM_NOTIF_CLOSE Complete PM/CS Notification

Sets a maintenance or service notification to completed (system status NOCO) with the completion date and time given in SYSTSTAT. It is used in interfaces that close notifications after the work is reported as finished. Use TESTRUN to check first, and call BAPI_ALM_NOTIF_SAVE and BAPI_TRANSACTION_COMMIT to make the change permanent.

Function group
IWOPM
Remote-enabled (RFC)
Yes
Type
BAPI

Importing parameters

ParameterTypeDescriptionRequired
NUMBERBAPI2080_NOTHDRE-NOTIF_NONotification numberYes
SYSTSTATBAPI2080_NOTSTICompletion data (date, time, language)Yes
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_CLOSE'
  EXPORTING
    number = lv_number
    syststat = lv_syststat
  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