SAP Reports / Programs | Quality Management | Quality Inspection | Sample Management(QM-IM-SM) SAP QM

RQDSES20 SAP ABAP Report - Print report: Print sample drawing instruction







RQDSES20 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program RQDSES20 prints the sample-drawing instruction using a SAPScript form...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RQDSES20 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 RQDSES20. "Basic submit
SUBMIT RQDSES20 AND RETURN. "Return to original report after report execution complete
SUBMIT RQDSES20 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Print report: Print sample drawing instruction


INCLUDES used within this REPORT RQDSES20

INCLUDE QAM31F01.


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_HUM * EXCEPTIONS * STATUS_NOT_ACTIV = 01.

QMHU_READ * CALL FUNCTION 'QMHU_READ' * EXPORTING * I_PRUEFLOS = QALS-PRUEFLOS * IMPORTING * ET_HULIST = G_HULIST.

CO_DR_PR_OPT_FILL CALL FUNCTION 'CO_DR_PR_OPT_FILL' EXPORTING prt_co = prlst_tmp IMPORTING pr_opt = pr_options.

END_FORM CALL FUNCTION 'END_FORM'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = element_name window = window_name EXCEPTIONS element = 01 function = 02 type = 03 unopened = 04 unstarted = 05 window = 06.

START_FORM CALL FUNCTION 'START_FORM'.

QDTA_SAMP_DRAWING_POS_READ CALL FUNCTION 'QDTA_SAMP_DRAWING_POS_READ' EXPORTING i_probenahmeverf = qals-prbnaverf i_version = qals-prbnavv TABLES qprvptab = g_qprvptab qprvpttab = g_qprvpttab EXCEPTIONS not_found = 01.

QDTA_SAMP_DRAWING_ENTRY_READ CALL FUNCTION 'QDTA_SAMP_DRAWING_ENTRY_READ' EXPORTING i_probenahmeverf = p_prziehverf i_version = p_version IMPORTING e_qprvkt = l_qprvkt e_qprvk = l_qprvk EXCEPTIONS "werden nicht abgefragt not_found = 0 OTHERS = 0.

CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING command = l_command.

CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING command = l_command.

TQ44_READ CALL FUNCTION 'TQ44_READ' EXPORTING i_prtyp = p_prtyp i_sprache = sy-langu IMPORTING e_tq44t = tq44t EXCEPTIONS no_entry_in_tq44 = 1 no_entry_in_tq44t = 2.

TQ44_READ CALL FUNCTION 'TQ44_READ' EXPORTING i_prtyp = l_qprslis-prtyp i_sprache = sy-langu IMPORTING e_tq44t = l_tq44t EXCEPTIONS no_entry_in_tq44 = 1 no_entry_in_tq44t = 2 OTHERS = 3.

TQ41_READ CALL FUNCTION 'TQ41_READ' EXPORTING i_werks = l_qprslis-werks i_aufbewort = l_qprslis-abort i_sprache = sy-langu IMPORTING * E_TQ41 = e_tq41t = l_tq41t EXCEPTIONS no_entry_in_tq41 = 1 no_entry_in_tq41t = 2 OTHERS = 3.



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 RQDSES20 or its description.