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

ParameterTypeDescriptionRequired
EXTERNAL_NUMBERBAPI2078_NOTHDRE-NOTIF_NOExternal notification number—
NOTIF_TYPEBAPI2078_NOTHDRE-NOTIF_TYPENotification typeYes
NOTIFHEADERBAPI2078_NOTHDRINotification header dataYes
TASK_DETERMINATIONBAPIFLAGRun automatic task determination—
SENDERBAPI_SENDERLogical sender system (ALE)—

Exporting parameters

ParameterTypeDescription
NOTIFHEADER_EXPORTBAPI2078_NOTHDRENotification header (result)

Tables parameters

ParameterTypeDescriptionRequired
NOTITEMBAPI2078_NOTITEMINotification items (defects)—
NOTIFCAUSBAPI2078_NOTCAUSICauses—
NOTIFACTVBAPI2078_NOTACTVIActivities—
NOTIFTASKBAPI2078_NOTTASKITasks—
NOTIFPARTNRBAPI2078_NOTPARTNRIPartners—
LONGTEXTSBAPI2078_NOTFULLTXTILong texts—
KEY_RELATIONSHIPSBAPI2078_NOTKEYEKey relationships between temporary and final numbers—
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_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.

Request a custom report