EDUCAÇÃO E TECNOLOGIA

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

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


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

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.

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


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