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

AAP00FMS SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

QC01_DELIVERY_PRINT_VIEW_BUF CALL FUNCTION 'QC01_DELIVERY_PRINT_VIEW_BUF' EXPORTING i_comwa = vbco3 IMPORTING e_header = vbdkl TABLES t_items_tab = tvbdpl EXCEPTIONS OTHERS = 0.

VIEW_VBADR CALL FUNCTION 'VIEW_VBADR' EXPORTING input = l_vbpa langu_prop = vbco3-spras IMPORTING adresse = l_vbadr.

VIEW_VBADR CALL FUNCTION 'VIEW_VBADR' EXPORTING input = l_vbpa langu_prop = vbco3-spras IMPORTING adresse = l_vbadr.

QC10_EXIT_DOCUMENT_DATA_CHANGE CALL FUNCTION 'QC10_EXIT_DOCUMENT_DATA_CHANGE' TABLES t_delivery_items_tab = tvbdpl CHANGING delivery_header = vbdkl actual_item = g_posnr language = nast-spras EXCEPTIONS OTHERS = 0.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = address_selection address_group = 'CA01' IMPORTING * ADDRESS_VALUE = * ADDRESS_ADDITIONAL_INFO = * RETURNCODE = * ADDRESS_TEXT = sadr = sadr "SADR40A * TABLES * ADDRESS_GROUPS = * ERROR_TABLE = * VERSIONS = EXCEPTIONS parameter_error = 1 address_not_exist = 2 version_not_exist = 3 internal_error = 4 OTHERS = 5. "SADR40A

MARA_READ CALL FUNCTION 'MARA_READ' EXPORTING i_matnr = g_vbdpl-matnr i_sprache = nast-spras IMPORTING e_makt = makt e_mara = mara EXCEPTIONS no_entry = 01.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = pe_mchar return = mtcor TABLES seqmat01 = tdummy EXCEPTIONS error_message = 01.

STATUS_PRE_READ CALL FUNCTION 'STATUS_PRE_READ' TABLES jsto_pre_tab = l_jsto_pre_tab.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS OTHERS = 1.

QAST_PROCESS_ACTIVITY CALL FUNCTION 'QAST_PROCESS_ACTIVITY' EXPORTING i_check_only = 'X' i_dialog = ' ' i_objnr = l_qalt-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 = ' ' i_objnr = l_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 = ' ' i_objnr = l_qals-objnr i_vorgang = 'QM45' EXCEPTIONS not_allowed = 01 activity_not_allowed = 02.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING reset = space EXCEPTIONS OTHERS = 1.

QC01_BATCH_CLASS CALL FUNCTION 'QC01_BATCH_CLASS' EXPORTING i_batch = l_vbdpl-charg i_material = g_vbdpl-matnr i_plant = l_vbdpl-werks i_language = nast-spras IMPORTING e_class = komi-class e_class_type = komi-klart EXCEPTIONS no_class = 01 internal_error = 02 no_material = 03 no_batch = 04 no_plant = 05.

QC10_EXIT_PROFILE_FIND_BEFORE CALL FUNCTION 'QC10_EXIT_PROFILE_FIND_BEFORE' EXPORTING i_delivery_view_item = g_vbdpl i_delivery_view_head = vbdkl i_message_language = nast-spras TABLES t_delivery_view_all_items_tab = tvbdpl CHANGING communication_area = komi application = g_appl schema = g_schema finding_date = l_find_date EXCEPTIONS OTHERS = 0.

COND_PROTOCOL_REFRESH CALL FUNCTION 'COND_PROTOCOL_REFRESH' EXPORTING free_table = c_kreuz.

V61I_CERT_PROFILE_FINDING CALL FUNCTION 'V61I_CERT_PROFILE_FINDING' EXPORTING i_application = g_appl i_date = l_find_date i_dialog = space i_header_communication = komi i_scheme = g_schema i_protocol = l_protocol IMPORTING e_kondi = g_kondi.

COND_PROTOCOL_SHOW_NEW CALL FUNCTION 'COND_PROTOCOL_SHOW_NEW' EXPORTING cps_kalsm = g_schema cps_kappl = g_appl cps_kvewe = 'I'.

QC10_EXIT_PROFILE_FIND_AFTER





CALL FUNCTION 'QC10_EXIT_PROFILE_FIND_AFTER' CHANGING c_kondi = g_kondi EXCEPTIONS error_message = 0 OTHERS = 0.

QC10_EXIT_PROFILE_CHARS_CHANGE CALL FUNCTION 'QC10_EXIT_PROFILE_CHARS_CHANGE' EXPORTING i_delivery_view_item = g_vbdpl i_delivery_view_head = vbdkl i_language = nast-spras TABLES t_profile_chars_tab = g_qcvm_tab t_delivery_view_all_items_tab = tvbdpl CHANGING profile_header = qcvk EXCEPTIONS OTHERS = 0.

QC01_QCVM_SEL_FUNCTIONS_ASSIGN CALL FUNCTION 'QC01_QCVM_SEL_FUNCTIONS_ASSIGN' EXPORTING i_kzherkwert = l_qcvm_line-kzherkwert i_kzherkvg = l_qcvm_line-kzherkvg i_kzherktext = l_qcvm_line-kzherktext i_kzstrskip = l_qcvm_line-kzstrskip IMPORTING e_tq61_fbname = l_tq61_fbname e_tq61_kzfromlot = l_tq61_kzfromlot e_tq61_ipmedium = l_tq61_ipmedium e_tq62_fbname = l_tq62_fbname e_tq63_fbname = l_tq63_fbname e_tq63_kzfromlot = l_tq63_kzfromlot e_tq64_fbname = l_tq64_fbname EXCEPTIONS no_data_found_tq61 = 01 no_data_found_tq62 = 02 no_data_found_tq63 = 03 no_data_found_tq64 = 04.

QVDM_READ CALL FUNCTION 'QVDM_READ' EXPORTING i_kunnr = vbco3-kunde i_matnr = g_vbdpl-matnr i_vkorg = vbdkl-vkorg i_bypass_buffer = ' ' IMPORTING e_qvdm = qvdm EXCEPTIONS no_data = 01 no_kunnr = 02 no_vkorg = 03.

CLSE_SELECT_CABN CALL FUNCTION 'CLSE_SELECT_CABN' EXPORTING key_date = nast-erdat TABLES in_cabn = r_atinn t_cabn = l_cabn_tab EXCEPTIONS no_entry_found = 1 OTHERS = 2.

VB_BATCH_DEFINITION CALL FUNCTION 'VB_BATCH_DEFINITION' IMPORTING kzdch = l_kzdch.

CLOB_GET_CLASSTYPE_FOR_BATCH CALL FUNCTION 'CLOB_GET_CLASSTYPE_FOR_BATCH' EXPORTING table = lc_obtab_mcha ptable = l_obtab spras = p_language IMPORTING classtype = l_class_type EXCEPTIONS classtype_not_found = 01 classtype_not_active = 02.

CTMS_OBJECT_HAS_STANDARDCLASS CALL FUNCTION 'CTMS_OBJECT_HAS_STANDARDCLASS' EXPORTING object = l_objec_matnr table = lc_obtab_mara classtype = l_class_type with_text = space IMPORTING class = l_class classtype = l_class_type EXCEPTIONS no_classification = 01 table_not_allowed = 02 internal_error = 03.

CTMS_CLASS_OBJECT_DDB CALL FUNCTION 'CTMS_CLASS_OBJECT_DDB' EXPORTING class = l_class classtype = l_class_type language = p_language objectid = lc_obtab_mara object = l_objec_matnr display = c_kreuz key_date = p_date EXCEPTIONS OTHERS = 01.

CTMS_DDB_HAS_CHARACTERISTICS CALL FUNCTION 'CTMS_DDB_HAS_CHARACTERISTICS' EXPORTING required = 'X' optional = 'X' inherited_only = ' ' assigned = 'X' unassigned = 'X' inherited_excluding = ' ' TABLES exp_characteristics = l_char_tab EXCEPTIONS not_found = 1 no_characteristic_in_ddb = 2 OTHERS = 3.

QC09_ORIGINS_FOR_MATERIALS CALL FUNCTION 'QC09_ORIGINS_FOR_MATERIALS' TABLES t_kzherkvg_tab = r_spec_origin_mat t_kzherkwert_tab = r_res_origin_mat EXCEPTIONS OTHERS = 1.

QC10_EXIT_CUSTOMER_NR_CHANGE CALL FUNCTION 'QC10_EXIT_CUSTOMER_NR_CHANGE' EXPORTING delivery_header = vbdkl message_record = nast actual_item = g_posnr contact_partner = l_knvk CHANGING customer_number = p_kunde EXCEPTIONS OTHERS = 0.

VIEW_VBADR CALL FUNCTION 'VIEW_VBADR' EXPORTING input = p_vbpa langu_prop = p_spras IMPORTING adresse = p_vbadr.



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