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

BAPI_QUALNOT_MODIFY_DATA Change QM Notification Data

Changes existing data of a quality notification: header, items, causes, tasks, activities and partners, controlled by the matching _X flag structures. It is used to update notifications from external complaint or 8D tools. Fill the _X structure for every changed field, then call BAPI_QUALNOT_SAVE and BAPI_TRANSACTION_COMMIT.

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

Importing parameters

ParameterTypeDescriptionRequired
NUMBERBAPI2078_NOTHDRE-NOTIF_NONotification numberYes
NOTIFHEADERBAPI2078_NOTHDRINotification header data—
NOTIFHEADER_XBAPI2078_NOTHDRI_XHeader change flags (X structure)—

Exporting parameters

ParameterTypeDescription
NOTIFHEADER_EXPORTBAPI2078_NOTHDRENotification header (result)

Tables parameters

ParameterTypeDescriptionRequired
NOTIFITEMBAPI2078_NOTITEMINotification items (defects)—
NOTIFITEM_XBAPI2078_NOTITEMI_XItem change flags (X structure)—
NOTIFCAUSBAPI2078_NOTCAUSICauses—
NOTIFCAUS_XBAPI2078_NOTCAUSI_XCause change flags (X structure)—
NOTIFACTVBAPI2078_NOTACTVIActivities—
NOTIFACTV_XBAPI2078_NOTACTVI_XActivity change flags (X structure)—
NOTIFTASKBAPI2078_NOTTASKITasks—
NOTIFTASK_XBAPI2078_NOTTASKI_XTask change flags (X structure)—
NOTIFPARTNRBAPI2078_NOTPARTNRIPartners—
NOTIFPARTNR_XBAPI2078_NOTPARTNRI_XPartner change flags (X structure)—
NOTFULLTXTBAPI2078_NOTFULLTXTILong texts—
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_QUALNOT_MODIFY_DATA'
  EXPORTING
    number = lv_number
  IMPORTING
    notifheader_export = lv_notifheader_export
  TABLES
    notifitem = lt_notifitem
    notifitem_x = lt_notifitem_x
    notifcaus = lt_notifcaus
    notifcaus_x = lt_notifcaus_x
    notifactv = lt_notifactv
    notifactv_x = lt_notifactv_x
    notiftask = lt_notiftask
    notiftask_x = lt_notiftask_x
    notifpartnr = lt_notifpartnr
    notifpartnr_x = lt_notifpartnr_x.

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