SAP Reports / Programs | Clinical System | Clinical System(IS-HMED) SAP IS

RN2LOADTBS SAP ABAP Report - Transfer Text Modules from TEXTBAUS.MDB (Obsolete)







RN2LOADTBS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Transfer Text Modules from a Text File or from TEXTBAUS...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RN2LOADTBS 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 RN2LOADTBS. "Basic submit
SUBMIT RN2LOADTBS AND RETURN. "Return to original report after report execution complete
SUBMIT RN2LOADTBS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_USER = D .
Selection Text: P_SET1 = D .
Selection Text: P_ORGFA = D .
Selection Text: P_ORGDO = D .
Selection Text: P_FILE = D .
Selection Text: P_EINRI = D .
Selection Text: P_FSET5 = SetID Radio Button
Selection Text: P_FLAG5 = Overwrite
Selection Text: P_FLAG4 = Radio Button - User
Selection Text: P_FLAG3 = Radio Button - Documenting OU
Selection Text: P_FLAG2 = Radio Button - Departmental OU
Selection Text: P_FLAG1 = Radio Button - Institution
Title: Transfer Text Modules from TEXTBAUS.MDB (Obsolete)
Text Symbol: T03 = Input Help: Documenting OU
Text Symbol: T02 = Input Help: Departmental OU
Text Symbol: T01 = i.s.h.med: Transfer Text Modules from TEXTBAUS.MDB
Text Symbol: P05 = Text Module Set
Text Symbol: M05 = Non-Transferred Text Modules:
Text Symbol: M02 = Transferred Text Modules:
Text Symbol: M01 = Text Module Transfer from File:
Text Symbol: E08 = Unknown Text Module Set
Text Symbol: E06 = Report must run in the dialog
Text Symbol: E05 = No Text Module Import File
Text Symbol: E04 = Unknown User ID
Text Symbol: E03 = Unknown Documenting OU
Text Symbol: E02 = Unknown Departmental OU
Text Symbol: E01 = Unknown Institution
Text Symbol: 008 = Overwrite existing key for the text modules?
Text Symbol: 007 = Files to Transfer
Text Symbol: 006 = User ID
Text Symbol: 005 = Documenting OU
Text Symbol: 004 = Departmental OU
Text Symbol: 003 = Institution
Text Symbol: 002 = Select a radio button for the assignment level
Text Symbol: 001 = Transfer Text Modules From PC


INCLUDES used within this REPORT RN2LOADTBS

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:

SCP_GET_CODEPAGE_NUMBER CALL FUNCTION 'SCP_GET_CODEPAGE_NUMBER' IMPORTING gui_codepage = g_gui_cp appl_codepage = g_applsvr_cp.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_repid dynumb = '1001' * TRANSLATE_TO_UPPER = ' ' * REQUEST = ' ' * PERFORM_CONVERSION_EXITS = ' ' * PERFORM_INPUT_CONVERSION = ' ' * DETERMINE_LOOP_INDEX = ' ' TABLES dynpfields = l_dynpfields.

ISH_N2_FILENAME_GET CALL FUNCTION 'ISH_N2_FILENAME_GET' EXPORTING ss_file_extension = '*' CHANGING ss_filename = p_file EXCEPTIONS selection_cancel = 1 OTHERS = 2.

ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING ambes = '*' fazuw = 'X' pfzuw = '*' graph_title = 'Eingabehilfe: Fachliche OE'(t02) einri = p_einri freig = 'X' start_orgfa = p_orgfa loekz = space no_bauid = space sperr = space IMPORTING selected_orgid = p_orgfa EXCEPTIONS bauid_not_in_nbau = 1 einri_not_in_tn01 = 2 no_hierarchy = 3 orgid_not_in_norg = 4 OTHERS = 5.

ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING ambes = 'X' fazuw = 'X' pfzuw = 'X' graph_title = 'Eingabehilfe: Dokumentierende OE'(t03) einri = p_einri freig = 'X' start_orgfa = p_orgdo loekz = space no_bauid = 'X' sperr = space IMPORTING selected_orgid = p_orgdo EXCEPTIONS bauid_not_in_nbau = 1 einri_not_in_tn01 = 2 no_hierarchy = 3 orgid_not_in_norg = 4 OTHERS = 5.

ISH_N2_WRITE CALL FUNCTION 'ISH_N2_WRITE' EXPORTING i_title = 'i.s.h.med: Textbausteine aus TEXTBAUS.MDB übernehmen'(t01)

ISH_N2_TBS_ADM_CHECK CALL FUNCTION 'ISH_N2_TBS_ADM_CHECK' EXPORTING ss_level = l_level ss_user = p_user ss_orgdo = p_orgdo ss_orgfa = p_orgfa ss_einri = p_einri ss_setid = p_set1 EXCEPTIONS error = 1 OTHERS = 2.

SUSR_USER_ADDRESS_READ CALL FUNCTION 'SUSR_USER_ADDRESS_READ' EXPORTING user_name = p_user * READ_DB_DIRECTLY = ' ' IMPORTING user_address = l_addr * USER_USR03 = EXCEPTIONS user_address_not_found = 1 OTHERS = 2.

ISH_N2_GET_N2TBS_SET_HEAD CALL FUNCTION 'ISH_N2_GET_N2TBS_SET_HEAD' EXPORTING ss_setid = p_set1 IMPORTING ss_n2tbs_set_head = l_n2tbs_set_head EXCEPTIONS error = 1 OTHERS = 2.

ISH_N2_GUI_UPLOAD CALL FUNCTION 'ISH_N2_GUI_UPLOAD' EXPORTING ss_filename = p_file ss_filetype = 'BIN' IMPORTING ss_filelength = g_file_length ss_new_filename = p_file TABLES ss_data_tab = g_data_tab EXCEPTIONS cancel = 1 OTHERS = 2.

ISH_N2_PUT_N2LTE_TBS CALL FUNCTION 'ISH_N2_PUT_N2LTE_TBS' EXPORTING ss_key = l_n2_lte_tb_keyword ss_user = p_user ss_overwrite = p_flag5 ss_description = l_description ss_category = l_category TABLES ss_text = l_data_text_tab EXCEPTIONS error = 1 exist = 2 OTHERS = 3.

ISH_N2_PUT_N2LTE_TBS CALL FUNCTION 'ISH_N2_PUT_N2LTE_TBS' EXPORTING ss_key = l_n2_lte_tb_keyword ss_orgdo = p_orgdo ss_einri = p_einri ss_overwrite = p_flag5 ss_description = l_description ss_category = l_category TABLES ss_text = l_data_text_tab EXCEPTIONS error = 1 exist = 2 OTHERS = 3.

ISH_N2_PUT_N2LTE_TBS CALL FUNCTION 'ISH_N2_PUT_N2LTE_TBS' EXPORTING ss_key = l_n2_lte_tb_keyword ss_orgfa = p_orgfa ss_einri = p_einri ss_overwrite = p_flag5 ss_description = l_description ss_category = l_category TABLES ss_text = l_data_text_tab EXCEPTIONS error = 1 exist = 2 OTHERS = 3.

ISH_N2_PUT_N2LTE_TBS CALL FUNCTION 'ISH_N2_PUT_N2LTE_TBS' EXPORTING ss_key = l_n2_lte_tb_keyword ss_einri = p_einri ss_overwrite = p_flag5 ss_description = l_description ss_category = l_category TABLES ss_text = l_data_text_tab EXCEPTIONS error = 1 exist = 2 OTHERS = 3.

ISH_N2_PUT_N2LTE_TBS_SET CALL FUNCTION 'ISH_N2_PUT_N2LTE_TBS_SET' EXPORTING ss_key = l_n2_lte_tb_keyword ss_setid = p_set1 ss_overwrite = p_flag5 ss_description = l_description ss_category = l_category ss_short_desc = l_short_description ss_text = l_text EXCEPTIONS error = 1 exist = 2 OTHERS = 3.

SCP_TRANSLATE_CHARS_46 CALL FUNCTION 'SCP_TRANSLATE_CHARS_46' EXPORTING inbuff = p_in * INBUFFLG = 0 incode = '1100' "ascii * OUTBUFFLG = 0 outcode = g_applsvr_cp "ebcdic * SUBSTC_HASH = ' ' * SUBSTC_DOT = ' ' * SUBSTC_SPACE = ' ' * SUBSTC = '00035' * MISS = '.'



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