‎2009 Jan 28 10:17 AM
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.
‎2009 Jan 28 10:30 AM