‎2008 Mar 26 3:31 AM
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
‎2008 Mar 26 3:35 AM
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
‎2008 Mar 26 3:49 AM
executing in pse38 and getting message in return
Error in processing notification , activity 0000
‎2008 Mar 26 3:54 AM
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 =
.
‎2008 Mar 26 3:56 AM
hi,
Could you please post the error message so that i can understand what is wrong with it?
Thanks,
Anil.
‎2008 Mar 26 4:05 AM
message
E IM 282 Error in processing notification , activity 0000
‎2008 Mar 26 4:07 AM
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
‎2008 Mar 26 4:11 AM
tested in debug mode and after execitung that bapi in debug mode i checked its giving that error message
befor commit.
‎2008 Mar 26 4:13 AM
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
‎2008 Mar 26 4:24 AM
‎2008 Mar 26 5:00 AM
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.
‎2008 Mar 27 4:30 AM
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
‎2008 Mar 27 4:38 AM
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
‎2008 Mar 28 3:03 AM
‎2008 Mar 26 3:53 AM
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