SAP Reports / Programs | Basis Components | Use Subcomponents | Archive Development Kit(BC-CCM-ADK) SAP BC

MAADMF04 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

ARCHIVE_POPUP_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_POPUP_CUSTOMIZING_DATA' EXPORTING object = arch_txt-object.

VIEW_MAINTENANCE_SINGLE_ENTRY CALL FUNCTION 'VIEW_MAINTENANCE_SINGLE_ENTRY' EXPORTING action = 'UPD' view_name = 'V_ARCDEL' TABLES excl_cua_funct = excl_cua_da_control CHANGING entry = arc_del_entry EXCEPTIONS foreign_lock = 1 OTHERS = 15.

VIEW_MAINTENANCE_SINGLE_ENTRY CALL FUNCTION 'VIEW_MAINTENANCE_SINGLE_ENTRY' EXPORTING action = 'SHOW' view_name = 'V_ARCDEL' TABLES excl_cua_funct = excl_cua_da_control CHANGING entry = arc_del_entry EXCEPTIONS OTHERS = 0.

VIEWCLUSTER_MAINTENANCE_CALL CALL FUNCTION 'VIEWCLUSTER_MAINTENANCE_CALL' EXPORTING viewcluster_name = 'ARCH_ROUTING' maintenance_action = 'U' EXCEPTIONS OTHERS = 1.

VIEW_MAINTENANCE_CALL CALL FUNCTION 'VIEW_MAINTENANCE_CALL' EXPORTING action = 'U' view_name = 'ARCH_XHOME' TABLES excl_cua_funct = excl_cua_da_control EXCEPTIONS foreign_lock = 1 OTHERS = 15.

VIEW_MAINTENANCE_CALL CALL FUNCTION 'VIEW_MAINTENANCE_CALL' EXPORTING action = 'S' view_name = 'ARCH_XHOME' TABLES excl_cua_funct = excl_cua_da_control EXCEPTIONS OTHERS = 0.

VIEW_MAINTENANCE_CALL CALL FUNCTION 'VIEW_MAINTENANCE_CALL' EXPORTING action = 'U' view_name = 'ARCH_DAS' TABLES excl_cua_funct = excl_cua_da_control EXCEPTIONS foreign_lock = 1 OTHERS = 15.

VIEW_MAINTENANCE_CALL CALL FUNCTION 'VIEW_MAINTENANCE_CALL' EXPORTING action = 'S' view_name = 'ARCH_DAS' TABLES excl_cua_funct = excl_cua_da_control EXCEPTIONS OTHERS = 0.

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = arch_obj-delete_prg variant = arch_usr-test_varia IMPORTING r_c = r_c.

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = arch_obj-delete_prg variant = arch_usr-prod_varia IMPORTING r_c = r_c.

ARCHIVE_CHECK_EURO_CONFLICT CALL FUNCTION 'ARCHIVE_CHECK_EURO_CONFLICT' EXPORTING jobtype = gc_job_rea object = arch_obj-object session = selected_files-document EXCEPTIONS action_not_possible = 1.

ARCHIVE_SCHEDULE_JOB CALL FUNCTION 'ARCHIVE_SCHEDULE_JOB' EXPORTING object = arch_obj-object jobtype = gc_job_rea variant = admi_jobs-variant * cleanup_job_table = ' ' start_immediate = startimmediate start_condition = starttime print_parameters = priparms arch_parameters = arcparms user = btch1120-authcknam ext_user = gc_user_sap read_or_index_prog = report delete_failed_job = 'X' TABLES files_to_be_read = it_files_read EXCEPTIONS object_not_found = 1 job_not_created = 2 no_such_variant = 3.

ARCHIVE_SCHEDULE_JOB CALL FUNCTION 'ARCHIVE_SCHEDULE_JOB' EXPORTING object = arch_obj-object jobtype = gc_job_idx variant = admi_jobs-variant start_immediate = startimmediate start_condition = starttime print_parameters = priparms arch_parameters = arcparms user = btch1120-authcknam ext_user = gc_user_sap session = selected_files-document file_key = selected_files-archiv_key read_or_index_prog = progidx delete_failed_job = 'X' EXCEPTIONS object_not_found = 1 job_not_created = 2 no_such_variant = 3.

ARCHIVE_SCHEDULE_JOB CALL FUNCTION 'ARCHIVE_SCHEDULE_JOB' EXPORTING object = arch_obj-object jobtype = gc_job_idx variant = admi_jobs-variant start_immediate = startimmediate start_condition = starttime print_parameters = priparms arch_parameters = arcparms user = btch1120-authcknam ext_user = gc_user_sap read_or_index_prog = progidx delete_failed_job = 'X' EXCEPTIONS object_not_found = 1 job_not_created = 2 no_such_variant = 3.

POPUP_DISPLAY_TEXT_USER_BUTTON CALL FUNCTION 'POPUP_DISPLAY_TEXT_USER_BUTTON' EXPORTING language = sy-langu popup_title = text-003 text_object = 'ARCHIVE_ADMIN_INFO_009' display_ok_button = space display_cancel_button = cancel_button IMPORTING answer = files_answer TABLES user_buttons = user_buttons parameter = par_tab EXCEPTIONS OTHERS = 1.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = btc_no stdt_input = starttime IMPORTING stdt_output = starttime EXCEPTIONS OTHERS = 0.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = btc_no stdt_input = starttime IMPORTING stdt_output = starttime EXCEPTIONS OTHERS = 0.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = perc text = p_text.

RS_VARIANT_ADMIN_DATA





CALL FUNCTION 'RS_VARIANT_ADMIN_DATA' EXPORTING curr_report = p_progname TABLES variant_info = lt_variant_info variant_names = lt_variant_names EXCEPTIONS OTHERS = 1.

RS_VARIANT_CATALOG CALL FUNCTION 'RS_VARIANT_CATALOG' EXPORTING report = p_progname IMPORTING sel_variant = p_variant EXCEPTIONS no_report = 01 report_not_existent = 02 report_not_supplied = 03 no_variants = 04.

RS_VARIANT_CONTENTS CALL FUNCTION 'RS_VARIANT_CONTENTS' EXPORTING report = p_progname variant = -variant TABLES valutab = lt_var_params EXCEPTIONS OTHERS = 1.

RS_VARIANT_CATALOG CALL FUNCTION 'RS_VARIANT_CATALOG' EXPORTING report = p_progname IMPORTING sel_variant = p_variant EXCEPTIONS no_report = 01 report_not_existent = 02 report_not_supplied = 03 no_variants = 04.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'VARIANT' dynpprog = 'SAPMAADM' dynpnr = lv_dynnr dynprofield = 'ARCH_OBJ-OBJECT' value_org = 'S' TABLES value_tab = lt_variant_list_out EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = 'SAPMAADM' dynumb = sy-dynnr TABLES dynpfields = lt_dynpfields EXCEPTIONS OTHERS = 1.



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