QM
BAPI
RFC
Used the same way in S/4HANA
BAPI_QUALNOT_COMPLSTAT Complete QM Notification
Sets a quality notification to completed status, using the reference date and time in SYSTSTAT. It is used when an external complaint process closes and SAP must follow. Run it with TESTRUN first if needed, check RETURN and call BAPI_TRANSACTION_COMMIT; open tasks can prevent completion.
- Function group
- 2078
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| NUMBER | BAPI2078_NOTHDRE-NOTIF_NO | Notification number | Yes |
| SYSTSTAT | BAPI2078_NOTSTI | System status data for completion | Yes |
| TESTRUN | BAPI20783T-STATUS_IND | Test run (no update) | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| SYSTEMSTATUS | BAPI2078_NOTADT-SYSTATUS | System status after completion |
| USERSTATUS | BAPI2078_NOTADT-USRSTATUS | User status after completion |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| RETURN | BAPIRET2 | Return messages | Yes |
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_QUALNOT_COMPLSTAT'
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.