SAP IMA_BROKER_DATA_READ Function Module for IO: Read Broker Data









IMA_BROKER_DATA_READ is a standard ima broker data 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 IO: Read Broker Data 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 ima broker data read FM, simply by entering the name IMA_BROKER_DATA_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function IMA_BROKER_DATA_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 'IMA_BROKER_DATA_READ'"IO: Read Broker Data
EXPORTING
* I_INSOBJECT = "
* I_PARTNER = "

IMPORTING
E_DIMABROKER = "
E_DIMAIOBPAR = "

TABLES
* IT_INSOBJECT = "
* IT_PARTNER = "
* ET_DIMABROKER = "
* ET_DIMAIOBPAR = "

EXCEPTIONS
NOT_FOUND = 1 ERR_OBJTYPE = 2
.



IMPORTING Parameters details for IMA_BROKER_DATA_READ

I_INSOBJECT -

Data type: DIMAIOBPAR-INSOBJECT
Optional: Yes
Call by Reference: Yes

I_PARTNER -

Data type: DIMAIOBPAR-PARTNER
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for IMA_BROKER_DATA_READ

E_DIMABROKER -

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

E_DIMAIOBPAR -

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

TABLES Parameters details for IMA_BROKER_DATA_READ

IT_INSOBJECT -

Data type: FKK_RT_VTREF
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_PARTNER -

Data type: FKK_RT_GPART
Optional: Yes
Call by Reference: No ( called with pass by value option)

ET_DIMABROKER -

Data type: DIMABROKER
Optional: Yes
Call by Reference: No ( called with pass by value option)

ET_DIMAIOBPAR -

Data type: DIMAIOBPAR
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NOT_FOUND -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ERR_OBJTYPE -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for IMA_BROKER_DATA_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_not_found  TYPE STRING, "   
lv_i_insobject  TYPE DIMAIOBPAR-INSOBJECT, "   
lv_e_dimabroker  TYPE DIMABROKER, "   
lt_it_insobject  TYPE STANDARD TABLE OF FKK_RT_VTREF, "   
lv_i_partner  TYPE DIMAIOBPAR-PARTNER, "   
lt_it_partner  TYPE STANDARD TABLE OF FKK_RT_GPART, "   
lv_err_objtype  TYPE FKK_RT_GPART, "   
lv_e_dimaiobpar  TYPE DIMAIOBPAR, "   
lt_et_dimabroker  TYPE STANDARD TABLE OF DIMABROKER, "   
lt_et_dimaiobpar  TYPE STANDARD TABLE OF DIMAIOBPAR. "   

  CALL FUNCTION 'IMA_BROKER_DATA_READ'  "IO: Read Broker Data
    EXPORTING
         I_INSOBJECT = lv_i_insobject
         I_PARTNER = lv_i_partner
    IMPORTING
         E_DIMABROKER = lv_e_dimabroker
         E_DIMAIOBPAR = lv_e_dimaiobpar
    TABLES
         IT_INSOBJECT = lt_it_insobject
         IT_PARTNER = lt_it_partner
         ET_DIMABROKER = lt_et_dimabroker
         ET_DIMAIOBPAR = lt_et_dimaiobpar
    EXCEPTIONS
        NOT_FOUND = 1
        ERR_OBJTYPE = 2
. " IMA_BROKER_DATA_READ




ABAP code using 7.40 inline data declarations to call FM IMA_BROKER_DATA_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.

 
"SELECT single INSOBJECT FROM DIMAIOBPAR INTO @DATA(ld_i_insobject).
 
 
 
"SELECT single PARTNER FROM DIMAIOBPAR INTO @DATA(ld_i_partner).
 
 
 
 
 
 


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!