ALM_PM_NOTIFICATION_ADD_DATA is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name ALM_PM_NOTIFICATION_ADD_DATA into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
ALM_ME_PM_NOTIFICATION
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ALM_PM_NOTIFICATION_ADD_DATA' "
EXPORTING
number = " bapi2080_nothdre-notif_no Notification number
IMPORTING
notifheader = " bapi2080_nothdre Notification header
notifhdtext = " bapi2080_nothdtxte Text fields for notification header
* TABLES
* notfulltxt = " bapi2080_notfulltxti Work table for Full texts to message objects
* notitem = " bapi2080_notitemi Work table for notification items
* notifcaus = " bapi2080_notcausi Work Table for Causes
* notifactv = " bapi2080_notactvi Work table for Activities
* notiftask = " bapi2080_nottaski Work Table for Tasks
* notifpartnr = " bapi2080_notpartnri Work Table for Partners
* key_relationships = " bapi2080_notkeye Table for key releationships
* return = " bapiret2 Message type:S success, E error, W warning, I information
. " ALM_PM_NOTIFICATION_ADD_DATA
The ABAP code below is a full code listing to execute function module ALM_PM_NOTIFICATION_ADD_DATA including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_notifheader | TYPE BAPI2080_NOTHDRE , |
| ld_notifhdtext | TYPE BAPI2080_NOTHDTXTE , |
| it_notfulltxt | TYPE STANDARD TABLE OF BAPI2080_NOTFULLTXTI,"TABLES PARAM |
| wa_notfulltxt | LIKE LINE OF it_notfulltxt , |
| it_notitem | TYPE STANDARD TABLE OF BAPI2080_NOTITEMI,"TABLES PARAM |
| wa_notitem | LIKE LINE OF it_notitem , |
| it_notifcaus | TYPE STANDARD TABLE OF BAPI2080_NOTCAUSI,"TABLES PARAM |
| wa_notifcaus | LIKE LINE OF it_notifcaus , |
| it_notifactv | TYPE STANDARD TABLE OF BAPI2080_NOTACTVI,"TABLES PARAM |
| wa_notifactv | LIKE LINE OF it_notifactv , |
| it_notiftask | TYPE STANDARD TABLE OF BAPI2080_NOTTASKI,"TABLES PARAM |
| wa_notiftask | LIKE LINE OF it_notiftask , |
| it_notifpartnr | TYPE STANDARD TABLE OF BAPI2080_NOTPARTNRI,"TABLES PARAM |
| wa_notifpartnr | LIKE LINE OF it_notifpartnr , |
| it_key_relationships | TYPE STANDARD TABLE OF BAPI2080_NOTKEYE,"TABLES PARAM |
| wa_key_relationships | LIKE LINE OF it_key_relationships , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_notifheader | TYPE BAPI2080_NOTHDRE , |
| ld_number | TYPE BAPI2080_NOTHDRE-NOTIF_NO , |
| it_notfulltxt | TYPE STANDARD TABLE OF BAPI2080_NOTFULLTXTI , |
| wa_notfulltxt | LIKE LINE OF it_notfulltxt, |
| ld_notifhdtext | TYPE BAPI2080_NOTHDTXTE , |
| it_notitem | TYPE STANDARD TABLE OF BAPI2080_NOTITEMI , |
| wa_notitem | LIKE LINE OF it_notitem, |
| it_notifcaus | TYPE STANDARD TABLE OF BAPI2080_NOTCAUSI , |
| wa_notifcaus | LIKE LINE OF it_notifcaus, |
| it_notifactv | TYPE STANDARD TABLE OF BAPI2080_NOTACTVI , |
| wa_notifactv | LIKE LINE OF it_notifactv, |
| it_notiftask | TYPE STANDARD TABLE OF BAPI2080_NOTTASKI , |
| wa_notiftask | LIKE LINE OF it_notiftask, |
| it_notifpartnr | TYPE STANDARD TABLE OF BAPI2080_NOTPARTNRI , |
| wa_notifpartnr | LIKE LINE OF it_notifpartnr, |
| it_key_relationships | TYPE STANDARD TABLE OF BAPI2080_NOTKEYE , |
| wa_key_relationships | LIKE LINE OF it_key_relationships, |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return. |
This BAPI enables you to add items, causes, activities, task, long
texts to a service notification. For more information about necessary
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ALM_PM_NOTIFICATION_ADD_DATA or its description.
ALM_PM_NOTIFICATION_ADD_DATA - ALM_PM_MAINTNOT_SAVE - PM notification: save ALM_PM_MAINTNOT_PUTINPROGRESS - PM notification: put in process a ALM_PM_MAINTNOT_POSTPONE - PM notification: postpone ALM_PM_MAINTNOT_MODIFY_DATA - PM notification: modify or associated subdata ALM_PM_MAINTNOT_GET_DETAIL - PM notification: get details