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 for Notification Modification where it Hits Save checks

Former Member
0 Likes
1,145

Hi

We are developing a custom program where through BAPI data is getting updated for the notification. we are using BAPI__NOTIF_data_modify to do that. However the BAPI is updating the changes in the background and hence it is not hitting the checks that have been maintained at Notification save. Can someone suggest a best way to handle this issue?

Should we use another BAPI to do so, can some one reccomend a suggested solution for the same.

Thanks

Manu

Hi

We are developing a custom program where through BAPI data is getting updated for the notification. we are using BAPI__NOTIF_data_modify to do that. However the BAPI is updating the changes in the background and hence it is not hitting the checks that have been maintained at Notification save. Can someone suggest a best way to handle this issue?

Should we use another BAPI to do so, can some one reccomend a suggested solution for the same.

Thanks

Manu

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
833
  • Can you give the correct name of BAPI (BAPI_ALM_NOTIF_DATA_MODIFY ?) and/or the exact type of notification (PM, Quality, Service, Claim or General)
  • How did you implement your checks (wich customer exit, BAdI ?)

Regards,

Raymond

Read only

0 Likes
833

Hi Raymond

Many Thanks for coming to rescue again.

BAPI Name is BAPI_ALM_NOTIF_DATA_MODIFY.  The BAPi is modifying entries in notification numbers from ALV editable fields. At save (custom user command) the data is saving in the data base but the save checks that are implemented for PM Notifications (Type M1, M2 etc) are not getting triggered.

The custom checks are implemented at Save exit of the notification . exit_sapmiwoo_020.

Our requirements is that these checks should be handled before BAPI_ALM_NOTIF_DATA_MODIFY is executed.

Thanks

manu

Read only

0 Likes
833

Did you RAISE EXIT_FROM_SAVE in your exit (EXIT_SAPMIWO0_020 of QQMA0014) or did you execute any command that could trigger an implict database commit in the exit ?

(NB: You could also use BAdI NOTIF_EVENT_SAVE which provides more options)

Regards,

Raymond

Read only

0 Likes
833

Hi Raymond

After error message Raise EXIT_FROM_SAVE is executed. As i told you i am a functional consultant and not a technical consultant, hence my knowledge is limited in this subject.

Do you suggest to use IQS0_change_notification FM for this purpose?

Many Thanks

Manu