Skip to Content
avatar image
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 comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    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 comment
    10|10000 characters needed characters exceeded