# 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.

- Modules: PM
- Type: BAPI
- Function group: IWOPM
- Remote-enabled (RFC): Yes
- S/4HANA status: Used the same way in S/4HANA
- URL: https://nekuhub.com/en/functions/bapi-alm-notif-close/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| NUMBER | BAPI2080_NOTHDRE-NOTIF_NO | Notification number | Yes |
| SYSTSTAT | BAPI2080_NOTSTI | Completion data (date, time, language) | Yes |
| 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)

```abap
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

JEST, QMEL

