AAP01FMS 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 AAP01FMS 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.
INCLUDE RQ00MF10.
No SAP DATABASE tables are accessed within this REPORT code!
QELA_START_SELECTION_OF_LOTS CALL FUNCTION 'QELA_START_SELECTION_OF_LOTS' EXPORTING i_stat_ero = space i_stat_frei = space IMPORTING e_prueflos = p_lot EXCEPTIONS no_entry = 1 no_selected = 2 OTHERS = 3.
HELP_VALUES_GET_WITH_MATCHCODE CALL FUNCTION 'HELP_VALUES_GET_WITH_MATCHCODE' EXPORTING matchcode_object = p_matchcode_object IMPORTING select_value = p_parnr EXCEPTIONS invalid_dictionary_field = 1 invalid_matchdcode_object = 2 no_selection = 3 OTHERS = 4.
CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = p_parnr IMPORTING output = p_parnr.
TQMS2_READ CALL FUNCTION 'TQMS2_READ' EXPORTING i_object = p_msob IMPORTING e_tqms2 = ls_tqms2 EXCEPTIONS OTHERS = 1.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = l_mtcom IMPORTING matdaten = mara TABLES seqmat01 = l_dummy_tab EXCEPTIONS material_not_found = 1 OTHERS = 0.
QAST_PROCESS_ACTIVITY CALL FUNCTION 'QAST_PROCESS_ACTIVITY' EXPORTING i_check_only = 'X' i_dialog = c_kreuz i_objnr = qals-objnr i_vorgang = 'QM45' EXCEPTIONS not_allowed = 01 activity_not_allowed = 02.
QAST_PROCESS_ACTIVITY CALL FUNCTION 'QAST_PROCESS_ACTIVITY' EXPORTING i_check_only = 'X' i_dialog = 'X' i_objnr = qcvk-objnr i_vorgang = c_vorg_zuordnen EXCEPTIONS not_allowed = 01 activity_not_allowed = 02.
TPAR_SINGLE_READ CALL FUNCTION 'TPAR_SINGLE_READ' EXPORTING i_parvw = p_parvw IMPORTING o_tpar = l_tpar EXCEPTIONS OTHERS = 1.
QSS1_KNA1_SHOW CALL FUNCTION 'QSS1_KNA1_SHOW' EXPORTING i_kunnr = l_kunnr EXCEPTIONS no_kunde = 1 OTHERS = 2.
QSS1_KNA1_SHOW CALL FUNCTION 'QSS1_KNA1_SHOW' EXPORTING i_kunnr = knvk-kunnr EXCEPTIONS no_kunde = 1 OTHERS = 2.
QSS1_LFA1_SHOW CALL FUNCTION 'QSS1_LFA1_SHOW' EXPORTING i_lifnr = l_lifnr EXCEPTIONS no_lieferant = 1 OTHERS = 2.
CO_RM_COMPANYCODE_FIND CALL FUNCTION 'CO_RM_COMPANYCODE_FIND' EXPORTING werks = p_werks IMPORTING compcode = t001g-bukrs EXCEPTIONS no_entry = 1 OTHERS = 2.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_prog dynumb = l_dnum translate_to_upper = c_kreuz TABLES dynpfields = l_dynpfield_tab EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.
QELB_QCVK_SELECT CALL FUNCTION 'QELB_QCVK_SELECT' EXPORTING i_ctyp = p_qcvkt i_vorlnr = p_qcvnr i_only_free = c_kreuz IMPORTING e_qcvk = l_qcvk EXCEPTIONS no_ctyp = 1 no_data_found = 2 no_data_selected = 3 no_vorlnr = 4 cancelled = 5 internal_error = 6 OTHERS = 7.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = l_prog dynumb = l_dnum TABLES dynpfields = l_dynpfield_tab EXCEPTIONS invalid_abapworkarea = 00 invalid_dynprofield = 00 invalid_dynproname = 00 invalid_dynpronummer = 00 invalid_request = 00 no_fielddescription = 00 undefind_error = 00.
HELP_VALUES_GET_WITH_MATCHCODE CALL FUNCTION 'HELP_VALUES_GET_WITH_MATCHCODE' EXPORTING matchcode_object = 'MCH1' input_value = l_input_value IMPORTING select_value = pe_charg EXCEPTIONS OTHERS = 1.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = p_icon text = p_text info = p_quickinfo IMPORTING RESULT = p_icon_and_text EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
QC02MS_MSOBJECTS_STORE CALL FUNCTION 'QC02MS_MSOBJECTS_STORE' EXPORTING i_customer = p_kunr i_country = p_ctry i_ms_object = p_msob i_search_field = p_schfld.
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.
VB_BATCH_DEFINITION CALL FUNCTION 'VB_BATCH_DEFINITION' IMPORTING kzdch = p_kzdch EXCEPTIONS OTHERS = 1.
DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'NA_NACHA' text = c_kreuz TABLES dd07v_tab = l_dd07v_tab EXCEPTIONS wrong_textflag = 1 OTHERS = 2.
HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING selectfield = 'NAST-NACHA' titel = %_p_medium_%_app_%-text no_pers_help_select = c_kreuz IMPORTING ind = l_index TABLES fields = l_fields_tab full_table = l_display_tab EXCEPTIONS full_table_empty = 1 no_tablestructure_given = 2 no_tablefields_in_dictionary = 3 more_then_one_selectfield = 4 no_selectfield = 5 OTHERS = 6.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = l_repid dynumb = l_dynnr TABLES dynpfields = l_dynpfields_tab EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 OTHERS = 8.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'QCVK' fieldname = 'VORLNR' TABLES return_tab = l_return_tab EXCEPTIONS OTHERS = 1.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = l_dyname dynumb = l_dynumb TABLES dynpfields = l_dynpfields_tab EXCEPTIONS OTHERS = 1.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'MTK_CLASS_DATA' fieldname = 'MS_OBJECT' TABLES return_tab = lt_return EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.
TQMS2_READ CALL FUNCTION 'TQMS2_READ' EXPORTING i_object = p_msob IMPORTING e_tqms2 = ls_tqms2 EXCEPTIONS OTHERS = 1.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = lv_dyname dynumb = lv_dynumb TABLES dynpfields = lt_dynpfields EXCEPTIONS OTHERS = 0.
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 AAP01FMS or its description.
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 AAP00I01 - PAI module: certificate for the inspection lot or batch