QM
BAPI
RFC
Used the same way in S/4HANA
BAPI_QUALNOT_CREATE Create QM Notification
Creates a quality notification with header, defect items, causes, tasks, activities, partners and long texts, like QM01. It is used in complaint portals and production interfaces that report defects. The notification gets a temporary number; call BAPI_QUALNOT_SAVE and then BAPI_TRANSACTION_COMMIT to store it.
- Function group
- 2078
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| EXTERNAL_NUMBER | BAPI2078_NOTHDRE-NOTIF_NO | External notification number | — |
| NOTIF_TYPE | BAPI2078_NOTHDRE-NOTIF_TYPE | Notification type | Yes |
| NOTIFHEADER | BAPI2078_NOTHDRI | Notification header data | Yes |
| TASK_DETERMINATION | BAPIFLAG | Run automatic task determination | — |
| SENDER | BAPI_SENDER | Logical sender system (ALE) | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| NOTIFHEADER_EXPORT | BAPI2078_NOTHDRE | Notification header (result) |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| NOTITEM | BAPI2078_NOTITEMI | Notification items (defects) | — |
| NOTIFCAUS | BAPI2078_NOTCAUSI | Causes | — |
| NOTIFACTV | BAPI2078_NOTACTVI | Activities | — |
| NOTIFTASK | BAPI2078_NOTTASKI | Tasks | — |
| NOTIFPARTNR | BAPI2078_NOTPARTNRI | Partners | — |
| LONGTEXTS | BAPI2078_NOTFULLTXTI | Long texts | — |
| KEY_RELATIONSHIPS | BAPI2078_NOTKEYE | Key relationships between temporary and final numbers | — |
| 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_CREATE'
EXPORTING
notif_type = lv_notif_type
notifheader = lv_notifheader
IMPORTING
notifheader_export = lv_notifheader_export
TABLES
notitem = lt_notitem
notifcaus = lt_notifcaus
notifactv = lt_notifactv
notiftask = lt_notiftask
notifpartnr = lt_notifpartnr
longtexts = lt_longtexts
key_relationships = lt_key_relationships
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.