SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Forms Processing(BC-SRV-FP) SAP BC

FP_TEST_TRANSLATION SAP ABAP Report - Test Program: Preview Translataion







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


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 FP_TEST_TRANSLATION. "Basic submit
SUBMIT FP_TEST_TRANSLATION AND RETURN. "Return to original report after report execution complete
SUBMIT FP_TEST_TRANSLATION 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: 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


INCLUDES used within this REPORT FP_TEST_TRANSLATION

INCLUDE FP_UTILITIES.


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:

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.



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