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

MAADMI01 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

ADK_CCMS_POPUP_TABLES * call function 'ADK_CCMS_POPUP_TABLES' starting new task 'POP_ADK' * exporting * object = arch_txt-object * exceptions * others = 1.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING language = sy-langu popup_title = text-003 start_column = 10 start_row = 3 text_object = 'ARCHIVE_ADMIN_INFO_001' EXCEPTIONS text_not_found = 01.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING language = sy-langu popup_title = text-003 start_column = 10 start_row = 3 text_object = 'ARCHIVE_ADMIN_INFO_001' EXCEPTIONS text_not_found = 01.

POPUP_DISPLAY_TEXT_USER_BUTTON CALL FUNCTION 'POPUP_DISPLAY_TEXT_USER_BUTTON' EXPORTING language = sy-langu popup_title = text-003 start_column = 10 start_row = 3 text_object = 'ARCHIVE_ADMIN_INFO_004' display_ok_button = 'X' display_cancel_button = ' ' TABLES parameter = parameter EXCEPTIONS text_not_found = 01.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = btc_yes stdt_input = starttime stdt_opcode = btc_edit_startdate IMPORTING stdt_modify_type = start_modify_flag stdt_output = starttime EXCEPTIONS OTHERS = 99.

ARCHDOC_SHOW_FOR_OBJECT CALL FUNCTION 'ARCHDOC_SHOW_FOR_OBJECT' EXPORTING i_object = arch_obj-object i_progname = arch_obj-reorga_prg.

ARCHDOC_SHOW_FOR_OBJECT CALL FUNCTION 'ARCHDOC_SHOW_FOR_OBJECT' EXPORTING i_object = arch_obj-object i_progname = arch_obj-first_prg.

ARCHDOC_SHOW_FOR_OBJECT CALL FUNCTION 'ARCHDOC_SHOW_FOR_OBJECT' EXPORTING i_object = arch_obj-object i_progname = arch_obj-last_prg.

FILE_GET_NAME_AND_LOGICAL_PATH CALL FUNCTION 'FILE_GET_NAME_AND_LOGICAL_PATH' "GET LOG. PATHNAME

FILE_GET_NAME_USING_PATH CALL FUNCTION 'FILE_GET_NAME_USING_PATH' "GET PHYSICAL PATHNAME EXPORTING logical_path = logical_path parameter_1 = arch_obj-applic parameter_3 = l_object file_name = 'x' IMPORTING file_name_with_path = file_path EXCEPTIONS path_not_found = 1 missing_parameter = 2 operating_system_not_found = 3 file_system_not_found = 4 OTHERS = 5.

SHOW_FILEPATH_FREESPACE CALL FUNCTION 'SHOW_FILEPATH_FREESPACE' "FREESPACE FROM OSCOL EXPORTING file_path = file_path dest_type = 'L' IMPORTING free_space = freespace EXCEPTIONS cant_find_destination = 1 cant_get_destinations = 1 OTHERS = 4.

RS_VARIANT_CATALOG CALL FUNCTION 'RS_VARIANT_CATALOG' EXPORTING report = arch_obj-first_prg IMPORTING sel_variant = admi_jobs-variant EXCEPTIONS no_report = 01 report_not_existent = 02 report_not_supplied = 03 no_variants = 04.

RS_VARIANT_CATALOG CALL FUNCTION 'RS_VARIANT_CATALOG' EXPORTING report = arch_obj-last_prg IMPORTING sel_variant = admi_jobs-variant EXCEPTIONS no_report = 01 report_not_existent = 02 report_not_supplied = 03 no_variants = 04.

RS_VARIANT_CATALOG CALL FUNCTION 'RS_VARIANT_CATALOG' EXPORTING report = arch_obj-reorga_prg IMPORTING sel_variant = admi_jobs-variant EXCEPTIONS no_report = 01 report_not_existent = 02 report_not_supplied = 03 no_variants = 04.

RS_VARIANT_CATALOG CALL FUNCTION 'RS_VARIANT_CATALOG' EXPORTING report = arch_obj-retrie_prg IMPORTING sel_variant = admi_jobs-variant EXCEPTIONS no_report = 01 report_not_existent = 02 report_not_supplied = 03 no_variants = 04.

USER_EXISTS CALL FUNCTION 'USER_EXISTS' EXPORTING bname = btch1120-authcknam EXCEPTIONS user_dont_exist = 01 user_exists = 02.

ADK_CCMS_POPUP_TABLES * call function 'ADK_CCMS_POPUP_TABLES' starting new task 'POP_ADK' * exporting * object = arch_txt-object * exceptions * others = 1.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING language = sy-langu popup_title = text-003 start_column = 10 start_row = 3 text_object = 'ARCHIVE_ADMIN_INFO_002' EXCEPTIONS text_not_found = 01.

POPUP_DISPLAY_TEXT





CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING language = sy-langu popup_title = text-003 start_column = 10 start_row = 3 text_object = 'ARCHIVE_ADMIN_INFO_004' EXCEPTIONS text_not_found = 01.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = btc_yes stdt_input = starttime stdt_opcode = btc_edit_startdate IMPORTING stdt_modify_type = start_modify_flag stdt_output = starttime EXCEPTIONS OTHERS = 99.

ARCHDOC_SHOW_FOR_OBJECT CALL FUNCTION 'ARCHDOC_SHOW_FOR_OBJECT' EXPORTING i_object = arch_obj-object i_progname = arch_obj-delete_prg.

ARCHIVE_ADMIN_POPUP_DOCUMENTS CALL FUNCTION 'ARCHIVE_ADMIN_POPUP_DOCUMENTS' EXPORTING object = arch_txt-object show_deleted_run = ' ' show_files = 'X' dialog_type = 'DELETE' TABLES selected_files = selected_files EXCEPTIONS object_not_found = 01 cancelled_by_user = 02 no_files_selected = 03.

ADK_CCMS_POPUP_TABLES * call function 'ADK_CCMS_POPUP_TABLES' starting new task 'POP_ADK' * exporting * object = arch_txt-object * exceptions * others = 1.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING language = sy-langu popup_title = text-003 start_column = 10 start_row = 3 text_object = 'ARCHIVE_ADMIN_INFO_003' EXCEPTIONS text_not_found = 01.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING language = sy-langu popup_title = text-003 start_column = 10 start_row = 3 text_object = 'ARCHIVE_ADMIN_INFO_003' EXCEPTIONS text_not_found = 01.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING language = sy-langu popup_title = text-003 start_column = 10 start_row = 3 text_object = 'ARCHIVE_ADMIN_INFO_004' EXCEPTIONS text_not_found = 01.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = btc_yes stdt_input = starttime stdt_opcode = btc_edit_startdate IMPORTING stdt_modify_type = start_modify_flag stdt_output = starttime EXCEPTIONS OTHERS = 99.

ARCHDOC_SHOW_FOR_OBJECT CALL FUNCTION 'ARCHDOC_SHOW_FOR_OBJECT' EXPORTING i_object = arch_obj-object.

ARCHIVE_ADMIN_POPUP_DOCUMENTS CALL FUNCTION 'ARCHIVE_ADMIN_POPUP_DOCUMENTS' EXPORTING object = arch_txt-object show_deleted_run = ' ' show_files = 'X' dialog_type = 'RELOAD' TABLES selected_files = selected_files EXCEPTIONS object_not_found = 01 cancelled_by_user = 02 no_files_selected = 03.

NETWORK_SET_FUNCTION_CODE CALL FUNCTION 'NETWORK_SET_FUNCTION_CODE' EXPORTING handle = gv_net_control function_code = save_ok_code EXCEPTIONS OTHERS = 0.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING language = sy-langu popup_title = text-003 start_column = 10 start_row = 3 text_object = 'ARCHIVE_ADMIN_INFO_001' EXCEPTIONS text_not_found = 01.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = btc_yes stdt_input = starttime stdt_opcode = btc_edit_startdate IMPORTING stdt_modify_type = start_modify_flag stdt_output = starttime EXCEPTIONS OTHERS = 99.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING language = sy-langu popup_title = text-003 start_column = 10 start_row = 3 text_object = 'ARCHIVE_ADMIN_INFO_001' EXCEPTIONS text_not_found = 01.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = btc_yes stdt_input = starttime stdt_opcode = btc_edit_startdate IMPORTING stdt_modify_type = start_modify_flag stdt_output = starttime EXCEPTIONS OTHERS = 99.



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