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
| Parameter | Type | Description | Required |
|---|---|---|---|
| NUMBER | BAPI2078_NOTHDRE-NOTIF_NO | Notification number | Yes |
| NOTIFHEADER | BAPI2078_NOTHDRI | Notification header data | — |
| NOTIFHEADER_X | BAPI2078_NOTHDRI_X | Header change flags (X structure) | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| NOTIFHEADER_EXPORT | BAPI2078_NOTHDRE | Notification header (result) |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| NOTIFITEM | BAPI2078_NOTITEMI | Notification items (defects) | — |
| NOTIFITEM_X | BAPI2078_NOTITEMI_X | Item change flags (X structure) | — |
| NOTIFCAUS | BAPI2078_NOTCAUSI | Causes | — |
| NOTIFCAUS_X | BAPI2078_NOTCAUSI_X | Cause change flags (X structure) | — |
| NOTIFACTV | BAPI2078_NOTACTVI | Activities | — |
| NOTIFACTV_X | BAPI2078_NOTACTVI_X | Activity change flags (X structure) | — |
| NOTIFTASK | BAPI2078_NOTTASKI | Tasks | — |
| NOTIFTASK_X | BAPI2078_NOTTASKI_X | Task change flags (X structure) | — |
| NOTIFPARTNR | BAPI2078_NOTPARTNRI | Partners | — |
| NOTIFPARTNR_X | BAPI2078_NOTPARTNRI_X | Partner change flags (X structure) | — |
| NOTFULLTXT | BAPI2078_NOTFULLTXTI | Long texts | — |
| RETURN | BAPIRET2 | Return 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.