# 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.

- Modules: QM
- Type: BAPI
- Function group: 2078
- Remote-enabled (RFC): Yes
- S/4HANA status: Used the same way in S/4HANA
- URL: https://nekuhub.com/en/functions/bapi-qualnot-getdetail/

## 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)

```abap
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

QMEL, QMFE, QMMA, QMSM, QMUR

