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

BAPI_ALM_NOTIF_CREATE

Former Member
0 Likes
1,009

Hello Friends,

I'm using BAPI_ALM_NOTIF_CREATE in my program to create service notification.

The notification is getting created. But its not saving in database. Even i've tried using

BAPI_TRANSACTION_COMMIT. The data is not getting saved. Can anyone help me

on this issue.

Thanks in advance

Regards

Chandu

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
0 Likes
635

You must call in sequence 3 FM/BAPI<br />

- [BAPI_ALM_NOTIF_CREATE|https://www.sdn.sap.com/irj/scn/advancedsearch?query=bapi_alm_notif_create&cat=sdn_all]

- [BAPI_ALM_NOTIF_SAVE|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=bapi_alm_notif_save&adv=false&sortby=cm_rnd_rankvalue]

- [BAPI_TRANSACTION_COMMIT|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=+bapi_transaction_commit&adv=false&sortby=cm_rnd_rankvalue]

(Take a look at [Note 604300 - FAQ: BAPI_ALM_NOTIF* and BAPI_SERVNOT*|https://service.sap.com/sap/support/notes/604300])

The changes of the notification data exist on the database only after the function modules BAPI_ALM_NOTIF_SAVE (or BAPI_SERVNOT_SAVE) and BAPI_TRANSACTION_COMMIT have been run successfully

Regards

Read only

0 Likes
635

I tried that one now. But not succeeded.

By seeing that note i've tried the same in SE37 its working fine

but how to do the same programmatically, pls help me.

Regards,

Chandu

Edited by: chandra sekhar narra on Mar 12, 2009 3:00 PM

Read only

0 Likes
635

The chain of call work fine in my Sap,

- Did you check the return table parameter for error messages

- Did you get the correct notification number (from notifheader_export)

- Are the three calls in the same Luw (no implicit or explicit break via commit or interactive dynpro)

Regards