SAP Reports / Programs

RRV_BUCKET_DIRECT_FILL SAP ABAP Report - Filling a Bucket







RRV_BUCKET_DIRECT_FILL 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 RRV_BUCKET_DIRECT_FILL 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

RRV_FILL - Fill Bucket
RSBUCKET - Fill Bucket


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 RRV_BUCKET_DIRECT_FILL. "Basic submit
SUBMIT RRV_BUCKET_DIRECT_FILL AND RETURN. "Return to original report after report execution complete
SUBMIT RRV_BUCKET_DIRECT_FILL 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: I_TXTLG = Description
Selection Text: I_TREX = D Reference table is TREX index
Selection Text: I_TABREF = Use Existing Sources
Selection Text: I_TABNAM = Reference Table/Index
Selection Text: I_SIDFL = Table/index contains SIDs
Selection Text: I_REPLAC = Replace All Char. Values
Selection Text: I_KEYFL = Table/index contains keys
Selection Text: I_IOBJNM = Characteristic
Selection Text: I_FIELD = Field Name in Table/Index
Selection Text: I_BUCKET = Name of Bucket
Selection Text: I_APPEND = Add New Characteristic Values
Selection Text: CHAVLS = Characteristic Values
Title: Filling a Bucket
Text Symbol: 104 = Delete
Text Symbol: 103 = Cancel
Text Symbol: 102 = Create
Text Symbol: 101 = Table does not exist
Text Symbol: 012 = Using the Bucket
Text Symbol: 011 = Existing Columns
Text Symbol: 010 = Create Index from DB Table
Text Symbol: 009 = Display Table/Index
Text Symbol: 008 = External DB tables or indexes will be kept
Text Symbol: 007 = Delete bucket?
Text Symbol: 006 = Delete Bucket
Text Symbol: 005 = Really delete bucket "&1"?
Text Symbol: 004 = Characteristic Values of the Bucket
Text Symbol: 003 = Ready!
Text Symbol: 002 = Existing Table or Index
Text Symbol: 001 = Bucket


INCLUDES used within this REPORT RRV_BUCKET_DIRECT_FILL

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:

RRV_TABLE_CREATE CALL FUNCTION 'RRV_TABLE_CREATE' EXPORTING i_iobjnm = i_iobjnm i_technm = l_technm IMPORTING e_bucket = i_bucket.

RRSV_IOBJ_VALUE_OUTPUT CALL FUNCTION 'RRSV_IOBJ_VALUE_OUTPUT' EXPORTING i_iobjnm = i_iobjnm i_iobjvl_ext = chavls-low i_format = rsr_c_format-extern i_concat = rrsv_c_concat-with_const i_check = rs_c_true i_text = rs_c_false i_sid_requested = rs_c_false IMPORTING e_iobjvl_int = l_chavl EXCEPTIONS OTHERS = 6.

RRV_BUCKET_DIRECT_FILL CALL FUNCTION 'RRV_BUCKET_DIRECT_FILL' EXPORTING i_iobjnm = i_iobjnm i_bucket = i_bucket i_t_chavl = i_t_chavl i_append = i_append IMPORTING e_t_msg = l_t_msg e_subrc = l_subrc.

RSD_CHA_HELP_VALUES_SHLP CALL FUNCTION 'RSD_CHA_HELP_VALUES_SHLP' EXPORTING i_chanm = i_iobjnm i_chavl_ext = l_chavl_ext i_no_pvalues = rs_c_true i_multiple_choice = rs_c_true IMPORTING e_t_chavt = l_t_chavt EXCEPTIONS illegal_infoobject = 1 no_f4_available = 2 dialogue_canceled = 3 no_values_available = 4 illegal_input = 5 inherited_error = 6 OTHERS = 7.

RSD_IOBJ_F4 CALL FUNCTION 'RSD_IOBJ_F4' EXPORTING i_objvers = rs_c_objvers-active i_show_cha = rs_c_true i_show_tim = rs_c_true i_show_atr_nav = rs_c_true CHANGING c_iobjnm = c_iobjnm EXCEPTIONS illegal_input = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = 'RRV_BUCKET_DIRECT_FILL' dynumb = '0250' translate_to_upper = 'X' TABLES dynpfields = l_t_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

RSD_IOBJ_INCL_ATR_NAV_GET CALL FUNCTION 'RSD_IOBJ_INCL_ATR_NAV_GET' EXPORTING i_iobjnm = c_iobjnm i_with_dtel = rs_c_false IMPORTING e_s_cob_pro = l_s_cob_pro EXCEPTIONS iobj_not_found = 1 illegal_input = 2 OTHERS = 3.

RRSV_IOBJ_VALUE_OUTPUT CALL FUNCTION 'RRSV_IOBJ_VALUE_OUTPUT' EXPORTING i_iobjnm = i_iobjnm i_iobjvl_ext = chavls-low i_format = rsr_c_format-extern i_concat = rrsv_c_concat-with_const i_check = rs_c_true i_text = rs_c_false i_sid_requested = rs_c_false IMPORTING e_iobjvl_int = l_chavl EXCEPTIONS OTHERS = 6.

CONVERSION_EXIT_BUCKT_INPUT CALL FUNCTION 'CONVERSION_EXIT_BUCKT_INPUT' EXPORTING input = i_bucket IMPORTING output = l_bucket.

RRSI_SID_VAL_CONVERT CALL FUNCTION 'RRSI_SID_VAL_CONVERT' EXPORTING i_iobjnm = i_iobjnm i_ta_sid = l_th_sid IMPORTING e_th_sidval = l_th_sidval EXCEPTIONS x_message = 1 OTHERS = 2.

RRSV_IOBJ_VALUE_OUTPUT CALL FUNCTION 'RRSV_IOBJ_VALUE_OUTPUT' EXPORTING i_iobjnm = i_iobjnm i_iobjvl_int = -value i_format = rsr_c_format-intern i_concat = rrsv_c_concat-with_const i_check = rs_c_false i_text = rs_c_false IMPORTING e_iobjvl_ext = l_s_chavls-low EXCEPTIONS unknown_iobj = 1 no_input_given = 2 invalid_format = 3 iobj_value_not_valid = 4 no_sid_provided = 5 OTHERS = 6.

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = l_sx_restrict EXCEPTIONS too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8.

RRV_TABLE_F4 CALL FUNCTION 'RRV_TABLE_F4' EXPORTING i_iobjnm = i_iobjnm CHANGING c_bucket = l_bucket.

CONVERSION_EXIT_BUCKT_INPUT CALL FUNCTION 'CONVERSION_EXIT_BUCKT_INPUT' EXPORTING input = l_bucket IMPORTING output = l_s_tabledirt-bucket.

RRV_INDEX_F4 CALL FUNCTION 'RRV_INDEX_F4' CHANGING c_indexname = l_index_or_tab.

RS_HELP_HANDLING CALL FUNCTION 'RS_HELP_HANDLING' EXPORTING dynpfield = 'I_TABNAM' " will be filled into this field! dynpname = l_dnum object = 'TB ' progname = 'RRV_BUCKET_DIRECT_FILL' suppress_selection_screen = 'X' variant = l_variant.

CONVERSION_EXIT_BUCKT_INPUT CALL FUNCTION 'CONVERSION_EXIT_BUCKT_INPUT' EXPORTING input = i_bucket " real name or /BIC/OB0000123 IMPORTING output = l_bucket. " /BIC/OB0000123

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING defaultoption = '1' textline1 = l_text textline2 = 'Externe DB-Tabellen oder Indizes bleiben erhalten!'(008) text_option1 = 'Löschen'(104) text_option2 = 'Abbrechen'(103) titel = 'Bucket Löschen'(006) cancel_display = rs_c_false IMPORTING answer = l_answer.

RRV_CREATE_BUCKET_FROM_DBTAB





CALL FUNCTION 'RRV_CREATE_BUCKET_FROM_DBTAB' EXPORTING i_tablnm = l_tablnm EXCEPTIONS table_does_not_exist = 1 OTHERS = 2.

RSDDB_UI_INDEX_DISPLAY CALL FUNCTION 'RSDDB_UI_INDEX_DISPLAY' EXPORTING i_index_id = l_index i_as_popup = rs_c_false EXCEPTIONS bia_error = 1 dialog_error = 2 init_error = 3 user_canceled = 4 no_data = 5 no_authority = 6 OTHERS = 7.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = 'RRV_BUCKET_DIRECT_FILL' dynumb = '0280' translate_to_upper = 'X' TABLES dynpfields = l_t_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = 'RRV_BUCKET_DIRECT_FILL' dynumb = '0280' translate_to_upper = 'X' TABLES dynpfields = l_t_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

DD_TABL_GET CALL FUNCTION 'DD_TABL_GET' EXPORTING tabl_name = l_tabl_name withtext = 'X' add_typeinfo = 'X' TABLES dd03p_tab_a = l_t_dd03p EXCEPTIONS access_failure = 1.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'FIELD' window_title = 'Vorhandene Spalten'(011) value = l_pattern value_org = 'S' multiple_choice = rs_c_false TABLES value_tab = l_t_field_f4 return_tab = l_t_retval EXCEPTIONS parameter_error = 1 no_values_found = 2.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'FIELD' window_title = 'Vorhandene Spalten'(011) value = l_pattern value_org = 'S' multiple_choice = rs_c_false TABLES value_tab = l_t_attr_f4 return_tab = l_t_retval EXCEPTIONS parameter_error = 1 no_values_found = 2.

DOKU_OBJECT_SHOW CALL FUNCTION 'DOKU_OBJECT_SHOW' EXPORTING dokclass = 'DT' doklangu = sy-langu dokname = 'BUCKET_INFO' doktitle = 'Benutzung des Buckets'(012) TABLES links = links.

RS_SELECTIONSCREEN_READ CALL FUNCTION 'RS_SELECTIONSCREEN_READ' EXPORTING program = l_repid dynnr = l_dynnr TABLES fieldvalues = l_rsselread.



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