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
| Parameter | Type | Description | Required |
|---|---|---|---|
| NUMBER | BAPI2080_NOTHDRE-NOTIF_NO | Notification number | Yes |
| NOTIFHEADER | BAPI2080_NOTHDRI | Notification header data | — |
| TASK_DETERMINATION | BAPIFLAG | Automatic task determination | — |
| SENDER | BAPI_SENDER | Logical sender system | — |
| ORDERID | BAPI2080_NOTHDRE-ORDERID | Maintenance order number | — |
| NO_BUFFER_REFRESH_ON_ERROR | QM00-QKZ | Keep the buffer on error | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| NOTIFHEADER_EXPORT | BAPI2080_NOTHDRE | Notification header (result) |
| NOTIFHDTEXT | BAPI2080_NOTHDTXTE | Header descriptions |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| NOTFULLTXT | BAPI2080_NOTFULLTXTI | Long texts | — |
| NOTITEM | BAPI2080_NOTITEMI | Items (object part, damage) | — |
| NOTIFCAUS | BAPI2080_NOTCAUSI | Causes | — |
| NOTIFACTV | BAPI2080_NOTACTVI | Activities | — |
| NOTIFTASK | BAPI2080_NOTTASKI | Tasks | — |
| NOTIFPARTNR | BAPI2080_NOTPARTNRI | Partners | — |
| KEY_RELATIONSHIPS | BAPI2080_NOTKEYE | Key assignment of new sub-objects | — |
| 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_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.