SAP Reports / Programs | Quality Management | Quality Planning | Inspection Planning(QM-PT-IP) SAP QM

IQPDRK00 SAP ABAP INCLUDE - documentation and ABAP source code







IQPDRK00 is a standard ABAP INCLUDE 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 IQPDRK00 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 IQPDRK00. "Basic submit
SUBMIT IQPDRK00 AND RETURN. "Return to original report after report execution complete
SUBMIT IQPDRK00 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT IQPDRK00

No INCLUDES are used within this REPORT code!


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:

QPSD_FEATURE_METH_VERSION_READ CALL FUNCTION 'QPSD_FEATURE_METH_VERSION_READ' EXPORTING merkmal = plmkb-verwmerkm versionmk = plmkb-mkversion zaehlmk = plmkb-qpmk_zaehl methode = plmkb-pmethode versionmt = plmkb-pmtversion werkmt = plmkb-qmtb_werks sprache = plmkb-ltextspr IMPORTING qpmk_exp = qpmk qpmz_exp = qpmz qpmt_exp = qpmt qpmz_ktext_meth = plmkb-qpmt_ktext qpmz_ktext_kat1 = plmkb-awmngktx1 qpmz_ktext_kat2 = plmkb-awmngktx2 qpmz_ktext_kat3 = plmkb-awmngktx3 qpmz_ktext_kat4 = plmkb-awmngktx4 qpmz_ktext_kat5 = plmkb-awmngktx5 EXCEPTIONS no_feature = 1 no_method = 2 no_mkversion = 3 no_mtversion = 4 no_free_version = 5.

CQ_BM_PLMKB_FROM_QPMK CALL FUNCTION 'CQ_BM_PLMKB_FROM_QPMK' EXPORTING fplmkb = plmkb fqpmk = qpmk fqpmt = qpmt fqpmz = qpmz frqpas = rqpas i_no_copy_txt = 'X' "3.0F

CQ_BM_PLMK_TEXT_FILL CALL FUNCTION 'CQ_BM_PLMK_TEXT_FILL' EXPORTING plmkb_imp = plmkb IMPORTING ltextkey_exp = l_ltsch EXCEPTIONS OTHERS = 1.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = l_c_id_mk language = plmkb-ltextspr name = l_ltsch object = l_c_ob_mk IMPORTING header = textheader TABLES lines = l_textlines EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8.

READ_TEXT CALL FUNCTION 'READ_TEXT' "3.0F

TEXT_INCLUDE_REPLACE CALL FUNCTION 'TEXT_INCLUDE_REPLACE' EXPORTING header = textheader IMPORTING newheader = textheader TABLES lines = l_textlines.

FORMAT_TEXTLINES CALL FUNCTION 'FORMAT_TEXTLINES' EXPORTING formatwidth = tca09-linesize linewidth = tca09-linesize TABLES lines = l_textlines EXCEPTIONS OTHERS = 1.

CQ_BM_PLMK_TEXT_FILL CALL FUNCTION 'CQ_BM_PLMK_TEXT_FILL' EXPORTING plmkb_imp = plmkb IMPORTING ltextkey_exp = l_ltsch EXCEPTIONS OTHERS = 1.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = l_c_id_ent language = plmkb-ltxtentspr name = l_ltsch object = l_c_ob_mk IMPORTING header = textheader TABLES lines = l_textlines EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8.

READ_TEXT CALL FUNCTION 'READ_TEXT' "3.0F

TEXT_INCLUDE_REPLACE CALL FUNCTION 'TEXT_INCLUDE_REPLACE' EXPORTING header = textheader IMPORTING newheader = textheader TABLES lines = l_textlines.

FORMAT_TEXTLINES CALL FUNCTION 'FORMAT_TEXTLINES' EXPORTING formatwidth = tca09-linesize linewidth = tca09-linesize TABLES lines = l_textlines EXCEPTIONS OTHERS = 1.

FLTP_CHAR_CONVERSION CALL FUNCTION 'FLTP_CHAR_CONVERSION' EXPORTING input = plmk-sollwert"Sollwert ivalu = plmk-sollwni decim = l_stellen IMPORTING flstr = l_sollwert.

FLTP_CHAR_CONVERSION CALL FUNCTION 'FLTP_CHAR_CONVERSION' EXPORTING input = plmk-toleranzun "untere Toleranz ivalu = plmk-tolunni decim = l_stellen IMPORTING flstr = l_toleranzun.

FLTP_CHAR_CONVERSION CALL FUNCTION 'FLTP_CHAR_CONVERSION' EXPORTING ivalu = plmk-tolobni input = plmk-toleranzob "obere Toleranz decim = l_stellen IMPORTING flstr = l_toleranzob.



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