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

MAADMF05 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

LVC_FILTER CALL FUNCTION 'LVC_FILTER' EXPORTING it_fieldcat = filter_fcat[] is_layout = l_layout TABLES it_data = tab_pointer_overview_1100[] CHANGING ct_filter = active_filter[] EXCEPTIONS no_change = 1.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADMI_RUN' CHANGING ct_fieldcat = p_fieldcatalog EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

RSPO_RID_SPOOLREQ_DISP CALL FUNCTION 'RSPO_RID_SPOOLREQ_DISP' EXPORTING id_list = lt_spool_id_list EXCEPTIONS error = 1 OTHERS = 2.

RS_LIST_SELECTION_TABLE * CALL FUNCTION 'RS_LIST_SELECTION_TABLE' * EXPORTING * report = p_write_report * seltext = 'X' * TABLES * sel_tab = lt_selections.

ARCHIVE_ADMIN_SHOW_VARIANT CALL FUNCTION 'ARCHIVE_ADMIN_SHOW_VARIANT' EXPORTING iv_session = p_run it_admi_varia = lt_admi_varia iv_create_date = ls_run-admi_run-creat_date iv_comment = ls_run-admi_run-comments iv_status = ls_run-displayed_status iv_screen_start_column = 10 iv_screen_start_line = 10 iv_screen_end_column = 80 iv_screen_end_line = 35.

ARCHIVE_ADMIN_GET_FILE_INFO CALL FUNCTION 'ARCHIVE_ADMIN_GET_FILE_INFO' EXPORTING archive_name = ls_file-admi_files-archiv_key exception_on_access_error = space IMPORTING filesystem = l_filesystem archive_system = l_archive_system webdav_system = stored_with_webdav physical_file_with_path = physfile stored_in_content_repository = l_content_repository invalid = invalid_0420 EXCEPTIONS no_archive_file = 1 file_not_found = 2 OTHERS = 3.

SCMS_ARCHIVE_INFO_GET CALL FUNCTION 'SCMS_ARCHIVE_INFO_GET' EXPORTING arc_id = l_content_repository IMPORTING version = l_version EXCEPTIONS OTHERS = 1.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_SKIP' text = invalid_text info = invalid_text IMPORTING result = invalid_text EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_SKIP' text = invalid_text info = invalid_text IMPORTING result = invalid_text EXCEPTIONS OTHERS = 0.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING tabname = 'ADMI_RUN' varkey = l_varkey EXCEPTIONS foreign_lock = 4 system_failure = 8.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

POPUP_TO_DECIDE * CALL FUNCTION 'POPUP_TO_DECIDE' "#EC * * EXPORTING * textline1 = text-033 * textline2 = text-034 * textline3 = text-036 * titel = text-035 * text_option1 = text-037 * text_option2 = text-038 * start_column = 25 * start_row = 6 * IMPORTING * answer = l_answer * EXCEPTIONS * OTHERS = 0.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-035 text_question = lv_text_question iv_quickinfo_button_1 = text-037 iv_quickinfo_button_2 = text-038 default_button = '1' display_cancel_button = 'X' start_column = 25 start_row = 6 IMPORTING answer = l_answer EXCEPTIONS OTHERS = 0.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING client = sy-mandt id = '0001' language = sy-langu name = l_name object = 'ARCHIVE' TABLES lines = lt_lines EXCEPTIONS not_found = 4.

ARCHIVE_ADMIN_GET_FILE_INFO CALL FUNCTION 'ARCHIVE_ADMIN_GET_FILE_INFO' EXPORTING archive_name = ls_file-admi_files-archiv_key exception_on_access_error = space IMPORTING filesystem = l_filesystem archive_system = l_archive_system webdav_system = l_webdav_system stored_in_content_repository = l_content_repository EXCEPTIONS no_archive_file = 1 file_not_found = 2 OTHERS = 3.

SCMS_ARCHIVE_INFO_GET CALL FUNCTION 'SCMS_ARCHIVE_INFO_GET' EXPORTING arc_id = l_content_repository IMPORTING version = l_version EXCEPTIONS OTHERS = 1.

ENQUEUE_E_TABLE





CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING tabname = 'ADMI_FILES' varkey = l_enqueue_key EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' EXPORTING tabname = 'ADMI_FILES' varkey = l_enqueue_key EXCEPTIONS OTHERS = 0.

READ_TEXT CALL FUNCTION 'READ_TEXT' "#EC * EXPORTING client = sy-mandt id = '0001' language = sy-langu name = l_name object = 'ARCHIVE' IMPORTING header = ls_header TABLES lines = lt_lines EXCEPTIONS not_found = 4.

INIT_TEXT CALL FUNCTION 'INIT_TEXT' EXPORTING id = '0001' language = sy-langu name = l_name object = 'ARCHIVE' IMPORTING header = ls_header TABLES lines = lt_lines.

EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' EXPORTING header = ls_header TABLES lines = lt_lines.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING header = ls_header savemode_direct = 'X' TABLES lines = lt_lines.

EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' EXPORTING display = 'X' header = ls_header TABLES lines = lt_lines.

BP_JOB_MANAGEMENT CALL FUNCTION 'BP_JOB_MANAGEMENT' EXPORTING jobselect_dialog = btc_no joblist_opcode = btc_joblist_edit jobsel_param_input = ls_btcselect TABLES joblist = lt_joblist EXCEPTIONS OTHERS = 1.

BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING jobselect_dialog = btc_no jobsel_param_in = ls_btcselect TABLES jobselect_joblist = lt_joblist EXCEPTIONS OTHERS = 0.

BAL_DB_SEARCH CALL FUNCTION 'BAL_DB_SEARCH' EXPORTING i_s_log_filter = ls_bal_s_lfil IMPORTING e_t_log_header = gt_balhdr EXCEPTIONS OTHERS = 1.

ARCHIVE_ADMIN_SELECT_SESSIONS CALL FUNCTION 'ARCHIVE_ADMIN_SELECT_SESSIONS' EXPORTING runs_without_files = 'X' indicate_progress = 'X' incorrect = 'X' incomplete = 'X' complete = 'X' being_reloaded = 'X' created_by_reload = 'X' replaced = 'X' to_be_archived = 'X' invalid = 'X' interrupted_incomplete = 'X' interrupted_complete = 'X' IMPORTING archive_runs = p_runs TABLES client = lt_range_client object = lt_range_object document = lt_range_run date = lt_range_date user = lt_range_user sysid = lt_range_sysid orig_client = lt_range_orig_client EXCEPTIONS object_not_found = 0.

LVC_VARIANT_SELECT CALL FUNCTION 'LVC_VARIANT_SELECT' EXPORTING i_dialog = 'X' i_user_specific = 'A' i_default = ' ' it_default_fieldcat = lt_fieldcat IMPORTING e_exit = l_exit et_fieldcat = lt_fieldcat et_filter = lt_filter TABLES it_data = tab_pointer_overview_1100 CHANGING cs_variant = l_variant EXCEPTIONS OTHERS = 6.

LVC_VARIANT_SAVE CALL FUNCTION 'LVC_VARIANT_SAVE' EXPORTING it_fieldcat = lt_fieldcat it_sort = lt_sort_dummy it_filter = active_filter i_overwrite = 'X' i_user_specific = 'A' TABLES it_data = tab_pointer_overview_1100 CHANGING cs_variant = l_variant EXCEPTIONS OTHERS = 42.

LVC_VARIANT_DEFAULT_GET CALL FUNCTION 'LVC_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = l_variant EXCEPTIONS not_found = 1 OTHERS = 42.

LVC_VARIANT_SELECT CALL FUNCTION 'LVC_VARIANT_SELECT' EXPORTING i_dialog = space i_user_specific = 'A' it_default_fieldcat = lt_fieldcat IMPORTING e_exit = l_exit et_fieldcat = lt_fieldcat et_filter = lt_filter TABLES it_data = tab_pointer_overview_1100 CHANGING cs_variant = l_variant EXCEPTIONS OTHERS = 6.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING is_layout = ls_layout it_fieldcat = lt_fieldcat it_excluding = lt_extab i_grid_title = text-154 i_screen_start_column = 7 i_screen_start_line = 7 i_screen_end_column = 77 i_screen_end_line = 17 TABLES t_outtab = lt_outtab.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = -jobcount job_read_jobname = -jobname job_read_opcode = btc_read_jobhead_only IMPORTING job_read_jobhead = ls_jobhead EXCEPTIONS OTHERS = 1.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ADMI_FILE_RULES' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS OTHERS = 1.

WDY_EXECUTE_IN_BROWSER CALL FUNCTION 'WDY_EXECUTE_IN_BROWSER' EXPORTING application = lv_application parameters = lt_par EXCEPTIONS invalid_application = 1 browser_not_started = 2 action_cancelled = 3 OTHERS = 4.



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