SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Online Text Repository(BC-SRV-OTR) SAP BC

BTFR_COPY SAP ABAP Report - Copy OTR Texts







BTFR_COPY is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report is used to copy OTR short texts from one application to another (for example, texts in BSP to texts in ABAP WebDynpro)...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 BTFR_COPY 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 BTFR_COPY. "Basic submit
SUBMIT BTFR_COPY AND RETURN. "Return to original report after report execution complete
SUBMIT BTFR_COPY 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: CREA_LAN = In Original Language Only
Selection Text: NEW_APPL = New Application
Selection Text: NEW_PACK = New Package
Selection Text: OLD_APPL = Old Application
Selection Text: OLD_PACK = Old Package
Title: Copy OTR Texts
Text Symbol: 001 = Error in
Text Symbol: 002 = Return Code:
Text Symbol: 010 = Short Text
Text Symbol: 011 = Long Text
Text Symbol: 100 = Concept
Text Symbol: 101 = Package/Alias
Text Symbol: 102 = New Alias
Text Symbol: 103 = Message from Alias Check
Text Symbol: 104 = Text
Text Symbol: 901 = The original system of new package is
Text Symbol: 902 = Copy texts there


INCLUDES used within this REPORT BTFR_COPY

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:

SOTR_OBJECT_SET_VECTOR call function 'SOTR_OBJECT_SET_VECTOR' exporting object = old_appl changing object_vector = old_obj_vec exceptions object_not_found = 1 others = 2.

SOTR_OBJECT_SET_VECTOR call function 'SOTR_OBJECT_SET_VECTOR' exporting object = new_appl changing object_vector = new_obj_vec exceptions object_not_found = 1 others = 2.

BTFR_PACKAGE_ATTRIBUTES_GET call function 'BTFR_PACKAGE_ATTRIBUTES_GET' exporting package = new_pack importing srcsystem = srcsystem exceptions invalid_package = 1 invalid_tadir_entry = 2 others = 3.

SOTR_WBO_OBJECTS_CHECK call function 'SOTR_WBO_OBJECTS_CHECK' exporting pgmid = l_pgmid "R3TR object = l_object obj_name = l_obj_name importing object_exist = l_object_exist exceptions unknown_object = 1 others = 2.

SOTR_WBO_TADIR_CHECK call function 'SOTR_WBO_TADIR_CHECK' exporting paket = l_package object = l_object exceptions paket_not_existing = 1 error_in_tadir_entry = 2 others = 3.

SOTR_GET_CONCEPT call function 'SOTR_GET_CONCEPT' exporting concept = i_sotr_head-concept tables entries = l_entries exceptions no_entry_found = 1 others = 2.

SOTR_CREATE_CONCEPT call function 'SOTR_CREATE_CONCEPT' exporting paket = l_package crea_lan = i_sotr_head-crea_lan alias_name = i_extd_header-new_alias object = new_appl entries = l_entries flag_correction_entry = true flag_copy_text = true exceptions package_missing = 1 crea_lan_missing = 2 object_missing = 3 paket_does_not_exist = 4 alias_already_exist = 5 object_type_not_found = 6 langu_missing = 7 identical_context_not_allowed = 8 text_too_long = 9 error_in_update = 10 no_master_langu = 11 error_in_concept_id = 12 alias_not_allowed = 13 tadir_entry_creation_failed = 14 internal_error = 15 error_in_correction = 16 user_cancelled = 17 no_entry_found = 18 others = 19.



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