RQRSCM00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Archiving Inspection Methods: Initial Run With this program, you can change the status of an inspection method from
If you would like to execute this report or see the full code listing simply enter RQRSCM00 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: G_DBUPD = Database change
Selection Text: G_MANDT = D Client
Selection Text: G_PMTNR = D Inspection method
Selection Text: G_VERS = D Version
Selection Text: G_WERKS = D Plant for inspection method
Title: QM: Inspection Method Archiving, Set Status 3 to Status 4
Text Symbol: 001 = TEST RUN
Text Symbol: 002 = DATA BASE CHANGES
Text Symbol: 003 = The following inspection methods are changed
Text Symbol: 004 = The following inspection methods are locked
Text Symbol: 005 = No inspection methods can be selected for archiving
Text Symbol: 006 = | Client | Plnt | MstrInspChar. | Version | Short text |
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TQREO_READ CALL FUNCTION 'TQREO_READ' EXPORTING I_MANDANT = G_QMTB_TAB-MANDT I_WERKS = G_QMTB_TAB-WERKS IMPORTING E_TQREO = TQREO EXCEPTIONS NOT_FOUND = 1.
ENQUEUE_EQQMTB1 CALL FUNCTION 'ENQUEUE_EQQMTB1' EXPORTING MANDT = G_QMTB_TAB-MANDT WERKS = G_QMTB_TAB-WERKS PMTNR = G_QMTB_TAB-PMTNR VERSION = G_QMTB_TAB-VERSION EXCEPTIONS FOREIGN_LOCK = 2 SYSTEM_FAILURE = 3.
DEQUEUE_EQQMTB1 CALL FUNCTION 'DEQUEUE_EQQMTB1' EXPORTING MANDT = G_QMTB_TAB-MANDT WERKS = G_QMTB_TAB-WERKS PMTNR = G_QMTB_TAB-PMTNR VERSION = G_QMTB_TAB-VERSION .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RQRSCM00 - QM: Inspection Method Archiving, Set Status 3 to Status 4 RQRSCM00 - QM: Inspection Method Archiving, Set Status 3 to Status 4 RQRSCB11 - Archiving Inspection Methods: Deletion Program RQRSCB11 - Archiving Inspection Methods: Deletion Program RQRSCB10 - Archive Inspection Methods, Write Archive RQRSCB10 - Archive Inspection Methods, Write Archive