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
| Parameter | Type | Description | Required |
|---|---|---|---|
| NUMBER | BAPI2080_NOTHDRE-NOTIF_NO | Notification number | Yes |
| NOTIFHEADER | BAPI2080_NOTHDRI | Notification header data | — |
| NOTIFHEADER_X | BAPI2080_NOTHDRI_X | Header change flags | — |
| MAINTACTYTYPE | ILA | Maintenance activity type | — |
| NO_BUFFER_REFRESH_ON_ERROR | QM00-QKZ | Keep the buffer on error | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| NOTIFHEADER_EXPORT | BAPI2080_NOTHDRE | Notification header (result) |
| MAINTACTYTYPE_EXPORT | ILA | Maintenance activity type (result) |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| NOTIFITEM | BAPI2080_NOTITEMI | Items (object part, damage) | — |
| NOTIFITEM_X | BAPI2080_NOTITEMI_X | Item change flags | — |
| NOTIFCAUS | BAPI2080_NOTCAUSI | Causes | — |
| NOTIFCAUS_X | BAPI2080_NOTCAUSI_X | Cause change flags | — |
| NOTIFACTV | BAPI2080_NOTACTVI | Activities | — |
| NOTIFACTV_X | BAPI2080_NOTACTVI_X | Activity change flags | — |
| NOTIFTASK | BAPI2080_NOTTASKI | Tasks | — |
| NOTIFTASK_X | BAPI2080_NOTTASKI_X | Task change flags | — |
| NOTIFPARTNR | BAPI2080_NOTPARTNRI | Partners | — |
| NOTIFPARTNR_X | BAPI2080_NOTPARTNRI_X | Partner change flags | — |
| EXTENSIONIN | BAPIPAREX | Customer extension (input) | — |
| EXTENSIONOUT | BAPIPAREX | Customer extension (output) | — |
| RETURN | BAPIRET2 | Return 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.