on 09-23-2008 2:08 PM
Hi all,
I have created a Notification using the following :
CALL FUNCTION 'BAPI_ALM_NOTIF_CREATE'
EXPORTING
notif_type = 'M4'
notifheader = notifheader
IMPORTING
notifheader_export = notifheader_export
TABLES
notitem = notitem
longtexts = longtexts
return = return.
CALL FUNCTION 'BAPI_ALM_NOTIF_SAVE'
EXPORTING
number = notifheader_export-notif_no
IMPORTING
notifheader = notifheader_export_2
TABLES
return = return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
IMPORTING
return = return.
I can check the notification created by IW23 transaction without problems (notifheader_export_2 = QMEL-QMNUM).
Now I need to delete this notification.
I'm trying with BAPI_ALM_NOTIF_DATA_DELETE but this bapi ends with an error : 'E IM 407 No changes made'.
Can any one please let me know the procedure to delete a notification?
We are current working on SAP R/3 Enterprise.
Thanks in Advance,
Lilian.
Hello,
BAPI_ALM_NOTIF_DATA_DELETE is used to delete items, causes, actions, etc from a notification, not delete the notification itself.
There is no function to delete a notification as such. Through normal transactions a notification is completed then a deletion indicator is set. Archiving is then used to remove the notification from the system.
Through the available BAPIs the best you can achieve is to use BAPI_ALM_NOTIF_CLOSE to mark the notifications as complete. Later set the deletion indicator through normal transactions.
-Paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try...
ALM_PM_NOTIFICATION_DELETE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
106 | |
12 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.