PM BAPI RFC Used the same way in S/4HANA

BAPI_ALM_NOTIF_DATA_ADD Add Data to PM/CS Notification

Adds new items, causes, activities, tasks, partners or long text lines to an existing notification. It is useful when follow-up information (damage codes, measures) arrives later from a mobile or shop-floor system. Use KEY_RELATIONSHIPS to link new causes and activities to their items, then call BAPI_ALM_NOTIF_SAVE and BAPI_TRANSACTION_COMMIT.

Function group
IWOPM
Remote-enabled (RFC)
Yes
Type
BAPI

Importing parameters

ParameterTypeDescriptionRequired
NUMBERBAPI2080_NOTHDRE-NOTIF_NONotification numberYes
NOTIFHEADERBAPI2080_NOTHDRINotification header data—
TASK_DETERMINATIONBAPIFLAGAutomatic task determination—
SENDERBAPI_SENDERLogical sender system—
ORDERIDBAPI2080_NOTHDRE-ORDERIDMaintenance order number—
NO_BUFFER_REFRESH_ON_ERRORQM00-QKZKeep the buffer on error—

Exporting parameters

ParameterTypeDescription
NOTIFHEADER_EXPORTBAPI2080_NOTHDRENotification header (result)
NOTIFHDTEXTBAPI2080_NOTHDTXTEHeader descriptions

Tables parameters

ParameterTypeDescriptionRequired
NOTFULLTXTBAPI2080_NOTFULLTXTILong texts—
NOTITEMBAPI2080_NOTITEMIItems (object part, damage)—
NOTIFCAUSBAPI2080_NOTCAUSICauses—
NOTIFACTVBAPI2080_NOTACTVIActivities—
NOTIFTASKBAPI2080_NOTTASKITasks—
NOTIFPARTNRBAPI2080_NOTPARTNRIPartners—
KEY_RELATIONSHIPSBAPI2080_NOTKEYEKey assignment of new sub-objects—
EXTENSIONINBAPIPAREXCustomer extension (input)—
EXTENSIONOUTBAPIPAREXCustomer extension (output)—
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_ALM_NOTIF_DATA_ADD'
  EXPORTING
    number = lv_number
  IMPORTING
    notifheader_export = lv_notifheader_export
    notifhdtext = lv_notifhdtext
  TABLES
    notfulltxt = lt_notfulltxt
    notitem = lt_notitem
    notifcaus = lt_notifcaus
    notifactv = lt_notifactv
    notiftask = lt_notiftask
    notifpartnr = lt_notifpartnr
    key_relationships = lt_key_relationships
    extensionin = lt_extensionin
    extensionout = lt_extensionout
    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