MQEVAF12 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 MQEVAF12 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
READ_NETWORK_AUFPL_APLZL CALL FUNCTION 'READ_NETWORK_AUFPL_APLZL' EXPORTING nplnr = i_qals-nplnr IMPORTING aufpl = l_imtab_wa-aufpl.
QAST_PROCESS_ACTIVITY CALL FUNCTION 'QAST_PROCESS_ACTIVITY' EXPORTING i_check_only = 'X' i_dialog = ' ' i_objnr = qals-objnr i_vorgang = c_vorg_bb_beenden EXCEPTIONS not_allowed = 1 activity_not_allowed = 2 OTHERS = 3.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-s01.
VB_CHANGE_BATCH_STATUS CALL FUNCTION 'VB_CHANGE_BATCH_STATUS' EXPORTING matnr = i_qals-matnr charg = i_qals-charg werks = i_qals-werkvorg zustd = p_rqeva-charg_zust bypass_read = c_kreuz bypass_lock = space meins = i_qals-mengeneinh bypass_post = c_kreuz authority_check = c_kreuz TABLES zimseg = l_zimsegtab EXCEPTIONS no_status_to_change = 00.
QAMB_REFRESH_DATA CALL FUNCTION 'QAMB_REFRESH_DATA' EXPORTING i_prueflos = i_qals-prueflos.
MB_CREATE_GOODS_MOVEMENT CALL FUNCTION 'MB_CREATE_GOODS_MOVEMENT' EXPORTING imkpf = l_imkpf xallr = c_kreuz "Immer initial anfangen xallp = c_kreuz "Nur buchen, wenn alle Posit. o.k
SERIAL_PROFILE_READ CALL FUNCTION 'SERIAL_PROFILE_READ' EXPORTING profile_r = qals-sernp operation_r = 'MMSL' IMPORTING t_377 = l_t377 EXCEPTIONS no_t377p_entry = 1 no_t377_entry = 2 OTHERS = 3.
SERNR_SNAPSHOT_RELOAD CALL FUNCTION 'SERNR_SNAPSHOT_RELOAD' EXPORTING MEMORY_ID = 'SAPMQEVA_SERIAL' * WITH_FREE_MEMORY = 'X' * FREE_ONLY = ' ' EXCEPTIONS NO_RELOAD_SOURCE = 1 INVALID_IMPORT_PARAMETER = 2 OTHERS = 3.
SERIALPROFILE_CHECK call function 'SERIALPROFILE_CHECK' exporting operation = 'SNCL'.
QFRD_UPDATE_SERIALNR CALL FUNCTION 'QFRD_UPDATE_SERIALNR' EXPORTING i_srhd_wa = l_qfserhd EXCEPTIONS no_entry = 0.
ME_REFRESH_COMP_GOODS_MOVEMENT CALL FUNCTION 'ME_REFRESH_COMP_GOODS_MOVEMENT'.
QAMB_COLLECT_RECORD CALL FUNCTION 'QAMB_COLLECT_RECORD' EXPORTING refresh = c_kreuz lotnumber = i_qals-prueflos docyear = l_emkpf-mjahr docnumber = l_emkpf-mblnr docposition = l_emtab_wa-mblpo type = '3'.
QAMB_COLLECT_RECORD CALL FUNCTION 'QAMB_COLLECT_RECORD' EXPORTING lotnumber = i_qals-prueflos docyear = l_emkpf-mjahr docnumber = l_emkpf-mblnr docposition = l_emtab_wa-mblpo type = '3'.
QAST_PROCESS_ACTIVITY CALL FUNCTION 'QAST_PROCESS_ACTIVITY' EXPORTING i_objnr = qals-objnr i_vorgang = c_vorg_bb_beenden EXCEPTIONS not_allowed = 01.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = space.
MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = p_emseg-msgid msgnr = p_emseg-msgno msgv1 = p_emseg-msgv1 msgv2 = p_emseg-msgv2 msgv3 = p_emseg-msgv3 msgv4 = p_emseg-msgv4 IMPORTING message_text_output = p_protocol-prot_zeile EXCEPTIONS OTHERS = 1.
VB_CHANGE_BATCH_STATUS CALL FUNCTION 'VB_CHANGE_BATCH_STATUS' EXPORTING matnr = qals-matnr charg = qals-charg werks = qals-werkvorg zustd = rqeva-charg_zust bypass_read = space bypass_lock = space bypass_post = space authority_check = c_kreuz calltcode = mqeva_tcode "note 984069 IMPORTING emkpf = l_emkpf EXCEPTIONS no_status_to_change = 00.
QAMB_COLLECT_RECORD CALL FUNCTION 'QAMB_COLLECT_RECORD' EXPORTING lotnumber = qals-prueflos docyear = l_emkpf-mjahr docnumber = l_emkpf-mblnr type = '3'.
CALL FUNCTION 'VB_BATCH_DEFINITION' IMPORTING kzdch = tcuch-kzdch.
ENQUEUE_EMMCHA CALL FUNCTION 'ENQUEUE_EMMCHA' EXPORTING matnr = qals-matnr werks = qals-werk charg = qals-charg EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 2.
ENQUEUE_EMMCH1E CALL FUNCTION 'ENQUEUE_EMMCH1E' EXPORTING matnr = qals-matnr charg = qals-charg EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
V51S_HU_LGORT CALL FUNCTION 'V51S_HU_LGORT' EXPORTING if_lgort = pi_lgort if_werks = pi_werks IMPORTING ef_hu_managed = l_xhupf EXCEPTIONS lgort_not_exist = 1 OTHERS = 2.
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 MQEVAF12 or its description.
MQEVAF12 - documentation and ABAP source code MQEVAF10 - documentation and ABAP source code MQEVAF05 - Include for status management MQEVA1EX - documentation and ABAP source code MQEEOT10 - documentation and ABAP source code MQEEATOP - Data declarations for main program SAPMQEEA of results recording