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

ParameterTypeDescriptionRequired
NUMBERBAPI2078_NOTHDRE-NOTIF_NONotification numberYes

Exporting parameters

ParameterTypeDescription
NOTIFHEADER_EXPORTBAPI2078_NOTHDRENotification header (result)
NOTIFHDTEXTBAPI2078_NOTHDTXTEHeader texts

Tables parameters

ParameterTypeDescriptionRequired
NOTITEMBAPI2078_NOTITEMENotification items (defects)—
NOTIFCAUSBAPI2078_NOTCAUSECauses—
NOTIFACTVBAPI2078_NOTACTVEActivities—
NOTIFTASKBAPI2078_NOTTASKETasks—
NOTIFPARTNRBAPI2078_NOTPARTNREPartners—
NOTLONGTXTBAPI2078_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_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.

Request a custom report