SAP Reports / Programs

RFTBUH02_2 SAP ABAP Report - Auxiliary Report: Determine BP Fields to Be Converted in Tables







RFTBUH02_2 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 RFTBUH02_2 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

UCH2_2 - Determine tables


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 RFTBUH02_2. "Basic submit
SUBMIT RFTBUH02_2 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBUH02_2 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: PAR_TEST = Test Run
Selection Text: PAR_RUN = Update Run
Selection Text: PAR_PROJ = Conversion Project
Selection Text: PAR_EXCL = Call up Excel
Title: Auxiliary Report: Determine BP Fields to Be Converted in Tables
Text Symbol: R03 = Call up Excel
Text Symbol: R02 = Update Run (Changes to DB)
Text Symbol: R01 = Check Run (No DB Changes)
Text Symbol: F02 = Control Data
Text Symbol: F01 = Project
Text Symbol: 010 = Fld Name
Text Symbol: 009 = Where-Used List:
Text Symbol: 008 = Screen
Text Symbol: 007 = Domain
Text Symbol: 006 = Change
Text Symbol: 005 = Function Module
Text Symbol: 004 = Authr
Text Symbol: 003 = Package
Text Symbol: 002 = Object
Text Symbol: 001 = Table


INCLUDES used within this REPORT RFTBUH02_2

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:

FTBU_CONVERT_MAIN_LOCAL CALL FUNCTION 'FTBU_CONVERT_MAIN_LOCAL' EXPORTING i_test = par_test * I_CHECK = i_run = par_run * I_PROTOKOLL_NAME = i_protokoll_show = 'X' * I_PROTOKOLL_DETAIL = i_projekt = par_proj i_tabname = subproj * I_CON_PACK = '00100' IMPORTING e_flag_no = flag_no EXCEPTIONS ztpkt = 1 OTHERS = 2 .

FTBU_CONVERT_MAIN_LOCAL_SAVE CALL FUNCTION 'FTBU_CONVERT_MAIN_LOCAL_SAVE'.

FTBU_START_EXCEL CALL FUNCTION 'FTBU_START_EXCEL' EXPORTING data_name = gv_data_name data_type = 'ASC' force_start = 'X' wait = ' ' TABLES data_tab = gt_text[] EXCEPTIONS no_batch = 1 excel_not_installed = 2 wrong_version = 3 internal_error = 4 invalid_type = 5 cancelled = 6 download_error = 7 OTHERS = 8.

FTBU_START_EXCEL CALL FUNCTION 'FTBU_START_EXCEL' EXPORTING data_name = gv_data_name data_type = 'ASC' force_start = 'X' wait = ' ' TABLES data_tab = gt_text[] EXCEPTIONS no_batch = 1 excel_not_installed = 2 wrong_version = 3 internal_error = 4 invalid_type = 5 cancelled = 6 download_error = 7 OTHERS = 8.

FTBU_START_EXCEL CALL FUNCTION 'FTBU_START_EXCEL' EXPORTING * CHECK_VERSION = ' ' data_name = gv_data_name * DATA_PATH_FLAG = 'W' data_type = 'ASC' * DATA_BIN_FILE_SIZE = * MACRO_NAME = ' ' * MACRO_PATH_FLAG = ' ' force_start = 'X' wait = ' ' * IMPORTING * WINID = TABLES data_tab = gt_text[] EXCEPTIONS no_batch = 1 excel_not_installed = 2 wrong_version = 3 internal_error = 4 invalid_type = 5 cancelled = 6 download_error = 7 OTHERS = 8 .

RS_IMPORT_DYNPRO CALL FUNCTION 'RS_IMPORT_DYNPRO' EXPORTING * DYLANG = ' ' dyname = gt_d020s-prog dynumb = gt_d020s-dnum request = 'A' suppress_checks = 'X' * IMPORTING * HEADER = TABLES ftab = gt_ftab pltab = gt_pltab EXCEPTIONS button_error = 1 dylanguage_invalid = 2 dylanguage_not_inst = 3 dyname_invalid = 4 dynproload_not_found = 5 dynpro_old = 6 dynumb_invalid = 7 ftab_invalid = 8 gen_error = 9 gen_ok = 10 header_invalid = 11 internal_error = 12 no_dynpro = 13 no_ftab_row = 14 no_memory = 15 no_processlogic = 16 pltab_invalid = 17 request_invalid = 18 OTHERS = 19 .

FTBU_START_EXCEL CALL FUNCTION 'FTBU_START_EXCEL' EXPORTING * CHECK_VERSION = ' ' data_name = gv_data_name * DATA_PATH_FLAG = 'W' data_type = 'ASC' * DATA_BIN_FILE_SIZE = * MACRO_NAME = ' ' * MACRO_PATH_FLAG = ' ' force_start = 'X' wait = ' ' * IMPORTING * WINID = TABLES data_tab = gt_text[] EXCEPTIONS no_batch = 1 excel_not_installed = 2 wrong_version = 3 internal_error = 4 invalid_type = 5 cancelled = 6 download_error = 7 OTHERS = 8 .

FTBU_START_EXCEL CALL FUNCTION 'FTBU_START_EXCEL' EXPORTING data_name = gv_data_name data_type = 'ASC' force_start = 'X' wait = ' ' TABLES data_tab = gt_text[] EXCEPTIONS no_batch = 1 excel_not_installed = 2 wrong_version = 3 internal_error = 4 invalid_type = 5 cancelled = 6 download_error = 7 OTHERS = 8.

FTBU_CONVERT_SET_COUNTER CALL FUNCTION 'FTBU_CONVERT_SET_COUNTER' EXPORTING i_counter_read = cnt_rol i_counter_ok = cnt_dtel * I_COUNTER_W = * I_COUNTER_ERROR = * I_FLAG_ABBR = i_flag_eof = lv_flag_eof i_flag_read = lv_flag_read.



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