SAP Reports / Programs

RFTBCO_COMPARE_TEXT SAP ABAP Report - Client Comparison of Texts (Cross-System)







RFTBCO_COMPARE_TEXT 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 RFTBCO_COMPARE_TEXT 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 RFTBCO_COMPARE_TEXT. "Basic submit
SUBMIT RFTBCO_COMPARE_TEXT AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBCO_COMPARE_TEXT 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: S_TDSPRA = D .
Selection Text: S_TDOBJE = D .
Selection Text: S_TDNAME = D .
Selection Text: S_TDID = D .
Selection Text: S_TMANDT = Client
Selection Text: P_SMANDT = Source Client
Selection Text: P_RRFC = Source texts via RCF connectn
Title: Client Comparison of Texts (Cross-System)
Text Symbol: S10 = Source texts &1/client:
Text Symbol: L04 = LINES: Target text is initial
Text Symbol: L03 = LINES: Source and target text are initial
Text Symbol: L02 = LINES: Texts are identical
Text Symbol: L01 = LINES: Content of texts differs!
Text Symbol: K03 = HEADER: Text attributes do not differ from each other or differ only slightly
Text Symbol: K02 = HEADER: Text attributes differ from each other greatly
Text Symbol: K01 = HEADER: Text not available in client &1
Text Symbol: H06 = Description
Text Symbol: H05 = ID
Text Symbol: H04 = Object
Text Symbol: H02 = Text name + language
Text Symbol: H01 = OK?
Text Symbol: BL3 = Target system (current system)
Text Symbol: BL2 = Selection for texts
Text Symbol: BL1 = Source system
Text Symbol: 061 = &1 (client &2)
Text Symbol: 060 = Target System:
Text Symbol: 051 = &1 (client &2)
Text Symbol: 050 = Source System:
Text Symbol: 005 = Logical Destination
Text Symbol: 004 = Client
Text Symbol: 003 = Texts differ in source and target system
Text Symbol: 002 = Text not available in client &1
Text Symbol: 001 = No source texts found


INCLUDES used within this REPORT RFTBCO_COMPARE_TEXT

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:

F4_RFC_DESTINATIONS CALL FUNCTION 'F4_RFC_DESTINATIONS' EXPORTING type = '3' * DESTINATION = '*' IMPORTING RESULT = p_rfcdes.

FTR_CORR_READ_TEXT_HEADER_RFC CALL FUNCTION 'FTR_CORR_READ_TEXT_HEADER_RFC' DESTINATION p_rfcdes IMPORTING e_current_client = p_smandt e_current_sysid = g_rfc_sysid e_rows = g_rows TABLES sop_tdobject = s_tdobje sop_tdid = s_tdid sop_tdname = s_tdname sop_tdspras = s_tdspra t_thead = gt_source_thead EXCEPTIONS error = 1 communication_failure = 2 MESSAGE g_msg_text system_failure = 3 MESSAGE g_msg_text OTHERS = 4.

FTR_CORR_READ_TEXT_SINGLE_RFC CALL FUNCTION 'FTR_CORR_READ_TEXT_SINGLE_RFC' DESTINATION p_rfcdes EXPORTING id = gs_source_thead-tdid language = gs_source_thead-tdspras name = gs_source_thead-tdname object = gs_source_thead-tdobject * ARCHIVE_HANDLE = 0 TABLES lines = gt_source_tline EXCEPTIONS communication_failure = 1 MESSAGE g_msg_text system_failure = 2 MESSAGE g_msg_text OTHERS = 0.

READ_TEXT CALL FUNCTION 'READ_TEXT' "/read source EXPORTING client = gs_compare-tdmandt_s id = gs_compare-tdid language = gs_compare-tdspras name = gs_compare-tdname object = gs_compare-tdobject TABLES lines = gt_source_tline EXCEPTIONS OTHERS = 0.

READ_TEXT CALL FUNCTION 'READ_TEXT' "/read target EXPORTING client = gs_compare-tdmandt_t id = gs_compare-tdid language = gs_compare-tdspras name = gs_compare-tdname object = gs_compare-tdobject TABLES lines = gt_target_tline EXCEPTIONS OTHERS = 0.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING client = u_mandt database_only = 'X' * TEXTMEMORY_ONLY = ' ' * ARCHIVE_HANDLE = 0 IMPORTING entries = c_rows TABLES selections = lt_thead t_object = lt_tdobje t_name = lt_tdname t_id = lt_tdid t_language = lt_tdspra EXCEPTIONS wrong_access_to_archive = 1 OTHERS = 2.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING client = hide_thead-mandt id = hide_thead-tdid language = hide_thead-tdspras name = hide_thead-tdname object = hide_thead-tdobject * ARCHIVE_HANDLE = 0 IMPORTING header = lt_thead TABLES lines = lt_tline EXCEPTIONS OTHERS = 0.

EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' EXPORTING display = 'X' header = lt_thead TABLES lines = lt_tline EXCEPTIONS OTHERS = 0.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING client = lt_compare-tdmandt_t "/!!!! database_only = 'X' * TEXTMEMORY_ONLY = ' ' object = lt_compare-tdobject name = lt_compare-tdname id = lt_compare-tdid language = lt_compare-tdspras * ARCHIVE_HANDLE = 0 TABLES selections = lt_help_target_thead EXCEPTIONS wrong_access_to_archive = 0 OTHERS = 0.



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