SAP Reports / Programs | Quality Management | Quality Certificates | Basic Data for Certificates(QM-CA-MD) SAP QM

MQCPAF06 SAP ABAP INCLUDE - Include LEH03O01







MQCPAF06 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 MQCPAF06 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 MQCPAF06. "Basic submit
SUBMIT MQCPAF06 AND RETURN. "Return to original report after report execution complete
SUBMIT MQCPAF06 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 MQCPAF06

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:

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = l_mtcom IMPORTING matdaten = l_makt EXCEPTIONS OTHERS = 01.

QPSD_FEATURE_VALID_READ CALL FUNCTION 'QPSD_FEATURE_VALID_READ' EXPORTING merkmal = qcvmea-mkmnr werk = qcvmea-zaehler i_qmastmod = c_auth_incl_char IMPORTING qpmk_exp = qpmk qpmt_exp = qpmt EXCEPTIONS no_feature = 1 no_valid = 2.

QPSD_FEATURE_VERSION_READ CALL FUNCTION 'QPSD_FEATURE_VERSION_READ' EXPORTING merkmal = qcvmea-mkmnr werk = qcvmea-zaehler version = qcvmea-versionmk i_qmastmod = c_auth_incl_char IMPORTING qpmk_exp = qpmk qpmt_exp = qpmt EXCEPTIONS no_feature = 1 no_free_version = 2 no_version = 3.

QC09_ORIGINS_DEFAULT_FOR_CATEG CALL FUNCTION 'QC09_ORIGINS_DEFAULT_FOR_CATEG' IMPORTING e_kzherkvg = l_qcvmea-kzherkvg e_kzherkwert = l_qcvmea-kzherkwert e_kzstrskip = l_qcvmea-kzstrskip e_kzherktext_master = l_qcvmea-kzherktext e_kzesel = l_qcvmea-kzesel EXCEPTIONS OTHERS = 0.

QC09_ORIGINS_DEFAULT_FOR_CATEG CALL FUNCTION 'QC09_ORIGINS_DEFAULT_FOR_CATEG' EXPORTING i_category = c_cmerk IMPORTING e_kzherkvg = l_qcvmea-kzherkvg e_kzherkwert = l_qcvmea-kzherkwert e_kzherktext_master = l_qcvmea-kzherktext EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = l_icon info = l_quick add_stdinf = ' ' IMPORTING result = s_lticon-icon EXCEPTIONS icon_not_found = 0 outputfield_too_short = 0 OTHERS = 0.

STATUS_SET_USER_STATUS_DIALOG CALL FUNCTION 'STATUS_SET_USER_STATUS_DIALOG' EXPORTING object_number = qcvkea-objnr EXCEPTIONS object_not_found = 01 no_status_scheme_given = 02.

STATUS_READ CALL FUNCTION 'STATUS_READ' EXPORTING objnr = qcvkea-objnr IMPORTING stsma = qcvkea-stsma EXCEPTIONS object_not_found = 0 OTHERS = 0.

SCP_ALLOWED_LANGUAGES_CP CALL FUNCTION 'SCP_ALLOWED_LANGUAGES_CP' IMPORTING languages = s_languages.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'QCVKEA' fieldname = 'EXIST_SPRAS' dynpprog = l_prog dynpnr = l_dynnr EXCEPTIONS OTHERS = 0.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'QCVKEA' fieldname = 'NOT_EXIST_SPRAS' dynpprog = l_prog dynpnr = l_dynnr EXCEPTIONS OTHERS = 0.

QC00_QCVK_GET_TEXT_KEY CALL FUNCTION 'QC00_QCVK_GET_TEXT_KEY' EXPORTING i_qcvk = l_qcvk IMPORTING e_qcvk_textkey = l_qcvk_text_key.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING object = lc_textobject_qcvk name = l_qcvk_text_key id = lc_textid_ltxt language = '*' TABLES selections = p_thead_tab EXCEPTIONS OTHERS = 0.

SLW_TRAN1_GET_LANG_TEXT CALL FUNCTION 'SLW_TRAN1_GET_LANG_TEXT' EXPORTING language = l_thead-tdspras IMPORTING lang_txt = l_sptxt EXCEPTIONS OTHERS = 0.

SLW_TRAN1_GET_LANG_TEXT CALL FUNCTION 'SLW_TRAN1_GET_LANG_TEXT' EXPORTING language = l_thead-tdspras IMPORTING lang_txt = l_sptxt EXCEPTIONS OTHERS = 0.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'QCVKEA' fieldname = 'SPRAS' searchhelp = 'QCVKEA_EXIST_SPRAS_ALL' display = 'X' EXCEPTIONS OTHERS = 0.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = lv_repid dynumb = lv_dynnr TABLES dynpfields = lt_dynfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = lv_repid dynumb = lv_dynnr TABLES dynpfields = lt_dynfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 OTHERS = 8.



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