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_DATA_MODIFY

Former Member
0 Likes
2,429

ALM_PM_NOTIFICATION_MODIFY/BAPI_ALM_NOTIF_DATA_MODIFY

act-act_codegrp = 'FOLLWUP'.

act-act_code = 'ZFLL'.

act-acttext = 'app req'.

APPEND act.

act_x-act_codegrp = 'X'.

act_x-act_code = 'X'.

act_x-acttext = 'X'.

APPEND act_x.

CALL FUNCTION 'BAPI_ALM_NOTIF_DATA_MODIFY'

EXPORTING

number = '000120002552'

TABLES

NOTIFACTV = act

NOTIFACTV_X = act_x

return = return

.

call function 'BAPI_TRANSACTION_COMMIT'

i am updating the notification with activities.

but its noT working,

could any one let me know what else required

14 REPLIES 14
Read only

Former Member
0 Likes
1,729

Hi Sudha,

Did you check if there are some entries in the RETURN table? If yes, then check if there is an error message. And one more thing are you using these two BAPIs in a program or are you executing in SE37?

You need to mention the Activity number also.

in table 'NOTIFACTV'.

ACT_KEY = '0001'.

ACT_SORT_NO = '0001'.

in table 'NOTIFACTV_X'.

ACT_KEY = '0001'.

ACT_SORT_NO = '0001'

If your problem is not solved, get in touch with me

Thanks,

Anil

Edited by: Anil Japa on Mar 26, 2008 4:43 AM

Read only

0 Likes
1,729

executing in pse38 and getting message in return

Error in processing notification , activity 0000

Read only

0 Likes
1,729

code below not working

  • activity

act-refobjectkey = '000120002552'.

act-act_key = '0001'.

act-act_sort_no = '0001'.

act-act_codegrp = 'FOLLWUP'.

act-act_code = 'ZFLL'.

act-acttext = 'app req'.

APPEND act.

act_x-act_key = '0001'.

act_x-act_sort_no = '0001'.

act_x-act_codegrp = 'X'.

act_x-act_code = 'X'.

act_x-acttext = 'X'.

APPEND act_x.

CALL FUNCTION 'BAPI_ALM_NOTIF_DATA_MODIFY'

EXPORTING

number = '000120002552'

TABLES

notifactv = act

notifactv_x = act_x

return = return.

CALL FUNCTION 'ALM_PM_NOTIFICATION_SAVE'

EXPORTING

number = '000120002552'

TABLES

return = ret.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = 'X'

  • IMPORTING

  • RETURN =

.

Read only

0 Likes
1,729

hi,

Could you please post the error message so that i can understand what is wrong with it?

Thanks,

Anil.

Read only

0 Likes
1,729

message

E IM 282 Error in processing notification , activity 0000

Read only

0 Likes
1,729

Hi,

That means the activity is still not updated. Put a breakpoint at the beginging of the BAPI. Check if the table ACT and ACT_X are populated. If they are populated you shouldn't get any error message.

Thanks,

Anil

Read only

0 Likes
1,729

tested in debug mode and after execitung that bapi in debug mode i checked its giving that error message

befor commit.

Read only

0 Likes
1,729

Hello,

Yes it will give the error before commit and it will be copied to IT_RETURN. But did you check if there is an entry in the ACT and ACT_X table when you are calling the BAPI, "BAPI_ALM_NOTIF_DATA_MODIFY"???? Please check this because the error says Activity '0000' that means in the table that is being passed to the BAPI the value '0001' is not transferred.

Thanks,

Anil

Read only

0 Likes
1,729

values are there in table parameter

Read only

0 Likes
1,729

Hi,

I've tried this. There was no erro message but the activity was not updated.

act-refobjectkey = '000200000944'.

act-act_key = '0001'.

act-act_sort_no = '0001'.

act-act_codegrp = 'N-SCARBR'.

act-act_code = 'CB01'.

act-acttext = 'app req'.

act-ITEM_SORT_NO = '0001'.

APPEND act.

act_x-act_key = '0001'.

act_x-act_sort_no = '0001'.

act_x-act_codegrp = 'X'.

act_x-act_code = 'X'.

act_x-acttext = 'X'.

act_x-ITEM_SORT_NO = 'X'.

APPEND act_x.

CALL FUNCTION 'BAPI_ALM_NOTIF_DATA_MODIFY'

EXPORTING

number = '000200000944'

TABLES

notifactv = act

notifactv_x = act_x

return = return.

CALL FUNCTION 'ALM_PM_NOTIFICATION_SAVE'

EXPORTING

number = '000200000944'

TABLES

return = ret.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = 'X'

IMPORTING

RETURN =

Just check if you are still getting some error message by follwowing the same method and let me know if you still have some problems.

Thanks,

Anil.

Read only

0 Likes
1,729

the problem i facing its not updating the activities.

when i comment the activities and update header details its getting chnages where as activities doesn't

Read only

0 Likes
1,729

Hi sudha,

can you try this code?

This will change the text of the activity of a notification.

I was successfully able to change the text of the activity with this code.

Wish you a best of luck.

Rewards points if it is useful.

Regards,

Prasanna

Edited by: prasanna j on Mar 27, 2008 5:38 AM

Read only

0 Likes
1,729

problem got solved.

thanks to all

Read only

Former Member
0 Likes
1,729

Hi Sudha,

Yes that was what i was talking about. You need to mention the Activity number as 0001 in the specified field. Refer to my earlier reply. If you still face the same problem let me know.

Thanks,

Anil