SAP Reports / Programs

BTFR_DELETE_NOT_USED_TEXTS SAP ABAP Report - OTR: Delete Texts Not Used







BTFR_DELETE_NOT_USED_TEXTS 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 BTFR_DELETE_NOT_USED_TEXTS 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_DELETE_NOT_USED_TEXTS. "Basic submit
SUBMIT BTFR_DELETE_NOT_USED_TEXTS AND RETURN. "Return to original report after report execution complete
SUBMIT BTFR_DELETE_NOT_USED_TEXTS 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: P_TEXT = Short Text
Selection Text: P_STRING = Long Text
Selection Text: P_CORRNR = Call Correction System
Selection Text: P_APPL = Application
Selection Text: P_ALIAS = Only Texts Without Aliases
Selection Text: PACKS = Package
Title: OTR: Delete Texts Not Used
Text Symbol: 023 = Changed On
Text Symbol: 022 = Created On
Text Symbol: 021 = Changed By
Text Symbol: 020 = Created By
Text Symbol: 018 = Text
Text Symbol: 017 = Length
Text Symbol: 015 = Context Flag
Text Symbol: 014 = Concept
Text Symbol: 013 = Texts of the Selected Concept
Text Symbol: 012 = No
Text Symbol: 011 = Yes
Text Symbol: 010 = Selecting data...
Text Symbol: 008 = Do you want to delete the concepts?
Text Symbol: 007 = Correction
Text Symbol: 006 = Text Type
Text Symbol: 005 = Selection
Text Symbol: 003 = Error in the list output
Text Symbol: 002 = Application
Text Symbol: 001 = Texts that are not in the where-used List


INCLUDES used within this REPORT BTFR_DELETE_NOT_USED_TEXTS

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.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Daten werden selektiert...'(010).

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 = concept_out EXCEPTIONS program_error = 1 OTHERS = 2.

TR_OBJECTS_CHECK CALL FUNCTION 'TR_OBJECTS_CHECK' TABLES wt_ko200 = l_ko200 EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3.

TR_OBJECTS_INSERT CALL FUNCTION 'TR_OBJECTS_INSERT' TABLES wt_ko200 = l_ko200 EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3.

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

BTFR_DELETE CALL FUNCTION 'BTFR_DELETE' EXPORTING flag_string = flag_string CHANGING header_tab = p_concept_del EXCEPTIONS not_all_concepts_deleted = 1 not_all_entries_deleted = 0 error_tadir_entry = 0 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_structure_name = 'SOTR_TEXT' i_grid_title = l_title it_fieldcat = l_fieldcat is_layout = l_layout i_screen_start_column = 5 i_screen_start_line = 5 i_screen_end_column = 150 i_screen_end_line = 30 TABLES t_outtab = l_sotr_text EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_structure_name = 'SOTR_TEXTU' i_grid_title = l_title it_fieldcat = l_fieldcat is_layout = l_layout i_screen_start_column = 5 i_screen_start_line = 5 i_screen_end_column = 150 i_screen_end_line = 30 TABLES t_outtab = l_sotr_textu EXCEPTIONS program_error = 1 OTHERS = 2.

BTFR_OBJTYPE_GET_FROM_VECTOR CALL FUNCTION 'BTFR_OBJTYPE_GET_FROM_VECTOR' EXPORTING object_vector = p_objvec IMPORTING object_type = p_object.



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