Skip to Content
author's profile photo Former Member
Former Member

Quality Notification // Visible longtext after completing a task // BAPI_QUALNOT_CHANGETSKSTAT

Hey guys,

The programming environment for this question is set around quality notifications.

I have used ' BAPI_QUALNOT_MODIFY_DATA ', to set a long text for a task.

Now, I had to complete the task.

With ' BAPI_QUALNOT_CHANGETSKSTAT', I've been able to do the completing but the longtext dissapeared.

If I do an Update on QMSM( datatable for tasks of quality notifications),
I can reactivate the long text access. But I would rather avoid a direct database access.

Does anyone of you have an idea how to do this?

Greetings

Maurice

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2016 at 07:03 AM

    To close a task and change its content before, it is necessary to use these BAPIS in this order:

    1. FM 'BAPI_QUALNOT_MODIFY_DATA'

    2. FM ' BAPI_QUALNOT_CHANGETSKSTAT '

    3. FM ' BAPI_QUALNOT_SAVE'

    The use case decides how to use the FM's, but most of the time it's needed to use them with addition 'IN BACKGROUND TASK' so they do not collide with the processes around them.

    If someone has specific questions about the usage, do not hesitate to ask me.

    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.