Skip to Content

BAPI or FM to delete a QM task (Q1)

We have an objective to delete a task for a notification within the exit ZXQQMU20. BAPI_ALM_NOTIF_DATA_DELETE appears to be of use only for a PM/CS notification where we have a quality notification.

An attempt to use this BAPI on a quality notification results in the procedure as follows:

Is anyone aware of another BAPI or function module to accomplish the task deletion? Alternatively, what exactly needs to be done to customize and alter the entries for tables TQ8T and TQ80?

Thanks - Mike

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Nov 21, 2015 at 01:16 AM

    Hello Michael,

    Use fm BAPI_QUALNOT_DEL_DATA. Here there is table NOTIFTASK. I believe your issue will be resolved.

    Good luck

    KJogeswaraRao

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2015 at 06:44 AM

    Depending on notification type (QMEL-QMART -> TQ80-QMTYP) you have to use a different "family" of BAPI

    • 01 - BAPI_ALM_NOTIF*
    • 02 - BAPI_QUALNOT*
    • 03 - BAPI_SERVNOT*
    • etc.

    Also sequence is incorrect, correct is

    1. BAPI_QUALNOT_DEL_DATA
    2. BAPI_QUALNOT_SAVE
    3. BAPI_TRANSACTION_COMMIT

    You must also check return table at each step (only if WAIT set on last one)

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 20 at 07:47 PM

    Hello Raymond,

    I used these BAPI's to delete all open task when the approval task got rejected. But I there are some messages that comes from standard SAP like below "Inconsistent status".. my functional team wants me to suppress those standard messages. Is there a way?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.