Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
AlbertSAP
Advisor
Advisor
0 Kudos

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.