FP_TEST_TRANSLATION 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 FP_TEST_TRANSLATION into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: EXTRACT = Extract Texts to XLIFF
Selection Text: MERGE = Merge Texts and Preview
Selection Text: P_FNAME = Form
Selection Text: P_LANGU = Language
Selection Text: P_XLIFF = XLIFF File
Title: Test Program: Preview Translataion
Text Symbol: 000 = Files, Language
Text Symbol: 001 = Choose Action
Text Symbol: 002 = Error when getting form layout
Text Symbol: 003 = No form layout available
Text Symbol: 004 = No form layout available in the required language
Text Symbol: 005 = Error when extracting texts
INCLUDE FP_UTILITIES.
No SAP DATABASE tables are accessed within this REPORT code!
FP_READ_XDP CALL FUNCTION 'FP_READ_XDP' EXPORTING i_name = p_fname i_language = lv_masterlang IMPORTING e_xdp = lv_xdp_data EXCEPTIONS read_error = 1 OTHERS = 2.
FP_READ_XDP CALL FUNCTION 'FP_READ_XDP' EXPORTING i_name = p_fname i_language = p_langu IMPORTING e_xdp = lv_xdp_data EXCEPTIONS read_error = 1 OTHERS = 2.
FP_READ_S2Y CALL FUNCTION 'FP_READ_S2Y' EXPORTING i_name = p_fname i_language = p_langu IMPORTING e_s2y = l_xliff EXCEPTIONS read_error = 1 xslt_runtime_error = 2 OTHERS = 3.
FP_PREVIEW_FORMLAYOUT CALL FUNCTION 'FP_PREVIEW_FORMLAYOUT' EXPORTING i_name = l_fname i_language = p_langu i_texts = l_xliff i_attributes = lt_attributes i_attributes_bin = lt_attributes_bin i_title = c_title.
TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'SFPF' wi_tadir_obj_name = l_tadir-obj_name wi_read_only = 'X' IMPORTING * NEW_GTADIR_ENTRY = new_tadir_entry = l_tadir EXCEPTIONS OTHERS = 25.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.