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
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!
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'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
AAPMSF01 - documentation and ABAP source code AAP01FMS - documentation and ABAP source code AAP01F08 - Subprogram for RQCAAP01 / RQCAAP02 (certificate for insp.lot / batch) AAP00TOP - Data Declarations AAP00T01 - Common Global Data for Certificate Creation Programs AAP00O01 - PBO module: certificate for the inspection lot or batch