SAP IB_IBASE_READ_MULTI Function Module for









IB_IBASE_READ_MULTI is a standard ib ibase read multi SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 ib ibase read multi FM, simply by entering the name IB_IBASE_READ_MULTI into the relevant SAP transaction such as SE37 or SE38.

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



Function IB_IBASE_READ_MULTI 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 'IB_IBASE_READ_MULTI'"
EXPORTING
I_IBIB_HANDLE = "
I_SEL_REC = "
* I_LANGU = SY-LANGU "
* I_ALTLANGU = ' ' "
* I_SOURCE = IBXX_C_3 "
* I_REFRESH_READ_BUFFER = IBXX_TRUE "

IMPORTING
E_IBIBTAB = "
E_IBIBTTAB = "
E_IBASE_RANGE = "

EXCEPTIONS
IB_HANDLE_NOT_DEFINED = 1 IB_CRITERIA_INCOMPLETE = 2 IB_INTERNAL_ERROR = 3
.



IMPORTING Parameters details for IB_IBASE_READ_MULTI

I_IBIB_HANDLE -

Data type: IBXX_REF-HANDLE
Optional: No
Call by Reference: Yes

I_SEL_REC -

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

I_LANGU -

Data type: SY-LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: Yes

I_ALTLANGU -

Data type: SY-LANGU
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_SOURCE -

Data type: IBXX_REF-SOURCE
Default: IBXX_C_3
Optional: Yes
Call by Reference: Yes

I_REFRESH_READ_BUFFER -

Data type: IBXX_REF-BOOL
Default: IBXX_TRUE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for IB_IBASE_READ_MULTI

E_IBIBTAB -

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

E_IBIBTTAB -

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

E_IBASE_RANGE -

Data type: IBXX_SEL_IBIB_REC-S_IBASE
Optional: No
Call by Reference: Yes

EXCEPTIONS details

IB_HANDLE_NOT_DEFINED -

Data type:
Optional: No
Call by Reference: Yes

IB_CRITERIA_INCOMPLETE -

Data type:
Optional: No
Call by Reference: Yes

IB_INTERNAL_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for IB_IBASE_READ_MULTI 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_e_ibibtab  TYPE IBIB_IBIB_PROC_TAB_TYPE, "   
lv_i_ibib_handle  TYPE IBXX_REF-HANDLE, "   
lv_ib_handle_not_defined  TYPE IBXX_REF, "   
lv_i_sel_rec  TYPE IBXX_SEL_IBIB_REC, "   
lv_e_ibibttab  TYPE IBIB_IBIBT_PROC_TAB_TYPE, "   
lv_ib_criteria_incomplete  TYPE IBIB_IBIBT_PROC_TAB_TYPE, "   
lv_i_langu  TYPE SY-LANGU, "   SY-LANGU
lv_e_ibase_range  TYPE IBXX_SEL_IBIB_REC-S_IBASE, "   
lv_ib_internal_error  TYPE IBXX_SEL_IBIB_REC, "   
lv_i_altlangu  TYPE SY-LANGU, "   SPACE
lv_i_source  TYPE IBXX_REF-SOURCE, "   IBXX_C_3
lv_i_refresh_read_buffer  TYPE IBXX_REF-BOOL. "   IBXX_TRUE

  CALL FUNCTION 'IB_IBASE_READ_MULTI'  "
    EXPORTING
         I_IBIB_HANDLE = lv_i_ibib_handle
         I_SEL_REC = lv_i_sel_rec
         I_LANGU = lv_i_langu
         I_ALTLANGU = lv_i_altlangu
         I_SOURCE = lv_i_source
         I_REFRESH_READ_BUFFER = lv_i_refresh_read_buffer
    IMPORTING
         E_IBIBTAB = lv_e_ibibtab
         E_IBIBTTAB = lv_e_ibibttab
         E_IBASE_RANGE = lv_e_ibase_range
    EXCEPTIONS
        IB_HANDLE_NOT_DEFINED = 1
        IB_CRITERIA_INCOMPLETE = 2
        IB_INTERNAL_ERROR = 3
. " IB_IBASE_READ_MULTI




ABAP code using 7.40 inline data declarations to call FM IB_IBASE_READ_MULTI

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.

 
"SELECT single HANDLE FROM IBXX_REF INTO @DATA(ld_i_ibib_handle).
 
 
 
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_i_langu).
DATA(ld_i_langu) = SY-LANGU.
 
"SELECT single S_IBASE FROM IBXX_SEL_IBIB_REC INTO @DATA(ld_e_ibase_range).
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_i_altlangu).
DATA(ld_i_altlangu) = ' '.
 
"SELECT single SOURCE FROM IBXX_REF INTO @DATA(ld_i_source).
DATA(ld_i_source) = IBXX_C_3.
 
"SELECT single BOOL FROM IBXX_REF INTO @DATA(ld_i_refresh_read_buffer).
DATA(ld_i_refresh_read_buffer) = IBXX_TRUE.
 


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!