SAP Reports / Programs | Quality Management | Quality Management | Information System(QM-QC-IS) SAP QM

RQGAAM30 SAP ABAP Report - Result Printout







RQGAAM30 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RQGAAM30 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RQGAAM30. "Basic submit
SUBMIT RQGAAM30 AND RETURN. "Return to original report after report execution complete
SUBMIT RQGAAM30 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: ART = Inspection Type
Selection Text: CHARGE = Batch
Selection Text: ENDTERMI = Finish date
Selection Text: HERKUNFT = Origin
Selection Text: MATERIAL = Material
Selection Text: P_CHTEXT = Long texts for insp. charac.
Selection Text: P_FETEXT = Defects
Selection Text: P_VETEXT = Long texts for UD
Selection Text: VORGANG = Operation
Selection Text: WERK = Plant
Title: Result Printout
Text Symbol: 001 = No usage decision made.
Text Symbol: 002 = Usage decision made.
Text Symbol: 003 = Select inspection lots II
Text Symbol: 004 = No defects found
Text Symbol: 005 = Defects Found


INCLUDES used within this REPORT RQGAAM30

INCLUDE LQPL1TS0.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

QAST_STATUS_CHECK CALL FUNCTION 'QAST_STATUS_CHECK' EXPORTING I_OBJNR = QALS-OBJNR I_STATUS = C_STATUS_FEHL EXCEPTIONS STATUS_NOT_ACTIV = 01.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING APPLICATION = 'TX' DEVICE = 'PRINTER' DIALOG = 'X' * FORM = G_FORM * Der Name des Formulares wird erst beim FB START_FORM übergeben LANGUAGE = SY-LANGU EXCEPTIONS CANCELED = 01 DEVICE = 02 FORM = 03 OPTIONS = 04 UNCLOSED = 05.

START_FORM CALL FUNCTION 'START_FORM' EXPORTING FORM = G_FORM EXCEPTIONS FORM = 01 FORMAT = 02 UNENDED = 03 UNOPENED = 04 UNUSED = 05.

END_FORM CALL FUNCTION 'END_FORM' EXCEPTIONS UNOPENED = 01.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' EXCEPTIONS UNOPENED = 01.

QAST_STATUS_CHECK CALL FUNCTION 'QAST_STATUS_CHECK' EXPORTING I_OBJNR = QALS-OBJNR I_STATUS = C_STATUS_VE EXCEPTIONS STATUS_NOT_ACTIV = 01.

TQ31_READ CALL FUNCTION 'TQ31_READ' EXPORTING I_HERKUNFT = QALS-HERKUNFT I_SPRACHE = SY-LANGU IMPORTING E_TQ31T = TQ31T EXCEPTIONS NO_ENTRY_IN_TQ31 = 1 NO_ENTRY_IN_TQ31T = 2.

TQ30_READ CALL FUNCTION 'TQ30_READ' EXPORTING I_ART = QALS-ART I_SPRACHE = SY-LANGU IMPORTING E_TQ30T = TQ30T EXCEPTIONS NO_ENTRY = 01.

T006_READ CALL FUNCTION 'T006_READ' EXPORTING * FLG_TEXT = ' ' MSEHI = QALS-MENGENEINH SPRAS = QALS-SPRACHE IMPORTING STRUCT = T006 EXCEPTIONS NO_ENTRY = 01 NO_TEXT = 02.

T006_READ CALL FUNCTION 'T006_READ' EXPORTING FLG_TEXT = ' ' MSEHI = QALS-EINHPROBE SPRAS = QALS-SPRACHE IMPORTING STRUCT = T006 EXCEPTIONS NO_ENTRY = 01 NO_TEXT = 02.

QEEA_STATUS_TEXT_READING CALL FUNCTION 'QEEA_STATUS_TEXT_READING' EXPORTING I_SPRACHE = SY-LANGU I_STATUS = QAMV-SATZSTATUS IMPORTING E_KURZTEXT = QGRES-STATUSV EXCEPTIONS NO_ENTRY_FOUND = 01.

QEEA_STATUS_TEXT_READING CALL FUNCTION 'QEEA_STATUS_TEXT_READING' EXPORTING I_SPRACHE = SY-LANGU I_STATUS = QAMR-SATZSTATUS IMPORTING E_KURZTEXT = QGRES-STATUSR EXCEPTIONS NO_ENTRY_FOUND = 01.

GET_TEXT_DOMVALUE CALL FUNCTION 'GET_TEXT_DOMVALUE' EXPORTING DOMNAME = G_DOMNAME DOMVALUE = G_DOMVALUE LANGU = SY-LANGU IMPORTING TXT = QGRES-ATTRIBUT EXCEPTIONS NOT_FOUND = 01.

QPK1_CODE_TEXT CALL FUNCTION 'QPK1_CODE_TEXT' EXPORTING I_KATALOGART = QAMR-KATALGART1 I_CODEGRUPPE = QAMR-GRUPPE1 I_CODE = QAMR-CODE1 I_SPRACHE = SY-LANGU IMPORTING E_TEXT = QGRES-CODE1 EXCEPTIONS NO_MATCH_IN_RANGE = 01.

GET_TEXT_DOMVALUE CALL FUNCTION 'GET_TEXT_DOMVALUE' EXPORTING DOMNAME = G_DOMNAME DOMVALUE = G_DOMVALUE LANGU = SY-LANGU IMPORTING TXT = QGRES-MBEWERTG EXCEPTIONS NOT_FOUND = 01.

GET_TEXT_DOMVALUE CALL FUNCTION 'GET_TEXT_DOMVALUE' EXPORTING DOMNAME = G_DOMNAME DOMVALUE = G_DOMVALUE LANGU = SY-LANGU IMPORTING TXT = QGRES-VBEWERTUNG EXCEPTIONS NOT_FOUND = 01.

QPK1_CODE_TEXT CALL FUNCTION 'QPK1_CODE_TEXT' EXPORTING I_KATALOGART = QAVE-VKATART I_CODEGRUPPE = QAVE-VCODEGRP I_CODE = QAVE-VCODE I_SPRACHE = SY-LANGU IMPORTING E_TEXT = QGRES-CODEVE EXCEPTIONS NO_MATCH_IN_RANGE = 01.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = P_ELEMENT TYPE = L_TYPE WINDOW = L_NAME EXCEPTIONS ELEMENT = 01 FUNCTION = 02 TYPE = 03 UNOPENED = 04 UNSTARTED = 05 WINDOW = 06.

FLTP_CHAR_CONVERSION





CALL FUNCTION 'FLTP_CHAR_CONVERSION' EXPORTING DECIM = L_CONVERT_DIGITS EXPON = 0 INPUT = L_CONVERT_NUMBER IMPORTING FLSTR = L_CONVERT_CHARACTER.

CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING COMMAND = COMMAND.

QFRD_FILL_FAILURE_BASE_TABLES CALL FUNCTION 'QFRD_FILL_FAILURE_BASE_TABLES' EXPORTING I_QFOH_WA = G_QFOBE EXCEPTIONS NO_ENTRY = 01.

QFRD_FILL_DIALOG_TABLES CALL FUNCTION 'QFRD_FILL_DIALOG_TABLES' EXPORTING I_QFOH_WA = G_QFOBE I_FLG_LOS = 'X' IMPORTING E_QFOH_WA = G_QFOBE_IMP TABLES QFAA_TAB = G_QFAA_TAB EXCEPTIONS NO_ENTRY = 01 NO_UNIQUE_FEART = 02.

QFRD_FILL_DIALOG_TABLES CALL FUNCTION 'QFRD_FILL_DIALOG_TABLES' EXPORTING I_QFOH_WA = G_QFOBE I_FLG_PVO = 'X' IMPORTING E_QFOH_WA = G_QFOBE_IMP TABLES QFAA_TAB = G_QFAA_TAB EXCEPTIONS NO_ENTRY = 01 NO_UNIQUE_FEART = 02.

QFRD_FILL_DIALOG_TABLES CALL FUNCTION 'QFRD_FILL_DIALOG_TABLES' EXPORTING I_QFOH_WA = G_QFOBE I_FLG_MK = 'X' IMPORTING E_QFOH_WA = G_QFOBE_IMP TABLES QFAA_TAB = G_QFAA_TAB EXCEPTIONS NO_ENTRY = 01 NO_UNIQUE_FEART = 02.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RQGAAM30 or its description.