2012 Dec 03 6:53 AM
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
2012 Dec 03 7:21 AM
2012 Dec 03 7:41 AM
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
2012 Dec 03 8:07 AM
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
2012 Dec 03 9:00 AM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |