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

BTFR_CHANGE_PACKAGE SAP ABAP Report - OTR: Reassign Package







BTFR_CHANGE_PACKAGE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The package assignment of OTR texts and their applications is not consistent...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_CHANGE_PACKAGE 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_CHANGE_PACKAGE. "Basic submit
SUBMIT BTFR_CHANGE_PACKAGE AND RETURN. "Return to original report after report execution complete
SUBMIT BTFR_CHANGE_PACKAGE 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: PACKS = Package
Selection Text: P_APPL = Application
Selection Text: P_STRING = Long Text
Selection Text: P_TEXT = Short Text
Title: OTR: Reassign Package
Text Symbol: 003 = Error in the list output
Text Symbol: 005 = Selection
Text Symbol: 006 = Text Type
Text Symbol: 008 = Do you want to assign the OTR texts to a new package?
Text Symbol: 009 = Yes
Text Symbol: 010 = No
Text Symbol: 017 = Concept
Text Symbol: 018 = Application
Text Symbol: 020 = Concepts That Could Not Be Reassigned
Text Symbol: 021 = Reassigned Concepts
Text Symbol: 022 = Reason
Text Symbol: 023 = New Alias
Text Symbol: 024 = Old Alias
Text Symbol: 100 = Selected Concepts


INCLUDES used within this REPORT BTFR_CHANGE_PACKAGE

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 = object CHANGING object_vector = obj_vec EXCEPTIONS object_not_found = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_pf_status_set = 'ALV_STATUS_SET' i_callback_user_command = 'ALV_USER_COMMAND' i_structure_name = 'BTFR_HEAD' i_grid_title = l_title it_fieldcat = l_fieldcat is_layout = l_layout TABLES t_outtab = p_head_tt EXCEPTIONS program_error = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = ' ' text_question = text-008 text_button_1 = 'Ja'(009) text_button_2 = 'Nein'(010) IMPORTING answer = l_answer.

BTFR_CHANGE_PACKAGE CALL FUNCTION 'BTFR_CHANGE_PACKAGE' EXPORTING concept_tab = l_conc_t flag_string = flag_string IMPORTING alias_tab = l_alias_t error_tab = l_error_t EXCEPTIONS invalid_package = 1 invalid_tadir_entry = 2 update_error = 3 OTHERS = 4.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_repid i_structure_name = 'BTFR_CONCEPT_ALIAS' i_grid_title = l_title it_fieldcat = l_fieldcat is_layout = l_layout TABLES t_outtab = p_result_t EXCEPTIONS program_error = 1 OTHERS = 2.



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