RSDRI_INFOPROV_READ is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name RSDRI_INFOPROV_READ into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RSDRI
Released Date:
17.03.2008
Processing type: Normal fucntion module
CALL FUNCTION 'RSDRI_INFOPROV_READ' "BW Data Manager: General Read Interfaces
EXPORTING
i_infoprov = " rsinfoprov Technical Name of InfoProvider
i_th_sfc = " rsdri_th_sfc Characteristics That Are to Be Returned
i_th_sfk = " rsdri_th_sfk Key Figures That Are to Be Returned
* i_t_range = " rsdri_t_range Selection Conditions Connected with AND
* i_th_tablesel = " rsdri_th_selt List of Table Selections
* i_t_rtime = " rsdri_t_rtime BW Data Manager: Table of Intervals for Non-Cumulatives
* i_reference_date = SY-DATUM " rsdri_refdate Key Date
* i_rollup_only = RS_C_TRUE " rs_bool Cubes: Read Only to Rollup? Is Cropped with I_T_REQUID
* i_t_requid = " rsdr0_t_requid Optional Selection of Relevant Requests
* i_save_in_table = SPACE " rsdri_save_in_table Save Result in DB Table?
* i_tablename = " rsdri_tablename Name of the Results Table
* i_save_in_file = SPACE " rsdri_save_in_file Save Result in File?
* i_filename = " rsdri_filename Name of Results File
* i_save_in_index = SPACE " rsdri_save_in_index Save result in BWA index?
* i_index_id = " trexd_index_id Name of the BWA Index
* i_packagesize = 1000 " i Size of Returned Data Package
* i_maxrows = 0 " i Stops After This Number of Records
* i_authority_check = RSDRC_C_AUTHCHK-READ " rsdri_authchk Should Access Check Be Executed Read/Write/None
* i_currency_conversion = 'X' " rsdr0_curr_conv Convert Currency Key Figures
* i_use_db_aggregation = RS_C_TRUE " rs_bool Aggregate Run on DB
* i_use_aggregates = RS_C_TRUE " rs_bool (Only InfoCubes): Use Aggregate Yes/No
* i_read_ods_delta = RS_C_FALSE " rsdri_changelog_extraction (Only ODS Objects): Should Data Be Read from the ODS Change Log?
* i_caller = RSDRS_C_CALLER-RSDRI " rsdrs_caller ID of User who Called up Transaction
* i_debug = RS_C_FALSE " rs_bool Debugging Mode On/Off
* i_clear = RS_C_FALSE " rs_bool Delete Static References
* i_commit_allowed = RS_C_TRUE " rs_bool Commit Permitted During Read
* i_with_nls = RS_C_FALSE " dbman_with_nearline Also Read Near-Line Storage/Archive
* i_check_results = RS_C_FALSE " rs_bool Internal Use Only
* i_process_mpro_in_trex = " rsdri_process_mpro_in_trex Process MultiProvider Query in TREX (if Possible)
IMPORTING
e_t_data = " standard table Internal Table with Query Result
e_end_of_data = " rs_bool Last Data Package Yes/No
e_aggregate = " rsinfocube Last Aggregate Used
e_split_occurred = " rsdr0_split_occurred Result may not be completely aggregated
e_t_msg = " rs_t_msg BW: Table with Messages (Application Log)
e_stepuid = " sysuuid_25 UUID of the step in the query statistics
CHANGING
c_first_call = " rs_bool First Call Yes/No
EXCEPTIONS
ILLEGAL_INPUT = 1 " Incorrect Input Parameter
ILLEGAL_INPUT_SFC = 2 " Error in SFC Parameter
ILLEGAL_INPUT_SFK = 3 " Error in SFK Parameter
ILLEGAL_INPUT_RANGE = 4 " Error in RANGE or RANGETAB Parameter
ILLEGAL_INPUT_TABLESEL = 5 " Error in TABLESEL Parameter
NO_AUTHORIZATION = 6 " No Authorization for Data Access
ILLEGAL_DOWNLOAD = 7 " Download into the Specified Form Not Possible
ILLEGAL_TABLENAME = 8 " Table Name Already In Use (by DDIC or on DB)
TRANS_NO_WRITE_MODE = 9 " Transactional InfoCube Not in Write Mode
INHERITED_ERROR = 10 " Error in Called Routine
X_MESSAGE = 11 " Other Error from Deeper Modules
NO_COMMIT_FREE_READ = 12 " Read Without COMMIT Not Possible, See I_COMMIT_ALLOWED
. " RSDRI_INFOPROV_READ
The ABAP code below is a full code listing to execute function module RSDRI_INFOPROV_READ including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_e_t_data | TYPE STANDARD TABLE , |
| ld_e_end_of_data | TYPE RS_BOOL , |
| ld_e_aggregate | TYPE RSINFOCUBE , |
| ld_e_split_occurred | TYPE RSDR0_SPLIT_OCCURRED , |
| ld_e_t_msg | TYPE RS_T_MSG , |
| ld_e_stepuid | TYPE SYSUUID_25 . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_c_first_call | TYPE RS_BOOL , |
| ld_e_t_data | TYPE STANDARD TABLE , |
| ld_i_infoprov | TYPE RSINFOPROV , |
| ld_e_end_of_data | TYPE RS_BOOL , |
| ld_i_th_sfc | TYPE RSDRI_TH_SFC , |
| ld_e_aggregate | TYPE RSINFOCUBE , |
| ld_i_th_sfk | TYPE RSDRI_TH_SFK , |
| ld_e_split_occurred | TYPE RSDR0_SPLIT_OCCURRED , |
| ld_i_t_range | TYPE RSDRI_T_RANGE , |
| ld_e_t_msg | TYPE RS_T_MSG , |
| ld_i_th_tablesel | TYPE RSDRI_TH_SELT , |
| ld_e_stepuid | TYPE SYSUUID_25 , |
| ld_i_t_rtime | TYPE RSDRI_T_RTIME , |
| ld_i_reference_date | TYPE RSDRI_REFDATE , |
| ld_i_rollup_only | TYPE RS_BOOL , |
| ld_i_t_requid | TYPE RSDR0_T_REQUID , |
| ld_i_save_in_table | TYPE RSDRI_SAVE_IN_TABLE , |
| ld_i_tablename | TYPE RSDRI_TABLENAME , |
| ld_i_save_in_file | TYPE RSDRI_SAVE_IN_FILE , |
| ld_i_filename | TYPE RSDRI_FILENAME , |
| ld_i_save_in_index | TYPE RSDRI_SAVE_IN_INDEX , |
| ld_i_index_id | TYPE TREXD_INDEX_ID , |
| ld_i_packagesize | TYPE I , |
| ld_i_maxrows | TYPE I , |
| ld_i_authority_check | TYPE RSDRI_AUTHCHK , |
| ld_i_currency_conversion | TYPE RSDR0_CURR_CONV , |
| ld_i_use_db_aggregation | TYPE RS_BOOL , |
| ld_i_use_aggregates | TYPE RS_BOOL , |
| ld_i_read_ods_delta | TYPE RSDRI_CHANGELOG_EXTRACTION , |
| ld_i_caller | TYPE RSDRS_CALLER , |
| ld_i_debug | TYPE RS_BOOL , |
| ld_i_clear | TYPE RS_BOOL , |
| ld_i_commit_allowed | TYPE RS_BOOL , |
| ld_i_with_nls | TYPE DBMAN_WITH_NEARLINE , |
| ld_i_check_results | TYPE RS_BOOL , |
| ld_i_process_mpro_in_trex | TYPE RSDRI_PROCESS_MPRO_IN_TREX . |
The function module RSDRI_INFOPROV_READ reads data from the
InfoProvider whose technical name is specified in I_INFOPROV.
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RSDRI_INFOPROV_READ or its description.
RSDRI_INFOPROV_READ - BW Data Manager: General Read Interfaces RSDRI_INFOPROV_DELETE - Delete from a Infocube / ODS RSDRI_INFOCUBE_GEN_PROGRAM - Generation of a Write Program for InfoCubes RSDRI_INFOCUBE_DATA_COPY - Copying Data RSDRI_DF_TEXT_READ - RSDRI_DF_TEST_RECEIVER - DF Facade: Test Function Module for Callback