SAP Reports / Programs | Basis Components | Basis Components | Implementation Guide(BC-CUS-TOL-IMG) SAP BC

RSHTMIMG_2 SAP ABAP Report - Generate HTML structure for IMG and check-in to IR







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


Text pool values


Title: Generate HTML structure for IMG and check-in to IR


INCLUDES used within this REPORT RSHTMIMG_2

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:

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING ** BIN_FILESIZE = ' ' ** CODEPAGE = ' ' * FILENAME = FILENAME * FILETYPE = 'ASC' ** MODE = ' ' ** WK1_N_FORMAT = ' ' ** WK1_N_SIZE = ' ' ** WK1_T_FORMAT = ' ' ** WK1_T_SIZE = ' ' ** COL_SELECT = ' ' ** COL_SELECTMASK = ' ' ** NO_AUTH_CHECK = ' ' ** IMPORTING ** FILELENGTH = * TABLES * DATA_TAB = LINK_INT_TAB ** FIELDNAMES = * EXCEPTIONS * FILE_OPEN_ERROR = 1 * FILE_WRITE_ERROR = 2 * INVALID_FILESIZE = 3 * INVALID_TABLE_WIDTH = 4 * INVALID_TYPE = 5 * NO_BATCH = 6 * UNKNOWN_ERROR = 7 * GUI_REFUSE_FILETRANSFER = 8 * OTHERS = 9.

WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING query = 'OS' IMPORTING return = os EXCEPTIONS inv_query = 01 no_batch = 02.

WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING * ENVIRONMENT = filename = directory query = 'DE' * WINID = IMPORTING return = return_value EXCEPTIONS inv_query = 1 no_batch = 2 frontend_error = 3 OTHERS = 4.

WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING * ENVIRONMENT = filename = directory_text query = 'DE' * WINID = IMPORTING return = return_value EXCEPTIONS inv_query = 1 no_batch = 2 frontend_error = 3 OTHERS = 4.

TOCX_READ_DISPLAY_VERSION * CALL FUNCTION 'TOCX_READ_DISPLAY_VERSION' * EXPORTING * OUTLINE = PP_BOOK_TAB-OUTLINE * SPRAS = LANGU * VIEWNAME = 'STANDARD' * TABLES * HIERARCHY = HIERARCHY_TAB_TEMP * EXCEPTIONS * MISSING_PARAMETERS = 01 * NOT_FOUND = 02.

S_CUS_IMG_GET_REFERENCE_IMG_ID CALL FUNCTION 'S_CUS_IMG_GET_REFERENCE_IMG_ID' IMPORTING reference_img_id = reference_img.

STREE_GET_CHILD_STRUCTURES * CALL FUNCTION 'STREE_GET_CHILD_STRUCTURES' * EXPORTING * STRUCTURE_ID = PP_BOOK_TAB-OUTLINE ** IMPORTING ** MESSAGE = * TABLES * USER_PARAMETERS = USER_PARAMETERS * CHILD_STRUCTURES = HIERARCHY_NEWTAB_TEMP * .

STREE_GET_CHILD_STRUCTURES CALL FUNCTION 'STREE_GET_CHILD_STRUCTURES' EXPORTING structure_id = book_tab_save-outline * IMPORTING * MESSAGE = TABLES user_parameters = user_parameters child_structures = hierarchy_newtab_temp .

WS_UPLOAD CALL FUNCTION 'WS_UPLOAD' EXPORTING codepage = 'ASC' filename = filename filetype = 'ASC' TABLES data_tab = pp_book_tab EXCEPTIONS conversion_error = 1 file_open_error = 2 file_read_error = 3 invalid_table_width = 4 invalid_type = 5 no_batch = 6 unknown_error = 7 gui_refuse_filetransfer = 8 OTHERS = 9.

TOCX_GET_HEADER CALL FUNCTION 'TOCX_GET_HEADER' EXPORTING language = space outline = local_outline IMPORTING masterlanguage = local_language TABLES header_data = local_header EXCEPTIONS no_language_given = 1 no_outline_given = 2 outline_exists_not = 3 OTHERS = 4.

TOCX_READ_DISPLAY_VERSION CALL FUNCTION 'TOCX_READ_DISPLAY_VERSION' EXPORTING outline = local_outline spras = local_language viewname = 'STANDARD' TABLES hierarchy = hierarchy_tab_coll EXCEPTIONS missing_parameters = 01 not_found = 02.

TOCX_GET_HEADER CALL FUNCTION 'TOCX_GET_HEADER' EXPORTING language = local_language outline = local_outline IMPORTING * MASTERLANGUAGE = * NEWEST_MODIFIED_VERSION = newest_original_version = form_outline_header TABLES header_data = form_outline_head EXCEPTIONS no_language_given = 01 no_outline_given = 02 outline_exists_not = 03.

TOCX_INSERT_INCLUDED_BOOKS CALL FUNCTION 'TOCX_INSERT_INCLUDED_BOOKS' EXPORTING header_data = form_outline_header include_type = 'BIBL' TABLES input_hierarchy = hierarchy_tab_temp output_hierarchy = hierarchy_tab_coll.

STREE_STRUCTURE_READ_N_TOP_LEV CALL FUNCTION 'STREE_STRUCTURE_READ_N_TOP_LEV' EXPORTING structure_id = local_outline_new read_all_levels = true read_n_levels = '00' display_mode = 'E' TABLES structure_table = structure_table EXCEPTIONS OTHERS = 1.

STREE_STRUCTURE_READ_REFERENCE CALL FUNCTION 'STREE_STRUCTURE_READ_REFERENCE' EXPORTING structure_id = local_outline_new TABLES list_of_nodes = structure_table list_of_references = ref_tab_new EXCEPTIONS OTHERS = 1.

STREE_STRUCTURE_READ_TEXTS CALL FUNCTION 'STREE_STRUCTURE_READ_TEXTS' EXPORTING structure_id = local_outline_new language = local_language * BYPASS_BUFFER = ' ' * DISPLAY_MODE = 'D' * IMPORTING * MESSAGE = TABLES list_of_nodes = structure_table list_of_texts = component_texts_new list_of_references = ref_tab_new * USER_PARAMETERS = .

S_CUS_IMG_ACTIVITY_READ_MULTIP CALL FUNCTION 'S_CUS_IMG_ACTIVITY_READ_MULTIP' TABLES img_activities = img_activities img_activity_headers = img_activity_headers img_activity_texts = img_activity_texts.

STREE_STRUCTURE_EXIST CALL FUNCTION 'STREE_STRUCTURE_EXIST' "JT141099-001 EXPORTING "JT141099-001 structure_id = structure_table-reftree_id read_from_database = true "JT141099-001 do_not_read_devclass = true "JT141099-001 IMPORTING "JT141099-001 message = local_message. "JT141099-001

STREE_STRUCTURE_READ_N_TOP_LEV





CALL FUNCTION 'STREE_STRUCTURE_READ_N_TOP_LEV' EXPORTING structure_id = sfretree-tree_id read_all_levels = true read_n_levels = '00' TABLES structure_table = structure_table EXCEPTIONS OTHERS = 1.

STREE_STRUCTURE_READ_REFERENCE CALL FUNCTION 'STREE_STRUCTURE_READ_REFERENCE' EXPORTING structure_id = sfretree-tree_id TABLES list_of_nodes = structure_table list_of_references = releasenotes EXCEPTIONS OTHERS = 1.

STREE_GET_STEXT_FOR_RTYPE_BMFR CALL FUNCTION 'STREE_GET_STEXT_FOR_RTYPE_BMFR' EXPORTING language = local_language * IMPORTING * MESSAGE = TABLES list_of_references = components list_of_texts = component_texts EXCEPTIONS OTHERS = 1.

SDOK_UNIQUE_ID_GET CALL FUNCTION 'SDOK_UNIQUE_ID_GET' IMPORTING unique_id = local_structure_guid EXCEPTIONS OTHERS = 1.

SDOK_LOIO_CREATE * CALL FUNCTION 'SDOK_LOIO_CREATE' * EXPORTING * OBJECT_CLASS = LOIO_CLASS ** OBJECT_UNIQUE_ID = * IMPORTING * OBJECT_ID = OBJECT_ID * TABLES * PROPERTIES = PROPERTIES * EXCEPTIONS * MISSING_CLASS = 1 * BAD_CLASS = 2 * MISSING_PROPERTIES = 3 * BAD_PROPERTIES = 4 * NOT_AUTHORIZED = 5 * OTHERS = 6.

SDOK_UNIQUE_ID_GET CALL FUNCTION 'SDOK_UNIQUE_ID_GET' IMPORTING unique_id = local_structure_guid EXCEPTIONS OTHERS = 1.

SDOK_UNIQUE_ID_GET CALL FUNCTION 'SDOK_UNIQUE_ID_GET' IMPORTING unique_id = local_structure_guid EXCEPTIONS OTHERS = 1.

SDOK_UNIQUE_ID_GET CALL FUNCTION 'SDOK_UNIQUE_ID_GET' IMPORTING unique_id = local_structure_guid EXCEPTIONS OTHERS = 1.

PROGRAM_TITLE CALL FUNCTION 'PROGRAM_TITLE' "JT 240798-01 EXPORTING "JT 240798-01 program = report "JT 240798-01 language = pp_language "JT 240798-01 IMPORTING "JT 240798-01 title = report_title"JT 240798-01 EXCEPTIONS "JT 240798-01 OTHERS = 1. "JT 240798-01

PROGRAM_TITLE CALL FUNCTION 'PROGRAM_TITLE' "JT 240798-01 EXPORTING "JT 240798-01 program = report "JT 240798-01 language = pp_language "JT 240798-01 IMPORTING "JT 240798-01 title = report_title "JT 240798-01 EXCEPTIONS "JT 240798-01 OTHERS = 1. "JT 240798-01

DOCU_GET CALL FUNCTION 'DOCU_GET' EXPORTING * EXTEND_EXCEPT = SPACE id = ght_id langu = ght_langu object = ght_object typ = 'E' * VERSION = * VERSION_ACTIVE_OR_LAST = IMPORTING dokstate = ght_dokstate doktitle = ght_doktitle head = ght_head TABLES line = ght_tab_temp EXCEPTIONS no_docu_on_screen = 01 no_docu_self_def = 02 no_docu_temp = 03 ret_code = 04.

DOCU_GET CALL FUNCTION 'DOCU_GET' EXPORTING * EXTEND_EXCEPT = SPACE id = form_id langu = form_langu object = form_object typ = 'E' * VERSION = * VERSION_ACTIVE_OR_LAST = IMPORTING dokstate = form_dokstate doktitle = form_doktitle head = form_head TABLES line = text_tab_temp EXCEPTIONS no_docu_on_screen = 01 no_docu_self_def = 02 no_docu_temp = 03 ret_code = 04.

DOCU_GET CALL FUNCTION 'DOCU_GET' EXPORTING * EXTEND_EXCEPT = SPACE id = form_id langu = form_langu object = form_object typ = 'E' * VERSION = * VERSION_ACTIVE_OR_LAST = IMPORTING dokstate = form_dokstate doktitle = form_doktitle head = form_head TABLES line = text_tab_temp EXCEPTIONS no_docu_on_screen = 01 no_docu_self_def = 02 no_docu_temp = 03 ret_code = 04.

DOCU_GET CALL FUNCTION 'DOCU_GET' EXPORTING * EXTEND_EXCEPT = SPACE id = form_id langu = form_langu object = form_object typ = 'E' * VERSION = * VERSION_ACTIVE_OR_LAST = IMPORTING dokstate = form_dokstate doktitle = form_doktitle head = form_head TABLES line = text_tab_temp EXCEPTIONS no_docu_on_screen = 01 no_docu_self_def = 02 no_docu_temp = 03 ret_code = 04.

TEXT_INCLUDE_REPLACE CALL FUNCTION 'TEXT_INCLUDE_REPLACE' EXPORTING all_level = 'X' endline = 99999 header = form_head startline = 1 * PROGRAM = ' ' IMPORTING changed = form_changed error_type = form_error_type newheader = form_head TABLES lines = text_tab_temp.

TEXT_SYMBOL_SETVALUE CALL FUNCTION 'TEXT_SYMBOL_SETVALUE' EXPORTING name = 'DEVICE' value = 'SCREEN' EXCEPTIONS OTHERS = 1.

TEXT_CONTROL_REPLACE CALL FUNCTION 'TEXT_CONTROL_REPLACE' EXPORTING header = form_head * REPLACE_COMMENT = 'X' TABLES lines = text_tab_temp EXCEPTIONS OTHERS = 1.

GLOSSARY_READ CALL FUNCTION 'GLOSSARY_READ' EXPORTING begriff = glossary_term sprache = form_langu TABLES iline = text_tab_temp.

STREE_GET_STRUCTURE_USAGE CALL FUNCTION 'STREE_GET_STRUCTURE_USAGE' EXPORTING check_selected_tree_types = 'X' structure_id = no_img-id * IMPORTING * MESSAGE = TABLES i_treetypes = treetypes used_in_structures = s_usage * NODES_IN_STRUCTURES = .

STREE_GET_NODES_FOR_GIVEN_REF * CALL FUNCTION 'STREE_GET_NODES_FOR_GIVEN_REF' ** EXPORTING ** CHECK_SELECTED_TREE_TYPES = ' ' ** IMPORTING ** MESSAGE = * TABLES * I_LIST_OF_REFERENCES = I_OF_REF ** I_TREETYPES = * E_LIST_OF_NODES = I_OF_NODES ** E_LIST_OF_REFERENCES = * .




TOCX_GET_HEADER ** CALL FUNCTION 'TOCX_GET_HEADER' ** EXPORTING ** LANGUAGE = ' ' ** OUTLINE = I_DSYAS-OUTLINE ** IMPORTING *** MASTERLANGUAGE = ** NEWEST_MODIFIED_VERSION = MOD_DSYAH ** NEWEST_ORIGINAL_VERSION = ORG_DSYAH ** TABLES ** HEADER_DATA = ALL_DSYAH ** EXCEPTIONS ** NO_LANGUAGE_GIVEN = 01 ** NO_OUTLINE_GIVEN = 02 ** OUTLINE_EXISTS_NOT = 03.

CONVERT_ITF_TO_HTML CALL FUNCTION 'CONVERT_ITF_TO_HTML' EXPORTING i_header = form_head i_syntax_check = 'X' i_replace = 'X' i_print_commands = space i_html_header = 'X' i_funcname = 'IMG_IWB_MAKE_LINK' i_title = p_document_title TABLES t_itf_text = p_text_tab_coll t_html_text = p_text_html t_conv_charformats = conv_charformats t_conv_parformats = conv_parformats EXCEPTIONS syntax_check = 1 OTHERS = 2.

CONVERT_ITF_TO_HTML CALL FUNCTION 'CONVERT_ITF_TO_HTML' EXPORTING i_header = form_head i_syntax_check = ' ' i_replace = 'X' i_print_commands = space i_html_header = 'X' i_funcname = 'IMG_IWB_MAKE_LINK' i_title = p_document_title TABLES t_itf_text = p_text_tab_coll t_html_text = p_text_html t_conv_charformats = conv_charformats t_conv_parformats = conv_parformats EXCEPTIONS syntax_check = 1 OTHERS = 2.

WS_DOWNLOAD CALL FUNCTION 'WS_DOWNLOAD' EXPORTING filename = filename filetype = 'ASC' TABLES data_tab = p_text_html EXCEPTIONS file_open_error = 1 file_write_error = 2 invalid_type = 3 unknown_error = 3.

IWB_FOLDER_QUERY CALL FUNCTION 'IWB_FOLDER_QUERY' * IMPORTING * ERROR_MSG = TABLES query = query * REQUESTED_PROPERTIES = result = result * PROPERTIES_OF_RESULT = EXCEPTIONS OTHERS = 1.

WS_DOWNLOAD CALL FUNCTION 'WS_DOWNLOAD' EXPORTING codepage = 'ASC' filename = filename filetype = 'ASC' TABLES data_tab = p_download_history EXCEPTIONS file_open_error = 1 file_write_error = 2 invalid_filesize = 3 invalid_table_width = 4 invalid_type = 5 no_batch = 6 unknown_error = 7 gui_refuse_filetransfer = 8 OTHERS = 9.

WS_DOWNLOAD CALL FUNCTION 'WS_DOWNLOAD' EXPORTING codepage = 'ASC' filename = filename filetype = 'ASC' TABLES data_tab = error_history EXCEPTIONS file_open_error = 1 file_write_error = 2 invalid_filesize = 3 invalid_table_width = 4 invalid_type = 5 no_batch = 6 unknown_error = 7 gui_refuse_filetransfer = 8 OTHERS = 9.

WS_DOWNLOAD CALL FUNCTION 'WS_DOWNLOAD' EXPORTING filename = filename filetype = 'ASC' TABLES data_tab = p_outline_check_in_data EXCEPTIONS file_open_error = 1 file_write_error = 2 invalid_filesize = 3 invalid_table_width = 4 invalid_type = 5 no_batch = 6 unknown_error = 7 gui_refuse_filetransfer = 8 OTHERS = 9.

WS_DOWNLOAD CALL FUNCTION 'WS_DOWNLOAD' EXPORTING filename = filename filetype = 'ASC' TABLES data_tab = p_outline_check_in_error EXCEPTIONS file_open_error = 1 file_write_error = 2 invalid_filesize = 3 invalid_table_width = 4 invalid_type = 5 no_batch = 6 unknown_error = 7 gui_refuse_filetransfer = 8 OTHERS = 9.

SDOK_UNIQUE_ID_GET CALL FUNCTION 'SDOK_UNIQUE_ID_GET' IMPORTING unique_id = structure_guid EXCEPTIONS OTHERS = 1.

WS_UPLOAD CALL FUNCTION 'WS_UPLOAD' EXPORTING filename = filename filetype = 'ASC' TABLES data_tab = contents EXCEPTIONS conversion_error = 1 file_open_error = 2 file_read_error = 3 invalid_table_width = 4 invalid_type = 5 no_batch = 6 unknown_error = 7 gui_refuse_filetransfer = 8 OTHERS = 9.

IO_C_QUERY_LOIOS CALL FUNCTION 'IO_C_QUERY_LOIOS' TABLES info_classes = info_class query = query result = result EXCEPTIONS OTHERS = 1.

STRUCT_OBJECT_CONTENTS_SET CALL FUNCTION 'STRUCT_OBJECT_CONTENTS_SET' EXPORTING info_object = result * IMPORTING * ERROR_MSG = TABLES context = context contents = contents EXCEPTIONS OTHERS = 1.

INFO_OBJECTS_PROPERTIES_SET CALL FUNCTION 'INFO_OBJECTS_PROPERTIES_SET' * EXPORTING * CHECK_VALUES = 'X' * SUPPRESS_AUTHORITY_CHECK = 'X' IMPORTING error_msg = error_msg TABLES info_objects = result context = context properties = properties * PROPERTIES_TO_DELETE = bad_objects = bad_objects bad_properties = bad_properties .

STRUCT_OBJECT_CREATE_WITH_CONT CALL FUNCTION 'STRUCT_OBJECT_CREATE_WITH_CONT' EXPORTING guid = structure_guid * CHECK_VALUES = 'X' folder = folder struct_class = 'IWB_STRUCT' "JT050899-002 * IMPORTING * INFO_OBJECT = * ERROR_MSG = TABLES contents = contents properties = properties bad_properties = bad_properties EXCEPTIONS OTHERS = 1.

WS_DOWNLOAD CALL FUNCTION 'WS_DOWNLOAD' EXPORTING filename = filename filetype = 'ASC' TABLES data_tab = contents EXCEPTIONS file_open_error = 1 file_write_error = 2 invalid_type = 3 unknown_error = 3.

WS_DOWNLOAD CALL FUNCTION 'WS_DOWNLOAD' EXPORTING codepage = 'ASC' filename = filename filetype = 'ASC' TABLES data_tab = p_links_in_structure EXCEPTIONS file_open_error = 1 file_write_error = 2 invalid_filesize = 3 invalid_table_width = 4 invalid_type = 5 no_batch = 6 unknown_error = 7 gui_refuse_filetransfer = 8 OTHERS = 9.

WS_DOWNLOAD CALL FUNCTION 'WS_DOWNLOAD' EXPORTING codepage = 'ASC' filename = filename filetype = 'ASC' TABLES data_tab = p_book_tab EXCEPTIONS file_open_error = 1 file_write_error = 2 invalid_filesize = 3 invalid_table_width = 4 invalid_type = 5 no_batch = 6 unknown_error = 7 gui_refuse_filetransfer = 8 OTHERS = 9.

WS_DOWNLOAD CALL FUNCTION 'WS_DOWNLOAD' EXPORTING filename = filename filetype = 'ASC' TABLES data_tab = p_link_int_tab EXCEPTIONS file_open_error = 1 file_write_error = 2 invalid_filesize = 3 invalid_table_width = 4 invalid_type = 5 no_batch = 6 unknown_error = 7 gui_refuse_filetransfer = 8 OTHERS = 9.

WS_UPLOAD CALL FUNCTION 'WS_UPLOAD' EXPORTING codepage = 'ASC' filename = filename filetype = 'ASC' TABLES data_tab = download_history EXCEPTIONS conversion_error = 1 file_open_error = 2 file_read_error = 3 invalid_table_width = 4 invalid_type = 5 no_batch = 6 unknown_error = 7 gui_refuse_filetransfer = 8 OTHERS = 9.

WS_UPLOAD CALL FUNCTION 'WS_UPLOAD' EXPORTING codepage = 'ASC' filename = filename filetype = 'ASC' TABLES data_tab = p_links_in_structure EXCEPTIONS conversion_error = 1 file_open_error = 2 file_read_error = 3 invalid_table_width = 4 invalid_type = 5 no_batch = 6 unknown_error = 7 gui_refuse_filetransfer = 8 OTHERS = 9.

SDOK_PHIO_TO_RELATIONS_GET CALL FUNCTION 'SDOK_PHIO_TO_RELATIONS_GET' EXPORTING object_id = query_object relation_class = 'FORMATREF' TABLES result = result EXCEPTIONS not_existing = 1 bad_class = 2 not_authorized = 3 OTHERS = 4.

SDOK_PHIO_TO_RELATIONS_GET CALL FUNCTION 'SDOK_PHIO_TO_RELATIONS_GET' EXPORTING object_id = from_object relation_class = 'HYPERLINK' TABLES result = result EXCEPTIONS not_existing = 1 bad_class = 2 not_authorized = 3 OTHERS = 4.

IO_C_RELATION_CREATE CALL FUNCTION 'IO_C_RELATION_CREATE' EXPORTING relation_class = 'HYPERLINK' from_object = from_object to_object = to_object IMPORTING * OBJECT_ID = error_msg = error EXCEPTIONS OTHERS = 1.

WS_UPLOAD CALL FUNCTION 'WS_UPLOAD' EXPORTING filename = filename filetype = 'ASC' TABLES data_tab = p_link_int_tab EXCEPTIONS conversion_error = 1 file_open_error = 2 file_read_error = 3 invalid_table_width = 4 invalid_type = 5 no_batch = 6 unknown_error = 7 gui_refuse_filetransfer = 8 OTHERS = 9.

SDOK_PHIOS_CHECKIN CALL FUNCTION 'SDOK_PHIOS_CHECKIN' EXPORTING ftp_keep_open_flag = 'X' TABLES object_fileproperties = check_in_data bad_objects = bad_objects EXCEPTIONS OTHERS = 1.

SDOK_PHIO_CREATE CALL FUNCTION 'SDOK_PHIO_CREATE' EXPORTING object_class = phio_img_class * OBJECT_UNIQUE_ID = IMPORTING object_id = object_id TABLES properties = properties * FROM_RELATIONS = to_relations = relations EXCEPTIONS missing_class = 1 bad_class = 2 missing_properties = 3 bad_relations = 4 bad_properties = 5 not_authorized = 6 OTHERS = 7.

SDOK_UNIQUE_ID_GET CALL FUNCTION 'SDOK_UNIQUE_ID_GET' IMPORTING unique_id = phys_objects-objid EXCEPTIONS OTHERS = 1.

SDOK_UNIQUE_ID_GET CALL FUNCTION 'SDOK_UNIQUE_ID_GET' IMPORTING unique_id = phys_objects-objid EXCEPTIONS OTHERS = 1.

INFO_OBJECT_ADD_PHYS_OBJECTS CALL FUNCTION 'INFO_OBJECT_ADD_PHYS_OBJECTS' EXPORTING info_object = info_object * CHECK_VALUES = 'X' * IMPORTING * ERROR_MSG = TABLES properties = properties * PROPERTIES_BY_CLASS = * BAD_PROPERTIES = phys_objects = phys_objects * BAD_PHYS_OBJECTS = * RELATIONS = EXCEPTIONS OTHERS = 1.

SDOK_PHIOS_CHECKIN CALL FUNCTION 'SDOK_PHIOS_CHECKIN' EXPORTING ftp_keep_open_flag = 'X' TABLES object_fileproperties = check_in_data bad_objects = bad_objects EXCEPTIONS OTHERS = 1.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = percentage text = output_text EXCEPTIONS OTHERS = 1.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = output_text EXCEPTIONS OTHERS = 1.

WS_UPLOAD CALL FUNCTION 'WS_UPLOAD' EXPORTING codepage = 'ASC' filename = p_s_list filetype = 'ASC' TABLES data_tab = structure_list EXCEPTIONS conversion_error = 1 file_open_error = 2 file_read_error = 3 invalid_table_width = 4 invalid_type = 5 no_batch = 6 unknown_error = 7 gui_refuse_filetransfer = 8 OTHERS = 9.

TR_PRESENT_REQUESTS_SEL_POPUP CALL FUNCTION 'TR_PRESENT_REQUESTS_SEL_POPUP' EXPORTING iv_organizer_type = trwbo_wbo is_selection = ls_selection is_new_request_props = ls_new_request_props IMPORTING es_selected_request = p_selected_request.

TR_ORDER_CHOICE_CORRECTION CALL FUNCTION 'TR_ORDER_CHOICE_CORRECTION' EXPORTING iv_category = 'SYST' iv_cli_dep = ' ' IMPORTING ev_order = ev_order ev_task = ev_task EXCEPTIONS invalid_category = 1 no_correction_selected = 2 OTHERS = 3.

TR_APPEND_TO_COMM CALL FUNCTION 'TR_APPEND_TO_COMM' EXPORTING pi_korrnum = pppp_selected_request-trkorr wi_e071 = wi_e071 * WI_SIMULATION = ' ' * WI_SUPPRESS_KEY_CHECK = ' ' TABLES wt_e071k = wt_e071k EXCEPTIONS no_authorization = 1 no_systemname = 2 no_systemtype = 3 tr_check_keysyntax_error = 4 tr_check_obj_error = 5 tr_enqueue_failed = 6 tr_ill_korrnum = 7 tr_key_without_header = 8 tr_lockmod_failed = 9 tr_lock_enqueue_failed = 10 tr_modif_only_in_modif_order = 11 tr_not_owner = 12 tr_no_append_of_corr_entry = 13 tr_no_append_of_c_member = 14 tr_no_shared_repairs = 15 tr_order_not_exist = 16 tr_order_released = 17 tr_order_update_error = 18 tr_repair_only_in_repair_order = 19 tr_wrong_order_type = 20 wrong_client = 21 OTHERS = 22.

ENQUEUE_E_GLOSSARY CALL FUNCTION 'ENQUEUE_E_GLOSSARY' EXPORTING * MODE_TERM3 = 'E' spras = 'S' begriff = 'HTMLENQUEUE' * X_SPRAS = ' ' * X_BEGRIFF = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_GLOSSARY CALL FUNCTION 'DEQUEUE_E_GLOSSARY' EXPORTING * MODE_TERM3 = 'E' spras = 'S' begriff = 'HTMLENQUEUE' * X_SPRAS = ' ' * X_BEGRIFF = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' EXCEPTIONS OTHERS = 1.

STREE_EXTERNAL_SEARCH CALL FUNCTION 'STREE_EXTERNAL_SEARCH' * EXPORTING * DISPLAY_F4_POPUP = 'X' * TITLE_OF_WINDOW = ' ' * TITLE_OF_FRAME1 = ' ' * TITLE_OF_FRAME2 = ' ' * TITLE_OF_F4_POPUP = ' ' * RESULT_DISPLAY_TREE_TYPE = ' ' * RESULT_DISPLAY_LAST_USER = ' ' * RESULT_DISPLAY_LAST_DATE = ' ' * RESULT_DISPLAY_LAST_RELEASE = ' ' * RESULT_DISPLAY_FIRST_USER = ' ' * RESULT_DISPLAY_FIRST_DATE = ' ' * RESULT_DISPLAY_FIRST_RELEASE = ' ' IMPORTING * MESSAGE = selected_tree_header = i_read selected_tree_text = imgtext TABLES structure_types = i_tree_type * STRUCTURES_FOUND = * SELECTED_FIELDS = * EXCLUDED_STRUCTURE_IDS = .



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