2008 Apr 16 7:54 AM
Hi all,
Has anyone used BAPI_ALM_NOTIF_DATA_ADD along with BAPI_ALM_NOTIF_DATA_MODIFY to update the service notifications? Individually both bapis are running fine but when BAPI_ALM_NOTIF_DATA_ADD is called after BAPI_ALM_NOTIF_DATA_MODIFY it gives error that notification is locked.
I am calling these bapis in this sequence
1)BAPI_ALM_NOTIF_GET_DETAIL
2)BAPI_ALM_NOTIF_DATA_MODIFY
3)BAPI_SERVNOT_SAVE
4)BAPI_TRANSACTION_COMMIT
5)BAPI_ALM_NOTIF_DATA_ADD
6)BAPI_SERVNOT_SAVE
7)BAPI_TRANSACTION_COMMIT
Regards,
Mehul
Hi all,
Has anyone used BAPI_ALM_NOTIF_DATA_ADD along with BAPI_ALM_NOTIF_DATA_MODIFY to update the service notifications? Individually both bapis are running fine but when BAPI_ALM_NOTIF_DATA_ADD is called after BAPI_ALM_NOTIF_DATA_MODIFY it gives error that notification is locked.
I am calling these bapis in this sequence
1)BAPI_ALM_NOTIF_GET_DETAIL
2)BAPI_ALM_NOTIF_DATA_MODIFY
3)BAPI_SERVNOT_SAVE
4)BAPI_TRANSACTION_COMMIT
5)BAPI_ALM_NOTIF_DATA_ADD
6)BAPI_SERVNOT_SAVE
7)BAPI_TRANSACTION_COMMIT
Regards,
Mehul
2008 Apr 16 8:20 AM
Hi,
Try commit work AND WAIT.
If that does not help try waiting a second or two between your FM's by using FM RZL_SLEEP (or statement: wait up to ...).
Maybe it helps,
Bert
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |