QM
BAPI
RFC
Used the same way in S/4HANA
BAPI_QUALNOT_GETDETAIL Read QM Notification Details
Reads a quality notification with header, header text, defect items, causes, tasks, activities, partners and long texts. It is used in complaint reports and in interfaces that send notification data to CRM or supplier portals. Pass the notification number with leading zeros and check RETURN.
- Function group
- 2078
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| NUMBER | BAPI2078_NOTHDRE-NOTIF_NO | Notification number | Yes |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| NOTIFHEADER_EXPORT | BAPI2078_NOTHDRE | Notification header (result) |
| NOTIFHDTEXT | BAPI2078_NOTHDTXTE | Header texts |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| NOTITEM | BAPI2078_NOTITEME | Notification items (defects) | — |
| NOTIFCAUS | BAPI2078_NOTCAUSE | Causes | — |
| NOTIFACTV | BAPI2078_NOTACTVE | Activities | — |
| NOTIFTASK | BAPI2078_NOTTASKE | Tasks | — |
| NOTIFPARTNR | BAPI2078_NOTPARTNRE | Partners | — |
| NOTLONGTXT | 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_GETDETAIL'
EXPORTING
number = lv_number
IMPORTING
notifheader_export = lv_notifheader_export
notifhdtext = lv_notifhdtext
TABLES
notitem = lt_notitem
notifcaus = lt_notifcaus
notifactv = lt_notifactv
notiftask = lt_notiftask
notifpartnr = lt_notifpartnr
notlongtxt = lt_notlongtxt
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.