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

MQEVAF24 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

QAUT_INSPTYPE CALL FUNCTION 'QAUT_INSPTYPE' EXPORTING I_PRUEFART = I_ART I_WERK = I_WRK EXCEPTIONS NO_AUTHORIZATION = 4.

QBCK_QINF_READ CALL FUNCTION 'QBCK_QINF_READ' EXPORTING I_LIFNR = QALS-LIFNR I_MATNR = QALS-MATNR I_WERK = QALS-WERK I_REVLV = QALS-REVLV I_EMATNR = QALS-EMATNR I_STAT17 = QALS-STAT17 IMPORTING E_QINF = G_QINF EXCEPTIONS NO_QINF = 01.

STATUS_NUMBER_CONVERSION CALL FUNCTION 'STATUS_NUMBER_CONVERSION' EXPORTING LANGUAGE = QALS-SPRACHE OBJNR = G_QINF-OBJNR STATUS_NUMBER = L_STATUS STSMA = G_QINF-STSMA IMPORTING TXT30 = G_KTEXT_QINFSTATUS EXCEPTIONS INSUFFICIENT_INPUT = 01 OBJECT_NOT_FOUND = 02 STATUS_NOT_FOUND = 03 STSMA_NOT_FOUND = 04.

TQ30_READ CALL FUNCTION 'TQ30_READ' EXPORTING I_ART = QALS-ART I_SPRACHE = SY-LANGU IMPORTING E_TQ30 = TQ30 E_TQ30T = TQ30T EXCEPTIONS NO_ENTRY = 01.

ENQUEUE_EQQALS1 CALL FUNCTION 'ENQUEUE_EQQALS1' EXPORTING PRUEFLOS = QALS-PRUEFLOS EXCEPTIONS FOREIGN_LOCK = 4 SYSTEM_FAILURE = 8.

SUSR_USER_ADDRESS_READ CALL FUNCTION 'SUSR_USER_ADDRESS_READ' EXPORTING USER_NAME = L_NAME IMPORTING USER_ADDRESS = L_USER EXCEPTIONS USER_ADDRESS_NOT_FOUND = 1.

QPSE_LOT_READ CALL FUNCTION 'QPSE_LOT_READ' EXPORTING I_PRUEFLOS = QALS-PRUEFLOS I_RESET_LOT = L_NEW_READ IMPORTING E_QALS = QALS EXCEPTIONS NO_LOT = 04.

STATUS_DELETE_FROM_BUFFER CALL FUNCTION 'STATUS_DELETE_FROM_BUFFER' EXPORTING OBJNR = QALS-OBJNR.

QAUT_MATERIAL CALL FUNCTION 'QAUT_MATERIAL' EXPORTING I_WERKS = QALS-WERK I_QMATMODUS = 'B' I_QMATAUTH = QALS-QMATAUTH.

SWU_OBJECT_PUBLISH CALL FUNCTION 'SWU_OBJECT_PUBLISH' EXPORTING OBJTYPE = 'BUS2045' OBJKEY = QALS-PRUEFLOS.



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