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

ParameterTypeDescriptionRequired
NUMBERBAPI2078_NOTHDRE-NOTIF_NONotification numberYes
SYSTSTATBAPI2078_NOTSTISystem status data for completionYes
TESTRUNBAPI20783T-STATUS_INDTest run (no update)—

Exporting parameters

ParameterTypeDescription
SYSTEMSTATUSBAPI2078_NOTADT-SYSTATUSSystem status after completion
USERSTATUSBAPI2078_NOTADT-USRSTATUSUser status after completion

Tables parameters

ParameterTypeDescriptionRequired
RETURNBAPIRET2Return messagesYes

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.

Request a custom report