Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

notification creation

Vijay
Active Contributor
0 Likes
661

hi

i am trying to create notification using fm 'BAPI_ALM_NOTIF_CREATE'.

i am passing notification type and short text in notifheader and executing.

it is not giving any error but not creating notification.

in field notif_no it is returning '%00000000001'.

can anybody help me out regarding this ???

regards

vijay

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
637

hi Vijay

u have to call the following three bapis in sequence to create the notification:

'BAPI_ALM_NOTIF_CREATE'

'BAPI_ALM_NOTIF_SAVE'

'bapi_transaction_commit'

Regards,

Sonal

<b>Reward points if helpful</b>

4 REPLIES 4
Read only

Former Member
0 Likes
637

Did you try to commit after the BAPI?

Message was edited by:

Mathieu ILHE

Read only

Vijay
Active Contributor
0 Likes
637

i think it should automatically perform commit as it has to return the notification no.

even if i do commit after the bapi where from i will get the notification created?

Read only

0 Likes
637

BAPI itself never commit database update. You need to explicitly call the BAPI_TRANSACTION_COMMIT for database commit.

Read only

Former Member
0 Likes
638

hi Vijay

u have to call the following three bapis in sequence to create the notification:

'BAPI_ALM_NOTIF_CREATE'

'BAPI_ALM_NOTIF_SAVE'

'bapi_transaction_commit'

Regards,

Sonal

<b>Reward points if helpful</b>