SAP UPARM_IOBJ_READ Function Module for Reads the InfoObject by the selection criteria provided









UPARM_IOBJ_READ is a standard uparm iobj read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Reads the InfoObject by the selection criteria provided processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for uparm iobj read FM, simply by entering the name UPARM_IOBJ_READ into the relevant SAP transaction such as SE37 or SE38.

Function Group: UPARM_FG_IOBJ_SERVICES
Program Name: SAPLUPARM_FG_IOBJ_SERVICES
Main Program: SAPLUPARM_FG_IOBJ_SERVICES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function UPARM_IOBJ_READ pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'UPARM_IOBJ_READ'"Reads the InfoObject by the selection criteria provided
EXPORTING
I_INFO_OBJ = "InfoObject
IT_IOBJ_SELECT = "BW Data Manager: Range List
* IT_IOBJ_IGNORE = "Info Object to Ignore in Criteria
* I_MAX_RESULTS = 0 "Max result rows
* IT_COLUMN = "MDP Columns Definition
* I_TIME_DEPENDANT = ABAP_FALSE "Is read time dependant

IMPORTING
ET_MD_TABLE = "ID Row Values
ET_ERROR = "Master Data Maintenance View - Error Messages
E_SUCCEED = "Operation succeeded or not
.



IMPORTING Parameters details for UPARM_IOBJ_READ

I_INFO_OBJ - InfoObject

Data type: UPARM_Y_IOBJ
Optional: No
Call by Reference: Yes

IT_IOBJ_SELECT - BW Data Manager: Range List

Data type: RSDRI_T_RANGE
Optional: No
Call by Reference: Yes

IT_IOBJ_IGNORE - Info Object to Ignore in Criteria

Data type: UPARM_YT_INFO_OBJ
Optional: Yes
Call by Reference: Yes

I_MAX_RESULTS - Max result rows

Data type: I
Optional: Yes
Call by Reference: Yes

IT_COLUMN - MDP Columns Definition

Data type: UPARM_YT_COLUMNS
Optional: Yes
Call by Reference: Yes

I_TIME_DEPENDANT - Is read time dependant

Data type: BOOLE_D
Default: ABAP_FALSE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for UPARM_IOBJ_READ

ET_MD_TABLE - ID Row Values

Data type: UPARM_YT_ID_ROW_VALUES
Optional: No
Call by Reference: Yes

ET_ERROR - Master Data Maintenance View - Error Messages

Data type: UPARM_YT_RETURN
Optional: No
Call by Reference: Yes

E_SUCCEED - Operation succeeded or not

Data type: BOOLE_D
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for UPARM_IOBJ_READ Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_i_info_obj  TYPE UPARM_Y_IOBJ, "   
lv_et_md_table  TYPE UPARM_YT_ID_ROW_VALUES, "   
lv_et_error  TYPE UPARM_YT_RETURN, "   
lv_it_iobj_select  TYPE RSDRI_T_RANGE, "   
lv_e_succeed  TYPE BOOLE_D, "   
lv_it_iobj_ignore  TYPE UPARM_YT_INFO_OBJ, "   
lv_i_max_results  TYPE I, "   0
lv_it_column  TYPE UPARM_YT_COLUMNS, "   
lv_i_time_dependant  TYPE BOOLE_D. "   ABAP_FALSE

  CALL FUNCTION 'UPARM_IOBJ_READ'  "Reads the InfoObject by the selection criteria provided
    EXPORTING
         I_INFO_OBJ = lv_i_info_obj
         IT_IOBJ_SELECT = lv_it_iobj_select
         IT_IOBJ_IGNORE = lv_it_iobj_ignore
         I_MAX_RESULTS = lv_i_max_results
         IT_COLUMN = lv_it_column
         I_TIME_DEPENDANT = lv_i_time_dependant
    IMPORTING
         ET_MD_TABLE = lv_et_md_table
         ET_ERROR = lv_et_error
         E_SUCCEED = lv_e_succeed
. " UPARM_IOBJ_READ




ABAP code using 7.40 inline data declarations to call FM UPARM_IOBJ_READ

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
DATA(ld_i_time_dependant) = ABAP_FALSE.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!