Skip to Content
Technical Articles
Author's profile photo Albert Molnar

QM Open Note – #5 – Where is status SPRQ reseted?

QM Open Note

QM Open Note is a blog post series about topics, which can be useful when working with Quality Management.


Overview

Current blog post is a quick overview of the reset of status SPRQ (I0203 – Quantity posting required).

In detail

According to the ‘Where-used list’ in transaction BS23 for system status SPRQ, process that delete the status is:

  • QM31 – Reset status ‘SPRQ’

Process QM31 is used by following function modules:

  • QPL1_MATERIAL_DOCUMENT_CANCEL
    *  Rücknahme Bestandsrelevanz
          CALL FUNCTION 'QAST_PROCESS_ACTIVITY'
               EXPORTING
                    i_check_only         = space
                    i_dialog             = space
                    i_objnr              = l_mem-qals-objnr
                    i_vorgang            = c_vorg_storno_berf
               EXCEPTIONS
                    not_allowed          = 01
                    activity_not_allowed = 02.​
  • QAAT_MATERIAL_DOCUMENT_CANCEL
    * Rücknahme Bestandsrelevanz prüfen
        CALL FUNCTION 'QAST_PROCESS_ACTIVITY'
             EXPORTING
                  i_check_only         = c_kreuz
                  i_dialog             = ' '
                  i_objnr              = l_qals-objnr
                  i_vorgang            = c_vorg_storno_berf
             EXCEPTIONS
                  not_allowed          = 01
                  activity_not_allowed = 02.​

Where C_VORG_STORNO_BERF = QM31.

Both function modules are called from include MM07MQSS and connected to the material document cancellation.

Known problem & solution

Status SPRQ and SPCO (I0220 – Stock posting completed) is active parallel for same inspection lot, is it normal?

  • Yes.

Feel free to share your experience/feedback in the Comment Section. Thank you.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.