SAP Reports / Programs | Quality Management | Quality Certificates(QM-CA) SAP QM

AAPMSF01 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

QC02MS_MSOBJECT_INITIALIZE CALL FUNCTION 'QC02MS_MSOBJECT_INITIALIZE'.

QLMSM_QAOBJMS_READ CALL FUNCTION 'QLMSM_QAOBJMS_READ' EXPORTING i_prueflos = l_prueflos TABLES t_qaobjms = l_qaobjms_tab EXCEPTIONS OTHERS = 1.

QLMSS_GET_OBJECT_NAME CALL FUNCTION 'QLMSS_GET_OBJECT_NAME' EXPORTING i_prueflos = l_qaobjms-prueflos i_qaobjms = l_qaobjms IMPORTING e_typtext = l_msobj-typtext e_objectno = l_msobj-objectno e_objecttext = l_msobj-objecttext EXCEPTIONS OTHERS = 1.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'REFOBJ' window_title = text-tit value_org = 'S' TABLES value_tab = l_msobj_tab return_tab = l_return_tab EXCEPTIONS OTHERS = 1.

QC02MS_MSOBJECT_FIND CALL FUNCTION 'QC02MS_MSOBJECT_FIND' EXPORTING i_prueflos = l_prueflos i_qaobjms = l_qaobjms TABLES e_qaobjms_tab = l_qaobjms_tab EXCEPTIONS no_msobject = 1 tasklist_error = 2 OTHERS = 3.

HELP_VALUES_GET_WITH_MATCHCODE * CALL FUNCTION 'HELP_VALUES_GET_WITH_MATCHCODE' * EXPORTING * matchcode_object = 'MAT1' * IMPORTING * select_value = p_matnr * EXCEPTIONS * OTHERS = 1.

HELP_VALUES_GET * CALL FUNCTION 'HELP_VALUES_GET' * EXPORTING * fieldname = 'WERKS' * tabname = 'QPMK' * IMPORTING * select_value = l_werks * EXCEPTIONS * OTHERS = 1.

QC02MS_MSOBJECTS_STORE * CALL FUNCTION 'QC02MS_MSOBJECTS_STORE' * EXPORTING * i_customer = p_kunr * i_country = p_ctry * i_ms_object = p_msob.

QC02MS_MSOBJECT_FIND CALL FUNCTION 'QC02MS_MSOBJECT_FIND' EXPORTING i_prueflos = l_prueflos i_qaobjms = l_qaobjms TABLES e_qaobjms_tab = l_qaobjms_tab EXCEPTIONS no_msobject = 1 tasklist_error = 2 OTHERS = 3.

QLMSS_GET_OBJECT_NAME CALL FUNCTION 'QLMSS_GET_OBJECT_NAME' EXPORTING i_prueflos = g_qaobjms-prueflos i_qaobjms = g_qaobjms IMPORTING e_typtext = g_msobj-typtext e_objectno = g_msobj-objectno e_objecttext = g_msobj-objecttext EXCEPTIONS OTHERS = 1.

QLMSS_GET_OBJECT_NAME * CALL FUNCTION 'QLMSS_GET_OBJECT_NAME' * EXPORTING * i_prueflos = lc_empty_prueflos * i_qaobjms = l_qaobjms * IMPORTING * e_typtext = l_typtext * e_objecttext = l_objecttext * EXCEPTIONS * not_found = 1 * OTHERS = 2.

QLMSS_GET_OBJECT_NAME * CALL FUNCTION 'QLMSS_GET_OBJECT_NAME' * EXPORTING * i_prueflos = lc_empty_prueflos * i_qaobjms = l_qaobjms * IMPORTING * e_typtext = l_typtext * e_objecttext = l_objecttext * EXCEPTIONS * not_found = 1 * OTHERS = 2.

QLMSS_GET_OBJECT_NAME * CALL FUNCTION 'QLMSS_GET_OBJECT_NAME' * EXPORTING * i_prueflos = lc_empty_prueflos * i_qaobjms = l_qaobjms * IMPORTING * e_typtext = l_typtext * e_objecttext = l_objecttext * EXCEPTIONS * not_found = 1 * OTHERS = 2.

QC02MS_MSOBJECT_FIND CALL FUNCTION 'QC02MS_MSOBJECT_FIND' EXPORTING i_prueflos = l_prueflos TABLES e_qaobjms_tab = l_qaobjms_tab EXCEPTIONS OTHERS = 1.

QLMSS_GET_OBJECT_NAME CALL FUNCTION 'QLMSS_GET_OBJECT_NAME' EXPORTING i_prueflos = l_prueflos i_qaobjms = l_qaobjms i_langu = l_langu IMPORTING e_typtext = l_typtext e_objectno = l_objectno e_objecttext = l_objecttext EXCEPTIONS OTHERS = 1.

QC02MS_MSOBJECT_INITIALIZE CALL FUNCTION 'QC02MS_MSOBJECT_INITIALIZE'.



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