‎2006 Mar 22 4:39 PM
Hi
I hope that i'm in the right topic for my question...
I have create a notification using BAPI_ALM_NOTIF_CREATE and i was happy to see,
that after call BAPI_ALM_NOTIF_SAVE my notification were successful created.
My next challenge is to close this notification.
And now i need finally your help :-).
After the call to BAPI_ALM_CREATE_NOTIF the value of notif_no in the return-structure NOTIFHEADER_EXPORT
shows a value like %00000000001 or something like that.
So far i didn't find a possibility to find out the number of the notification.
But i need this number to transmit a BAPI_ALM_NOTIF_CLOSE call.
I hope this was not to difficult to understand.
Thank you.
‎2006 Jul 24 9:49 PM
A couple of things may be the issue;
1. Your notification may not have created successfully (check the 'return' structure for error messages).
2. You need to call BAPI_TRANSACTION_COMMIT to save the new record, and commit the transaction.
‎2007 Oct 22 3:40 PM
You need to first call BAPI_ALM_NOTIF_CREATE.
Check the return structure for errors and if none call BAPI_ALM_NOTIF_SAVE.
For this you will pass the temporary notification number like %00000000001, and get the real notification number like 10000000603.
Then you must call BAPI_TRANSACTION_COMMIT.
After all that is done you can call BAPI_ALM_NOTIF_CLOSE with BAPI_TRANSACTION_COMMIT afterwards to close your notification.