SAP Reports / Programs | Basis Components | Use Subcomponents | IMS: Agents and related topics(BC-CCM-MON-SHM) SAP BC

MSM66F01_ALV SAP ABAP INCLUDE - Include MSM66F01_ALV







MSM66F01_ALV 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 MSM66F01_ALV 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 MSM66F01_ALV. "Basic submit
SUBMIT MSM66F01_ALV AND RETURN. "Return to original report after report execution complete
SUBMIT MSM66F01_ALV VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include MSM66F01_ALV


INCLUDES used within this REPORT MSM66F01_ALV

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:

SAPWL_WORKLOAD_TRUNCATE_NAME CALL FUNCTION 'SAPWL_WORKLOAD_TRUNCATE_NAME' EXPORTING report = wp_info-wp_report namelength = namelength_flag IMPORTING truncated_report = wp_info-wp_report.

SAPWL_WORKLOAD_TRUNCATE_NAME CALL FUNCTION 'SAPWL_WORKLOAD_TRUNCATE_NAME' EXPORTING report = wp_info-cuaprogram tcode = wp_info-tcode namelength = namelength_flag IMPORTING truncated_report = wp_info-cuaprogram truncated_tcode = wp_info-tcode.

SAPWL_WORKLOAD_TRUNCATE_NAME CALL FUNCTION 'SAPWL_WORKLOAD_TRUNCATE_NAME' EXPORTING table = wp_info-wp_table namelength = namelength_flag IMPORTING truncated_table = wp_info-wp_table.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' " exporting " CUCOL = 0 " CUROW = 0 " DISPLAY = ' ' " FIELDNAME = ' ' " TABNAME = ' ' " NO_MARKING_OF_CHECKVALUE = ' ' IMPORTING select_value = selected_value TABLES fields = fieldtab valuetab = valuetab EXCEPTIONS OTHERS = 99.

TH_REMOTE_TRANSACTION CALL FUNCTION 'TH_REMOTE_TRANSACTION' EXPORTING tcode = 'SM50' dest = cont EXCEPTIONS OTHERS = 99.

TH_REMOTE_TRANSACTION CALL FUNCTION 'TH_REMOTE_TRANSACTION' EXPORTING tcode = 'SM04' dest = cont EXCEPTIONS OTHERS = 99.

SAPWL_WORKLOAD_NAME_LENGTHS CALL FUNCTION 'SAPWL_WORKLOAD_NAME_LENGTHS' EXPORTING namelength = namelength_flag IMPORTING report_length = namelength_report tcode_length = namelength_tcode table_length = namelength_table instance_length = namelength_server * DEVC_LENGTH = * ENTRY_ID_LENGTH = EXCEPTIONS OTHERS = 1.

STUM_WP_TOTAL_ACTIVITY CALL FUNCTION 'STUM_WP_TOTAL_ACTIVITY' EXPORTING get_only_restricted_data = read_short with_cpu = with_cpu_flag show_status_on_gui = con_status get_no_db_lock_info = no_db_lock TABLES wp_total_info = wptable communication_errors = comerrs used_wp = used_wp EXCEPTIONS OTHERS = 99.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'N' diagnosetext1 = diagnosis_text1 diagnosetext2 = diagnosis_text2 * DIAGNOSETEXT3 = ' ' textline1 = 'ProzeƟ abbrechen? '(173) * TEXTLINE2 = ' ' titel = 'Sicherheitsabfrage'(170) * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = answer EXCEPTIONS OTHERS = 1.

STUM_WP_TERMINATE CALL FUNCTION 'STUM_WP_TERMINATE' DESTINATION instance EXPORTING pid = pid with_core = core_flag EXCEPTIONS no_authority = 01 system_failure = 02 MESSAGE error communication_failure = 02 MESSAGE error OTHERS = 99.

STUM_WP_TERMINATE CALL FUNCTION 'STUM_WP_TERMINATE' EXPORTING pid = pid with_core = core_flag EXCEPTIONS no_authority = 01 OTHERS = 99.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'N' diagnosetext1 = diagnosis_text1 diagnosetext2 = diagnosis_text2 * DIAGNOSETEXT3 = ' ' textline1 = 'Debugging einschalten? '(176) * TEXTLINE2 = ' ' titel = 'Sicherheitsabfrage'(170) * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = answer EXCEPTIONS OTHERS = 1.

TH_DEBUG_WP CALL FUNCTION 'TH_DEBUG_WP' EXPORTING WP_INDEX = WP_INDEX dest = instance1 IMPORTING subrc = rc EXCEPTIONS no_authority = 01 no_debugging_possible = 02 OTHERS = 99.

TH_DEBUG_WP CALL FUNCTION 'TH_DEBUG_WP' EXPORTING WP_INDEX = WP_INDEX IMPORTING subrc = rc " dest = ' ' EXCEPTIONS no_authority = 01 no_debugging_possible = 02 OTHERS = 99.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'N' diagnosetext1 = diagnosis_text1 diagnosetext2 = diagnosis_text2 * DIAGNOSETEXT3 = ' ' textline1 = 'Program abbrechen? '(175) * TEXTLINE2 = ' ' titel = 'Sicherheitsabfrage'(170) * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = answer EXCEPTIONS OTHERS = 1.

STUM_WP_EXIT_PROGRAM CALL FUNCTION 'STUM_WP_EXIT_PROGRAM' DESTINATION instance EXPORTING WP_INDEX = WP_INDEX EXCEPTIONS no_authority = 01 error_during_termination = 02 system_failure = 03 MESSAGE error communication_failure = 03 MESSAGE error OTHERS = 99.

STUM_WP_EXIT_PROGRAM CALL FUNCTION 'STUM_WP_EXIT_PROGRAM' EXPORTING WP_INDEX = WP_INDEX EXCEPTIONS no_authority = 01 error_during_termination = 02 OTHERS = 99.

STUM_WP_SET_RESTART_MODE CALL FUNCTION 'STUM_WP_SET_RESTART_MODE' DESTINATION instance EXPORTING WP_INDEX = WP_INDEX restart_mode = restart_mode EXCEPTIONS no_authorization = 01 wrong_restart_mode = 02 system_failure = 03 MESSAGE error communication_failure = 03 MESSAGE error OTHERS = 99.

STUM_WP_SET_RESTART_MODE





CALL FUNCTION 'STUM_WP_SET_RESTART_MODE' EXPORTING WP_INDEX = WP_INDEX restart_mode = restart_mode EXCEPTIONS no_authorization = 01 wrong_restart_mode = 02 OTHERS = 99.

TH_GET_APPL_INFO CALL FUNCTION 'TH_GET_APPL_INFO' EXPORTING level = level mode = th_appl_info_mode_stack wp_index = allinfo-wp_index IMPORTING appl_info = appl_info appl_info_len = appl_info_len EXCEPTIONS no_appl_info_found = 1.

TH_GET_APPL_INFO CALL FUNCTION 'TH_GET_APPL_INFO' EXPORTING level = level mode = th_appl_info_mode_stack wp_index = allinfo-wp_index IMPORTING appl_info = appl_info appl_info_len = appl_info_len EXCEPTIONS no_appl_info_found = 1.

TH_GET_APPL_INFO CALL FUNCTION 'TH_GET_APPL_INFO' EXPORTING level = level mode = th_appl_info_mode_scroll wp_index = allinfo-wp_index IMPORTING appl_info = appl_info appl_info_len = appl_info_len EXCEPTIONS no_appl_info_found = 1.

TH_GET_APPL_INFO CALL FUNCTION 'TH_GET_APPL_INFO' EXPORTING level = level mode = th_appl_info_mode_scroll wp_index = allinfo-wp_index IMPORTING appl_info = appl_info appl_info_len = appl_info_len EXCEPTIONS no_appl_info_found = 1.

SAPWL_INST_HOST CALL FUNCTION 'SAPWL_INST_HOST' EXPORTING inst_long = inst_long IMPORTING host_long = hostname * INSTNO = EXCEPTIONS hostname_not_found = 1.

DB_WP_CURRENT_SQL CALL FUNCTION 'DB_WP_CURRENT_SQL' EXPORTING host = hostname wp_pid = allinfo-wp_pid IMPORTING sql_text = sql_text sql_len = sql_len source_ref = source_ref EXCEPTIONS sql_not_found = 1.

DB_SQL_DISPLAY * CALL FUNCTION 'DB_SQL_DISPLAY' * EXPORTING * STMT_STR = SQL_TEXT * STMT_LEN = SQL_LEN * LINE_SIZE = 79 * WITH_FRAME = 'X'.

DB_SQL_WRITE_TO_ITAB CALL FUNCTION 'DB_SQL_WRITE_TO_ITAB' EXPORTING stmt_str = sql_text stmt_len = sql_len line_size = 79 CHANGING text_tab = gt_sql_text_tab.

SAPWL_WORKLOAD_NAME_LENGTHS CALL FUNCTION 'SAPWL_WORKLOAD_NAME_LENGTHS' EXPORTING namelength = namelength_flag IMPORTING report_length = namelength_report tcode_length = namelength_tcode table_length = namelength_table * DEVC_LENGTH = * ENTRY_ID_LENGTH = instance_length = namelength_server EXCEPTIONS OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_set_pf * I_STRUCTURE_NAME = 'GT_TST01' is_layout = gs_layout it_fieldcat = gt_fieldcat1 i_save = gc_x it_events = gt_events * IS_PRINT = GS_PRINT TABLES t_outtab = gt_wp_info EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = ic_t_sname CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_set_pf is_layout = gs_layout it_fieldcat = gt_fieldcat2 it_events = gt_events TABLES t_outtab = gt_errors EXCEPTIONS program_error = 1 OTHERS = 2.

TH_REMOTE_TRANSACTION CALL FUNCTION 'TH_REMOTE_TRANSACTION' EXPORTING tcode = 'SM50' dest = cont EXCEPTIONS OTHERS = 99.

TH_REMOTE_TRANSACTION CALL FUNCTION 'TH_REMOTE_TRANSACTION' EXPORTING tcode = 'SM04' dest = cont EXCEPTIONS OTHERS = 99.

SAPWL_WORKLOAD_NAME_LENGTHS CALL FUNCTION 'SAPWL_WORKLOAD_NAME_LENGTHS' EXPORTING namelength = namelength_flag IMPORTING report_length = namelength_report tcode_length = namelength_tcode table_length = namelength_table instance_length = namelength_server * DEVC_LENGTH = * ENTRY_ID_LENGTH = EXCEPTIONS OTHERS = 1.

DB_SQL_SOURCE_DISPLAY CALL FUNCTION 'DB_SQL_SOURCE_DISPLAY' EXPORTING source_ref = source_ref EXCEPTIONS OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid * I_CALLBACK_PF_STATUS_SET = GC_PF_STATUS is_layout = gs_layout it_fieldcat = gt_fieldcat_pop it_events = gt_events i_screen_start_column = 5 i_screen_start_line = 5 i_screen_end_column = 89 i_screen_end_line = 18 TABLES t_outtab = gt_popup EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid * I_INTERNAL_TABNAME = IC_T_SNAME i_structure_name = ic_t_sname * I_INCLNAME = GV_REPID CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.




REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_set_pf_pop is_layout = gs_layout it_fieldcat = gt_fieldcat_pop it_events = gt_events i_screen_start_column = 5 i_screen_start_line = 5 i_screen_end_column = 89 i_screen_end_line = 18 TABLES t_outtab = gt_popup EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_events.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_set_pf_pop is_layout = gs_layout it_fieldcat = gt_fieldcat_pop it_events = gt_events i_screen_start_column = 5 i_screen_start_line = 5 i_screen_end_column = 89 i_screen_end_line = 18 TABLES t_outtab = gt_appl_info EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_set_pf_pop is_layout = gs_layout it_fieldcat = gt_fieldcat_pop it_events = gt_events i_screen_start_column = 5 i_screen_start_line = 5 i_screen_end_column = 89 i_screen_end_line = 18 TABLES t_outtab = gt_appl_info1 EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_set_pf_pop is_layout = gs_layout it_fieldcat = gt_fieldcat_sql it_events = gt_events i_screen_start_column = 5 i_screen_start_line = 5 i_screen_end_column = 89 i_screen_end_line = 18 TABLES t_outtab = gt_sql_text_tab1 EXCEPTIONS program_error = 1 OTHERS = 2.



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