SAP Reports / Programs

RHTRANS0 SAP ABAP Report - Translate Language-Dependent Records







RHTRANS0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report enables you to translate language-dependent texts and all ex isting subtypes of the Object infotype (1000) and Description infotype (1002)...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 RHTRANS0 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

RE_RHTRANS0 - Translate Language-Dependent Records


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 RHTRANS0. "Basic submit
SUBMIT RHTRANS0 AND RETURN. "Return to original report after report execution complete
SUBMIT RHTRANS0 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: ZLANG = Source language
Selection Text: PZLANG = Target language(s)
Selection Text: OLD_REP = Output Without ALV
Title: Translate Language-Dependent Records
Text Symbol: SHW = Display
Text Symbol: SAV = Save changes?
Text Symbol: SAS = Translate Language-Dependent Records
Text Symbol: MAT = Text Maintenance
Text Symbol: CHG = Change
Text Symbol: ADZ = Selection of Source and Target Language
Text Symbol: 032 = Translatn
Text Symbol: 031 = Translation
Text Symbol: 030 = Translation exists
Text Symbol: 022 = Infotype Text
Text Symbol: 021 = Subtype Text
Text Symbol: 020 = Classic Output
Text Symbol: 016 = Data was changed
Text Symbol: 015 = Do you want to save?
Text Symbol: 014 = Warning
Text Symbol: 013 = Are you sure you want to delete?
Text Symbol: 012 = A record
Text Symbol: 011 = Text
Text Symbol: 010 = Code
Text Symbol: 009 = Release range
Text Symbol: 008 = S
Text Symbol: 007 = Subty
Text Symbol: 006 = IType
Text Symbol: 005 = Language
Text Symbol: 004 = Plan version:
Text Symbol: 003 = Object
Text Symbol: 002 = Source language:
Text Symbol: 001 = Selection period:


INCLUDES used within this REPORT RHTRANS0

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:

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = repid TABLES selection_table = sel_table EXCEPTIONS not_found = 1 no_report = 2 OTHERS = 3.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = lv_plvar.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING default_button = '1' titlebar = text-014 start_column = 25 start_row = 6 display_cancel_button = 'X' text_question = text-013 IMPORTING answer = ja_nein.

RH_READ_INFTY_1000 CALL FUNCTION 'RH_READ_INFTY_1000' TABLES i1000 = iupdat1000 OBJECTS = iobject EXCEPTIONS nothing_found = 1 wrong_condition = 2 OTHERS = 3.

RH_INSERT_INFTY CALL FUNCTION 'RH_INSERT_INFTY' EXPORTING fcode = 'INSE' vtask = 'D' commit_flg = 'X' keep_lupd = 'X' TABLES innnn = iquell1000 EXCEPTIONS no_authorization = 1 error_during_insert = 2 repid_form_initial = 3 corr_exit = 4 begda_greater_endda = 5 OTHERS = 6.

RH_UPDATE_INFTY CALL FUNCTION 'RH_UPDATE_INFTY' EXPORTING vtask = 'D' commit_flg = 'X' keep_lupd = 'X' TABLES innnn = iupdat1000 EXCEPTIONS error_during_update = 1 no_authorization = 2 repid_form_initial = 3 corr_exit = 4 OTHERS = 5.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = lv_plvar.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING default_button = '1' titlebar = text-014 start_column = 25 start_row = 6 display_cancel_button = 'X' diagnose_object = text-016 text_question = text-015 IMPORTING answer = ja_nein.

RH_READ_INFTY_NNNN CALL FUNCTION 'RH_READ_INFTY_NNNN' EXPORTING infty = '1002' TABLES innnn = iupd1002 OBJECTS = iobject EXCEPTIONS nothing_found = 1 wrong_condition = 2 infotyp_not_supported = 3 OTHERS = 4.

RH_READ_INFTY_TABDATA CALL FUNCTION 'RH_READ_INFTY_TABDATA' EXPORTING infty = '1002' TABLES innnn = iupd1002 hrtnnnn = gt_hrt1002 EXCEPTIONS OTHERS = 0.

RH_INSERT_INFTY CALL FUNCTION 'RH_INSERT_INFTY' EXPORTING fcode = 'INSE' vtask = 'D' commit_flg = 'X' old_tabnr = 'X' keep_lupd = 'X' TABLES innnn = iquell1002 EXCEPTIONS no_authorization = 1 error_during_insert = 2 repid_form_initial = 3 corr_exit = 4 begda_greater_endda = 5 OTHERS = 6.

RH_UPDATE_INFTY CALL FUNCTION 'RH_UPDATE_INFTY' EXPORTING vtask = 'D' commit_flg = 'X' repid = act_repid form = 'INSERT_TAB' keep_lupd = 'X' TABLES innnn = iv1002 EXCEPTIONS error_during_update = 1 no_authorization = 2 repid_form_initial = 3 corr_exit = 4 OTHERS = 5.

RH_EDITOR_SET CALL FUNCTION 'RH_EDITOR_SET' EXPORTING repid = 'RHTRANS0' dynnr = '0100' controlname = 'EDIT_CONTROL' max_cols = local_colw show_tool = 'X' show_status = 'X' status_text = text display_mode = local_disp TABLES lines = gt_iinfotab_tline * lines = iinfotab-tline "THY270904 EXCEPTIONS OTHERS = 0.

RH_EDITOR_GET CALL FUNCTION 'RH_EDITOR_GET' EXPORTING controlname = 'EDIT_CONTROL' TABLES lines = gt_iinfotab_tline EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING default_button = '1' titlebar = text-014 start_column = 25 start_row = 6 display_cancel_button = 'X' diagnose_object = text-013 text_question = text-013 IMPORTING answer = ja_nein.

HR_DEQUEUE_OBJECT_LIST CALL FUNCTION 'HR_DEQUEUE_OBJECT_LIST' EXPORTING dequeue_once = 'X' TABLES dequeue_list = imp_t_locks EXCEPTIONS illegal_otype = 1 objid_is_initial = 2 internal_error = 3 OTHERS = 4.

HR_ENQUEUE_OBJECT_LIST CALL FUNCTION 'HR_ENQUEUE_OBJECT_LIST' EXPORTING enqueue_once = 'X' TABLES enqueue_list = imp_t_locks EXCEPTIONS enqueue_failed = 1 objid_is_initial = 2 illegal_otype = 3 internal_error = 4 OTHERS = 5.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'P1000' CHANGING ct_fieldcat = ct_fcat.

LVC_FIELDCATALOG_MERGE





CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'PT1002' CHANGING ct_fieldcat = ct_fcat.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'ICON' CHANGING ct_fieldcat = ct_fcat.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-sav IMPORTING answer = lv_answer.

RH_UPDATE_INFTY CALL FUNCTION 'RH_UPDATE_INFTY' EXPORTING vtask = 'D' commit_flg = 'X' TABLES innnn = lt_1000 EXCEPTIONS no_authorization = 1 error_during_update = 2 repid_form_initial = 3 corr_exit = 4 OTHERS = 5.

RH_UPDATE_INFTY CALL FUNCTION 'RH_UPDATE_INFTY' EXPORTING vtask = 'D' commit_flg = 'X' repid = lv_act_repid form = 'INSERT_TAB' TABLES innnn = iv1002 EXCEPTIONS error_during_update = 1 no_authorization = 2 repid_form_initial = 3 corr_exit = 4 OTHERS = 5.

SWU_EDIT_TASK_TEXTLINES CALL FUNCTION 'SWU_EDIT_TASK_TEXTLINES' EXPORTING act_title = ueberschr-sutxt maint_flag = sapscrpt_maint IMPORTING changed = sapscrpt_change "changes applied TABLES text_lines = td1002 containerdef = sap_script_con_def EXCEPTIONS text_system_error = 1 OTHERS = 2.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = iv_icon text = iv_text IMPORTING RESULT = cv_res EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.



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