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

BAPI_ALM_NOTIF_DATA_MODIFY Change PM/CS Notification Data

Changes the header and existing items, causes, activities, tasks and partners of a notification. Each data table has a matching _X table; mark every field you want to change there, otherwise the value is ignored. Finish with 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—
NOTIFHEADER_XBAPI2080_NOTHDRI_XHeader change flags—
MAINTACTYTYPEILAMaintenance activity type—
NO_BUFFER_REFRESH_ON_ERRORQM00-QKZKeep the buffer on error—

Exporting parameters

ParameterTypeDescription
NOTIFHEADER_EXPORTBAPI2080_NOTHDRENotification header (result)
MAINTACTYTYPE_EXPORTILAMaintenance activity type (result)

Tables parameters

ParameterTypeDescriptionRequired
NOTIFITEMBAPI2080_NOTITEMIItems (object part, damage)—
NOTIFITEM_XBAPI2080_NOTITEMI_XItem change flags—
NOTIFCAUSBAPI2080_NOTCAUSICauses—
NOTIFCAUS_XBAPI2080_NOTCAUSI_XCause change flags—
NOTIFACTVBAPI2080_NOTACTVIActivities—
NOTIFACTV_XBAPI2080_NOTACTVI_XActivity change flags—
NOTIFTASKBAPI2080_NOTTASKITasks—
NOTIFTASK_XBAPI2080_NOTTASKI_XTask change flags—
NOTIFPARTNRBAPI2080_NOTPARTNRIPartners—
NOTIFPARTNR_XBAPI2080_NOTPARTNRI_XPartner change flags—
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_MODIFY'
  EXPORTING
    number = lv_number
  IMPORTING
    notifheader_export = lv_notifheader_export
    maintactytype_export = lv_maintactytype_export
  TABLES
    notifitem = lt_notifitem
    notifitem_x = lt_notifitem_x
    notifcaus = lt_notifcaus
    notifcaus_x = lt_notifcaus_x
    notifactv = lt_notifactv
    notifactv_x = lt_notifactv_x
    notiftask = lt_notiftask
    notiftask_x = lt_notiftask_x
    notifpartnr = lt_notifpartnr
    notifpartnr_x = lt_notifpartnr_x.

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