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
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: 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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.