UCR_DATA_READ_1 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 UCR_DATA_READ_1 into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
UCR0
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'UCR_DATA_READ_1' "
EXPORTING
* it_seltype = " ucr_t_bw_seltype Type of Selection per Row/Column
* it_hienode = " ucr_t_bw_hienode Node Selection per Row/Column
* it_hienodename = " ucr_t_bw_hienodename Node Selection per Row/Column -> Char.Values
* it_range = " ucr_t_bw_range Selection Range per Row/Column
* i_packagesize = 1000 " i
* i_keydate = SY-DATUM " sy-datum Date and Time, Current (Application Server) Date
* it_sfc = " ucr_t_bw_iobj List of InfoObjects
* it_sfk = " ucr_t_bw_iobj List of InfoObjects
i_infoprov = " rsinfocube InfoCube
i_rfcdest = " rfcdest Logical Destination (Specified when Calling Function)
IMPORTING
et_data = " standard table
e_end_of_data = " uc_flg General Indicator for SAP Consolidation
et_message = " ucr_t_bw_message Messages
CHANGING
c_first_call = " uc_flg General Indicator for SAP Consolidation
. " UCR_DATA_READ_1
The ABAP code below is a full code listing to execute function module UCR_DATA_READ_1 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_et_data | TYPE STANDARD TABLE , |
| ld_e_end_of_data | TYPE UC_FLG , |
| ld_et_message | TYPE UCR_T_BW_MESSAGE . |
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 UC_FLG , |
| ld_et_data | TYPE STANDARD TABLE , |
| ld_it_seltype | TYPE UCR_T_BW_SELTYPE , |
| ld_e_end_of_data | TYPE UC_FLG , |
| ld_it_hienode | TYPE UCR_T_BW_HIENODE , |
| ld_et_message | TYPE UCR_T_BW_MESSAGE , |
| ld_it_hienodename | TYPE UCR_T_BW_HIENODENAME , |
| ld_it_range | TYPE UCR_T_BW_RANGE , |
| ld_i_packagesize | TYPE I , |
| ld_i_keydate | TYPE SY-DATUM , |
| ld_it_sfc | TYPE UCR_T_BW_IOBJ , |
| ld_it_sfk | TYPE UCR_T_BW_IOBJ , |
| ld_i_infoprov | TYPE RSINFOCUBE , |
| ld_i_rfcdest | TYPE RFCDEST . |
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 UCR_DATA_READ_1 or its description.