SAP Reports / Programs | Quality Management | Quality Inspection | Inspection Lot Completion(QM-IM-UD) SAP QM

MQEVAF14 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

QPK1_UD_CODE_PICKUP_LEAN CALL FUNCTION 'QPK1_UD_CODE_PICKUP_LEAN' EXPORTING i_auswahlmge = rqeva-vauswahlmg i_codegruppe = rqeva-vcodegrp i_code = '*' i_katalogart = vent_kat i_sprache = sy-langu i_werks = werk_los i_winx1 = 3 i_winx2 = 75 i_winy1 = 3 i_winy2 = 18 i_qveart = ve_los i_display_mode = l_modus i_return_if_one = 'X' IMPORTING e_qpk1ac = qpk1ac EXCEPTIONS no_match_in_range = 01 no_user_selection = 02 no_authorization = 03 object_locked = 04 lock_error = 08 object_missing = 12.

QAST_STATUS_CHECK CALL FUNCTION 'QAST_STATUS_CHECK' EXPORTING i_objnr = qals-objnr i_status = c_status_ve EXCEPTIONS status_not_activ = 1 OTHERS = 2.

QAST_PROCESS_ACTIVITY CALL FUNCTION 'QAST_PROCESS_ACTIVITY' EXPORTING i_check_only = c_kreuz i_dialog = space i_objnr = qals-objnr i_vorgang = c_vorg_ee_uebernehmen EXCEPTIONS not_allowed = 01 activity_not_allowed = 02.

QAST_STATUS_CHECK CALL FUNCTION 'QAST_STATUS_CHECK' EXPORTING i_objnr = qals-objnr i_status = c_status_bend EXCEPTIONS status_not_activ = 01.

MB_READ_MATERIAL_POSITION CALL FUNCTION 'MB_READ_MATERIAL_POSITION' EXPORTING mblnr = l_tab_qamb-mblnr mjahr = l_tab_qamb-mjahr trtyp = 'A' zeilb = l_tab_qamb-zeile zeile = l_tab_qamb-zeile TABLES seqtab = l_msegtab EXCEPTIONS error_message = 1.

MARC_READ CALL FUNCTION 'MARC_READ' EXPORTING I_MATNR = l_chargtab-matnr I_WERKS = l_chargtab-werks IMPORTING E_MARC = l_marc EXCEPTIONS NO_ENTRY = 1 OTHERS = 2 .

QMSP_COMPARE_QM_BATCH_VALUES CALL FUNCTION 'QMSP_COMPARE_QM_BATCH_VALUES' EXPORTING i_charg = l_chargtab-charg i_matnr = l_chargtab-matnr i_werks = l_chargtab-werks i_check_only = c_kreuz i_no_dialog = l_no_dialog TABLES t_qamkrtab = l_mktb EXCEPTIONS no_spec = 1 OTHERS = 2.

QMSP_VALUATE_CHARACTERISTIC CALL FUNCTION 'QMSP_VALUATE_CHARACTERISTIC' EXPORTING i_charg = l_chargtab-charg i_matnr = l_chargtab-matnr i_werks = l_chargtab-werks i_no_dialog = l_no_dialog i_no_dialog_lock = l_no_dialog i_overwrite = c_kreuz i_prueflos = qals-prueflos i_valuation_control = lv_valuation_control IMPORTING e_post_classification = l_post_classification_single e_qm_classif_not_complete = l_classif_not_complete TABLES t_qamkrtab = l_mktb t_classvaltab = g_tab_erg_ueber EXCEPTIONS batch_locked = 01 OTHERS = 02.

QAST_PROCESS_ACTIVITY CALL FUNCTION 'QAST_PROCESS_ACTIVITY' EXPORTING i_check_only = space i_dialog = space i_objnr = qals-objnr i_vorgang = c_vorg_ee_uebernehmen.

QAST_PROCESS_ACTIVITY CALL FUNCTION 'QAST_PROCESS_ACTIVITY' EXPORTING i_check_only = space i_dialog = space i_objnr = qals-objnr i_vorgang = c_vorg_erg_vollst_uebernehmen.

CLAP_DDB_SAVE_CLASSIFICATION CALL FUNCTION 'CLAP_DDB_SAVE_CLASSIFICATION' EXPORTING with_commit = ' '.

QAST_PROCESS_ACTIVITY CALL FUNCTION 'QAST_PROCESS_ACTIVITY' EXPORTING i_check_only = c_kreuz i_dialog = space i_objnr = qals-objnr i_vorgang = c_vorg_ee_uebernehmen EXCEPTIONS not_allowed = 01 activity_not_allowed = 02.

QTLS_PARTIAL_LOT_READ_ALL CALL FUNCTION 'QTLS_PARTIAL_LOT_READ_ALL' EXPORTING i_prueflos = qals-prueflos i_mandant = sy-mandt TABLES e_qalt = l_qalt_tab EXCEPTIONS x_no_data = 01 x_lot_is_initial = 02.

QAST_PROCESS_ACTIVITY CALL FUNCTION 'QAST_PROCESS_ACTIVITY' EXPORTING i_check_only = space i_dialog = space i_objnr = l_qalt_tab-objnr i_vorgang = c_vorg_ee_uebernehmen EXCEPTIONS not_allowed = 01 activity_not_allowed = 02.

QC01_Q_CHARACTERISTICS_SELECT CALL FUNCTION 'QC01_Q_CHARACTERISTICS_SELECT' EXPORTING i_qals = qals i_qalt = l_qalt_tab i_tcode = sy-tcode TABLES t_qamkr_tab = l_qamkrtab EXCEPTIONS no_characteristics = 01.

QMSP_VALUATE_CHARACTERISTIC CALL FUNCTION 'QMSP_VALUATE_CHARACTERISTIC' EXPORTING i_matnr = l_qalt_tab-matnr i_charg = l_qalt_tab-charg i_werks = qals-werkvorg i_valuation_control = c_do_not_valuate_ms "multiple specs not available for partial lots IMPORTING e_post_classification = l_post_classification e_qm_classif_not_complete = l_classif_not_complete TABLES t_qamkrtab = l_qamkrtab t_classvaltab = g_tab_erg_ueber.

QAST_PROCESS_ACTIVITY CALL FUNCTION 'QAST_PROCESS_ACTIVITY' EXPORTING i_check_only = space i_dialog = space i_objnr = l_qalt_tab-objnr i_vorgang = c_vorg_ee_uebernehmen.

QAST_PROCESS_ACTIVITY CALL FUNCTION 'QAST_PROCESS_ACTIVITY' EXPORTING i_check_only = space i_dialog = space i_objnr = l_qalt_tab-objnr i_vorgang = c_vorg_erg_vollst_uebernehmen.

QAST_PROCESS_ACTIVITY





CALL FUNCTION 'QAST_PROCESS_ACTIVITY' EXPORTING i_check_only = space i_dialog = space i_objnr = qals-objnr i_vorgang = c_vorg_ee_uebernehmen.

QAST_PROCESS_ACTIVITY CALL FUNCTION 'QAST_PROCESS_ACTIVITY' EXPORTING i_check_only = space i_dialog = space i_objnr = qals-objnr i_vorgang = c_vorg_erg_vollst_uebernehmen.

CLAP_DDB_SAVE_CLASSIFICATION CALL FUNCTION 'CLAP_DDB_SAVE_CLASSIFICATION' EXPORTING with_commit = ' '.

QAST_STATUS_CHECK CALL FUNCTION 'QAST_STATUS_CHECK' EXPORTING i_objnr = qals-objnr i_status = c_status_paku EXCEPTIONS status_not_activ = 1 OTHERS = 2.

QAST_STATUS_CHECK CALL FUNCTION 'QAST_STATUS_CHECK' EXPORTING i_objnr = qals-objnr i_status = c_status_pako EXCEPTIONS status_not_activ = 1 OTHERS = 2.

STATUS_CHECK_OLD CALL FUNCTION 'STATUS_CHECK_OLD' EXPORTING objnr = qals-objnr status = c_status_pako EXCEPTIONS status_not_active = 1 OTHERS = 2.

QAST_STATUS_CHECK CALL FUNCTION 'QAST_STATUS_CHECK' EXPORTING i_objnr = qals-objnr i_status = 'I0290' EXCEPTIONS status_not_activ = 1 OTHERS = 2.

QAST_STATUS_CHECK CALL FUNCTION 'QAST_STATUS_CHECK' EXPORTING i_objnr = qals-objnr i_status = 'I0289' EXCEPTIONS status_not_activ = 1 OTHERS = 2.



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