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

Error using BAPI_ALM_NOTIF_DATA_ADD

Former Member
0 Likes
1,425

Hi All,

I am using 'BAPI_ALM_NOTIF_DATA_ADD' to add few tasks to a defect notification.

Here is the procedure i am using.

1. Populate the following data into the notitem and notiftak tables and updating using 'BAPI_ALM_NOTIF_DATA_ADD'

For NOTITEM : refobjectkey = notification_number+item_key

item_key = item_key.

item_sort_no = item_key.

descript = item_text.

For NOTIFTASK: refobjectkey = notification_number+task_key.

task_key = task_key.

task_sort_no = task_key.

item_sort_no = item_key.

task_text = task_text.

2. Then calling 'BAPI_ALM_NOTIF_SAVE'.

passing the notification number.

3. Closing with 'BAPI_TRANSACTION_COMMIT'.

The items and defects are getting updated in the notification and i can see them using the transaction IW52. But for the task i cannot see any status. and when manually trying to change the status i am getting the error 'No Status object exists for the object'.

When the same data is passed using SE37. I am getting the status as TSOS while using the program i am getting no status but the above error.

1 REPLY 1
Read only

Former Member
0 Likes
677

Hi,

Check out the thread below. It might be of help.

Also, post it in ABAP->General Form for a quicker response.

Thanks

Nidhi