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_DELETE cannot delete the task

Former Member
0 Likes
926

Hi All,

I am using a bapi : BAPI_ALM_NOTIF_DATA_DELETE for deleting the notification task. I am passing the notification number and data to the table structure : NOTIFTASK the following fields

TASK_KEY = Item No(QMSM-MANUM)

REFOBJECTKEY = object No(QMSM-OBJNR)

But still i am unable to delelte the task....Any pointer on what ohter data to be passed so that i can delete the notitication task

Regards

Shiva

3 REPLIES 3
Read only

Former Member
0 Likes
593

I use a different function... BAPI_SERVNOT_DEL_DATA. We don't have BAPI_ALM_NOTIF_DATA_DELETE in our system.

For BAPI_SERVNOT_DEL_DATA, I have to pass TASK_KEY and TASK_SORT_NO. It works.

Maybe you are missing the sort number?

Read only

Former Member
0 Likes
593

The BAPI listed by the previous poster is for service notifications - this one is for PM notifications. Make sure you are using the correct bapi.

You should be passing the Item # and the Sort Item # along with the notification number.

Also - the following items could be stopping you from deleting a task :

1. Task in progress

2. Task is completed

3. Notification system status does not allow you to delete

4. Notification is already on a work order in progress

See if this is the case - or try to create a brand new notification for testing purposes and test deleting an item in difference scenarios.

Read only

Former Member
0 Likes
593

Hey all,

I have the same problem. I am trying to delete a task from a notification.

I have tried to insert the notif. number and task_key and task_sort_key in the NOTIFTASK table but still doesn't work.

What can I do to make it work ?