SAP OIRE_READ_RECON Function Module for Read the reconciliation data









OIRE_READ_RECON is a standard oire read recon SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read the reconciliation 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 oire read recon FM, simply by entering the name OIRE_READ_RECON into the relevant SAP transaction such as SE37 or SE38.

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



Function OIRE_READ_RECON 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 'OIRE_READ_RECON'"Read the reconciliation data
EXPORTING
* I_RECON_IND = 'A' "Reconciliation indicator
* I_SETTL_IND = 'A' "Settlement indicator
* I_DET_AGG_IND = "Detail/Aggregation indicator (values: D or A)

TABLES
* T_CHOBJ = "Reference structure for CH object ranges
* T_UPLNR = "Upload number ranges table type
* T_COUNTER_CH = "CH counter ranges table type
* T_RECON_ADM = "Administration data for the reconciliation files
* T_RECON_AGG = "Aggregated reconciliation data
* T_RECON_DET = "Detailed reconciliation data
* T_V_RECON_AGG = "Generated Table for View V_OIRE_RECON_AGG
* T_V_RECON_DET = "Generated Table for View V_OIRE_RECON_DET
* T_CCINS = "Payment card type ranges table type
* T_WAERS = "Currency ranges table type
* T_PBLNR = "Sales date ranges table type
* T_VKDAT = "Sales date ranges table type
* T_VKTIM = "SSR PC: table type for sales time range
* T_RECON_NO = "Reconciliation number ranges table type
* T_SETTLNR = "Settlement number ranges table type
* T_UPLDAT = "Upload date ranges table type

EXCEPTIONS
WRONG_RECON_IND = 1 WRONG_DET_AGG_IND = 2 NO_ENTRIES_FOUND = 3 WRONG_SETTL_IND = 4
.



IMPORTING Parameters details for OIRE_READ_RECON

I_RECON_IND - Reconciliation indicator

Data type: C
Default: 'A'
Optional: No
Call by Reference: No ( called with pass by value option)

I_SETTL_IND - Settlement indicator

Data type: C
Default: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DET_AGG_IND - Detail/Aggregation indicator (values: D or A)

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

TABLES Parameters details for OIRE_READ_RECON

T_CHOBJ - Reference structure for CH object ranges

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

T_UPLNR - Upload number ranges table type

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

T_COUNTER_CH - CH counter ranges table type

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

T_RECON_ADM - Administration data for the reconciliation files

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

T_RECON_AGG - Aggregated reconciliation data

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

T_RECON_DET - Detailed reconciliation data

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

T_V_RECON_AGG - Generated Table for View V_OIRE_RECON_AGG

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

T_V_RECON_DET - Generated Table for View V_OIRE_RECON_DET

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

T_CCINS - Payment card type ranges table type

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

T_WAERS - Currency ranges table type

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

T_PBLNR - Sales date ranges table type

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

T_VKDAT - Sales date ranges table type

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

T_VKTIM - SSR PC: table type for sales time range

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

T_RECON_NO - Reconciliation number ranges table type

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

T_SETTLNR - Settlement number ranges table type

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

T_UPLDAT - Upload date ranges table type

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

EXCEPTIONS details

WRONG_RECON_IND - The wrong reconciliation indicator was passed.

Data type:
Optional: No
Call by Reference: Yes

WRONG_DET_AGG_IND - A wrong detailed/aggregated indicator was passed.

Data type:
Optional: No
Call by Reference: Yes

NO_ENTRIES_FOUND - No entries found.

Data type:
Optional: No
Call by Reference: Yes

WRONG_SETTL_IND - The wrong settlement indicator was passed.

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for OIRE_READ_RECON 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:
lt_t_chobj  TYPE STANDARD TABLE OF OIRE_CHOBJ_RANGE_TT, "   
lv_i_recon_ind  TYPE C, "   'A'
lv_wrong_recon_ind  TYPE C, "   
lt_t_uplnr  TYPE STANDARD TABLE OF OIRE_UPLNR_RANGE_TT, "   
lt_t_counter_ch  TYPE STANDARD TABLE OF OIRE_COUNTER_CH_RANGE_TT, "   
lt_t_recon_adm  TYPE STANDARD TABLE OF OIRE_RECON_ADM, "   
lt_t_recon_agg  TYPE STANDARD TABLE OF OIRE_RECON_AGG, "   
lt_t_recon_det  TYPE STANDARD TABLE OF OIRE_RECON_DET, "   
lt_t_v_recon_agg  TYPE STANDARD TABLE OF V_OIRE_RECON_AGG, "   
lt_t_v_recon_det  TYPE STANDARD TABLE OF V_OIRE_RECON_DET, "   
lt_t_ccins  TYPE STANDARD TABLE OF OIRE_CCINS_RANGE_TT, "   
lv_i_settl_ind  TYPE C, "   'A'
lv_wrong_det_agg_ind  TYPE C, "   
lt_t_waers  TYPE STANDARD TABLE OF OIRE_WAERS_RANGE_TT, "   
lv_i_det_agg_ind  TYPE OIRE_RECON_ADM-DET_AGG_IND, "   
lv_no_entries_found  TYPE OIRE_RECON_ADM, "   
lt_t_pblnr  TYPE STANDARD TABLE OF OIRE_PBLNR_RANGE_TT, "   
lv_wrong_settl_ind  TYPE OIRE_PBLNR_RANGE_TT, "   
lt_t_vkdat  TYPE STANDARD TABLE OF OIRE_VKDAT_RANGE_TT, "   
lt_t_vktim  TYPE STANDARD TABLE OF OIRE_VKTIM_RANGE_TT, "   
lt_t_recon_no  TYPE STANDARD TABLE OF OIRE_RECON_NO_RANGE_TT, "   
lt_t_settlnr  TYPE STANDARD TABLE OF OIRE_SETTLNR_RANGE_TT, "   
lt_t_upldat  TYPE STANDARD TABLE OF OIRE_UPLDAT_RANGE_TT. "   

  CALL FUNCTION 'OIRE_READ_RECON'  "Read the reconciliation data
    EXPORTING
         I_RECON_IND = lv_i_recon_ind
         I_SETTL_IND = lv_i_settl_ind
         I_DET_AGG_IND = lv_i_det_agg_ind
    TABLES
         T_CHOBJ = lt_t_chobj
         T_UPLNR = lt_t_uplnr
         T_COUNTER_CH = lt_t_counter_ch
         T_RECON_ADM = lt_t_recon_adm
         T_RECON_AGG = lt_t_recon_agg
         T_RECON_DET = lt_t_recon_det
         T_V_RECON_AGG = lt_t_v_recon_agg
         T_V_RECON_DET = lt_t_v_recon_det
         T_CCINS = lt_t_ccins
         T_WAERS = lt_t_waers
         T_PBLNR = lt_t_pblnr
         T_VKDAT = lt_t_vkdat
         T_VKTIM = lt_t_vktim
         T_RECON_NO = lt_t_recon_no
         T_SETTLNR = lt_t_settlnr
         T_UPLDAT = lt_t_upldat
    EXCEPTIONS
        WRONG_RECON_IND = 1
        WRONG_DET_AGG_IND = 2
        NO_ENTRIES_FOUND = 3
        WRONG_SETTL_IND = 4
. " OIRE_READ_RECON




ABAP code using 7.40 inline data declarations to call FM OIRE_READ_RECON

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_recon_ind) = 'A'.
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_settl_ind) = 'A'.
 
 
 
"SELECT single DET_AGG_IND FROM OIRE_RECON_ADM INTO @DATA(ld_i_det_agg_ind).
 
 
 
 
 
 
 
 
 


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!