2016 Apr 28 9:06 AM
Hi All,
I'm using the BAPI's BAPI_ALM_NOTIF_CREATE and BAPI_ALM_NOTIF_DATA_MODIFY to create and update the notification data in my report. But both the BAPI's are not giving the expected output.
BAPI_ALM_NOTIF_DATA_MODIFY is giving output as "No changes made" even though I make changes and BAPI_ALM_NOTIF_CREATE is not giving any error.
Can someone give me the sample code for the above two BAPI's to work correctly. I need it urgently.
Thank You
2016 Apr 28 11:47 AM
Can someone reply with the correct solution. I'm in urgent need.
Thank You
2016 Apr 28 9:12 AM
You need to use
BAPI_ALM_NOTIF_SAVE
BAPI_TRANSACTION_COMMIT
in sequence with each of the FMs you cited above.
2016 Apr 28 9:41 AM
Hi,
Thanks for your immediate reply.
I'm using those two FMs in sequence but still not getting any output.
2016 Apr 28 9:42 AM
2016 Apr 28 10:13 AM
2022 Apr 27 8:57 AM
Thanks..solved my Issue..
BAPI_ALM_NOTIF_SAVE
BAPI_TRANSACTION_COMMIT
2016 Apr 28 9:16 AM
Hi,
for BAPI_ALM_NOTIF_CREATE you will need two extra bapi, BAPI_ALM_NOTIF_SAVE and BAPI_TRANSACTION_COMMIT.
The export parameter from create bapi gives a dummy number like - %0000000001. Catch that value and pass it to the save bapi and then do a commit. This all should be a continuous process.
You will get the notification number number from save bapi.
And for Change you need to pass 'X' for the header( bapi2080_nothdri_x) , item( bapi2080_notitemi_x) , cause ( bapi2080_nottaski_x ) and activity( bapi2080_notactvi_x) tables for the fields which you want to change and do a commit after bapi.
Regards
Ashish
2016 Apr 28 9:44 AM
Hi,
Thanks for your immediate reply.
I'm using those two FMs but still not getting any output. The CREATE BAPI is not giving any message in the return parameter and MODIFY BAPI is giving "No changes made" error message.
Can you please paste the exact code for the two FMs so that I can get what you want to say and I can solve my query.
Thank You
2016 Apr 28 11:47 AM
Can someone reply with the correct solution. I'm in urgent need.
Thank You
2016 Apr 28 12:08 PM
Hi,
I am attaching the working of create notif. Have a look, This should clarify you.
Regards
Ashish
2016 Apr 28 12:52 PM
Hi Ashish,
Thanks for your quick reply. The Notification Creation BAPI is working now.
Can you also post the code for Notification Modification BAPI "BAPI_ALM_NOTIF_DATA_MODIFY".
Thank You
2016 Apr 28 1:07 PM
Hi,
Good to know your one query is resolved. Sure I am attaching the change notif working too.
Regards
Ashish