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 Item update - BAPI_ALM_NOTIF_DATA_MODIFY

0 Likes
4,551

Hi Everyone,

I have to add item like cause , damage and component codes for existing notification which will be creating at backend when I create workroder.

while creation of workorder item data is empty.

when I am trying to update the same notification using bapi_alm_notif_data_modify

I am getting below error

Error in processing notification , item 0000, cause 0000

When I tried multiple times, I got that it is expecting atleast one cause code.

Please tel me how can I achieve this.

Thanks

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,066

Error in processing notification , item 0000, cause 0000

Check values of ITEM_KEY or CAUSE_KEY in your parameters.

Hint: You could first use BAPI_ALM_NOTIF_GET_DETAIL to get current values, copy/increment values/keys to change BAPI parameters NOTITEM and NOTIFCAUS, then change required values and set 'X' values to actually changed fields in NOTIFITEM_X and NOTIFCAUS_X.

Don't forget to call BAPI_ALM_NOTIF_SAVE once no error in RETURN.

Regards,

Raymond


Error in processing notification , item 0000, cause 0000

Check values of ITEM_KEY or CAUSE_KEY in your parameters.

Hint: You could first use BAPI_ALM_NOTIF_GET_DETAIL to get current values, copy/increment values/keys to change BAPI parameters NOTITEM and NOTIFCAUS, then change required values and set 'X' values to actually changed fields in NOTIFITEM_X and NOTIFCAUS_X.

Don't forget to call BAPI_ALM_NOTIF_SAVE once no error in RETURN.

Regards,

Raymond

7 REPLIES 7
Read only

jogeswararao_kavala
Active Contributor
0 Likes
3,066

Ensure that the tables NOTIFITEM_X,  NOTIFCAUS_X  etc, etc are empty and not filled with  'X' in any of the fields..

Read only

0 Likes
3,066

I tired, bapi is throwing error message as no changes made.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,067

Error in processing notification , item 0000, cause 0000

Check values of ITEM_KEY or CAUSE_KEY in your parameters.

Hint: You could first use BAPI_ALM_NOTIF_GET_DETAIL to get current values, copy/increment values/keys to change BAPI parameters NOTITEM and NOTIFCAUS, then change required values and set 'X' values to actually changed fields in NOTIFITEM_X and NOTIFCAUS_X.

Don't forget to call BAPI_ALM_NOTIF_SAVE once no error in RETURN.

Regards,

Raymond

Read only

0 Likes
3,066

I can able to add using BAPI_ALM_NOTIF_DATA_ADD,

How can I update dates tab in ntofication while updating.

Read only

0 Likes
3,066

Hi,

any one have any idea on how to update required end date on notification

Read only

0 Likes
3,066

Resolved myself.thanks for your valuable suggestions.

Read only

0 Likes
2,329

Hi @rajanib_bollepally Can you please share how did you resolve this issue it will be helpful.