SAP OIRE_PROPOSE_RECON Function Module for SSR PC Reconciliation Logic for Matching Data









OIRE_PROPOSE_RECON is a standard oire propose 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 SSR PC Reconciliation Logic for Matching 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 propose recon FM, simply by entering the name OIRE_PROPOSE_RECON into the relevant SAP transaction such as SE37 or SE38.

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



Function OIRE_PROPOSE_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_PROPOSE_RECON'"SSR PC Reconciliation Logic for Matching Data
CHANGING
* X_CE_PARAMETERS = "Customer Enhancements Parameter structure (IS-OIL SSR)
X_PC_PARAMETERS = "Process Control Parameter structure (IS-OIL SSR)
X_CR_PARAMETERS = "Clearing house reconciliation Parameter struc. (IS-OIL SSR)
X_SEL_LINE = "SSR PC Reconciliation ALV Display for Summary Recon List Sel
X_RECON_NO = "Reconciliation run number
X_EXIT = "Single-character flag
X_BALHDRI = "Application Log: APPL_LOG_WRITE_HEADER interface
* X_DTF_PROC = "DTF process selection parameters

TABLES
T_LOCLIST = "SSR: Location list
T_LOC_OK = "SSR Process Control Process Object List
T_OBJECT_REJ = "SSR Rejected locations (IS-OIL SSR)
T_OBJECT_OK = "SSR Process Control Process Object List
T_CHOBJ = "CH object ranges table type
T_VKDAT = "Date ranges table type
T_VKTIM = "SSR PC: table type for sales time range
T_CCINS = "Payment card type ranges table type
T_UPLNR = "Upload number ranges table type
T_UPLDT = "Upload date ranges table type
T_WAERS = "Currency ranges table type
T_OIRAPROCDEF = "Process Definition (IS-OIL SSR)
T_PBLNR = "Location selection range table
T_REC_RUN = "Reconciliation run results
T_REVRUN = "Reconciliation number ranges table type
T_RECON_ADM = "Administration data for the reconciliation files
T_RECON_DET = "Detailed reconciliation data
T_RECON_AGG = "Aggregated reconciliation data
T_DTF_TAB = "SSR/ZK: Vorlage für erzeugte DTD-Tabellen (Kopf)
T_MKEY = "SSR PC Reconciliation Matching Key Fields
T_UNSUCCESS = "SSR PC Reconciliation ALV Display for Summary Recon List Sel
* T_CE_TABLE1 = "Customer enhancement table structure (IS-OIL SSR)
T_LOC_CHECK_RESULTS = "Export structure for prereq. process check (IS-OIL SSR)
* T_CE_TABLE2 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE3 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE4 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE5 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE6 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE7 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE8 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE9 = "Customer enhancement table structure (IS-OIL SSR)
* T_CE_TABLE10 = "Customer enhancement table structure (IS-OIL SSR)
T_BALNRI = "Application Log: APPL_LOG_WRITE_DB interface
T_BALMI_OBJ = "Message structure for process control
T_OIRECH_ALL = "Generated Table for View V_OIRECH_ALL
T_OIRECCTYP = "SSR PC: Company code / credit card types
T_RECON_CUS = "SSR PC Reconciliation Customizing by Cl. House & Card Type
T_LOC_REJ = "SSR Rejected locations (IS-OIL SSR)

EXCEPTIONS
DTF_READ_ERROR = 1 PROCESSING_ERROR = 2 NO_DTF_ITEMS = 3 BADI_ERROR = 4 DTF_LOCK_ERROR = 5 MISSING_CUSTOMIZING = 6
.



CHANGING Parameters details for OIRE_PROPOSE_RECON

X_CE_PARAMETERS - Customer Enhancements Parameter structure (IS-OIL SSR)

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

X_PC_PARAMETERS - Process Control Parameter structure (IS-OIL SSR)

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

X_CR_PARAMETERS - Clearing house reconciliation Parameter struc. (IS-OIL SSR)

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

X_SEL_LINE - SSR PC Reconciliation ALV Display for Summary Recon List Sel

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

X_RECON_NO - Reconciliation run number

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

X_EXIT - Single-character flag

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

X_BALHDRI - Application Log: APPL_LOG_WRITE_HEADER interface

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

X_DTF_PROC - DTF process selection parameters

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

TABLES Parameters details for OIRE_PROPOSE_RECON

T_LOCLIST - SSR: Location list

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

T_LOC_OK - SSR Process Control Process Object List

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

T_OBJECT_REJ - SSR Rejected locations (IS-OIL SSR)

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

T_OBJECT_OK - SSR Process Control Process Object List

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

T_CHOBJ - CH object ranges table type

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

T_VKDAT - Date ranges table type

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

T_VKTIM - SSR PC: table type for sales time range

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

T_CCINS - Payment card type ranges table type

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

T_UPLNR - Upload number ranges table type

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

T_UPLDT - Upload date ranges table type

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

T_WAERS - Currency ranges table type

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

T_OIRAPROCDEF - Process Definition (IS-OIL SSR)

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

T_PBLNR - Location selection range table

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

T_REC_RUN - Reconciliation run results

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

T_REVRUN - Reconciliation number ranges table type

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

T_RECON_ADM - Administration data for the reconciliation files

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

T_RECON_DET - Detailed reconciliation data

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

T_RECON_AGG - Aggregated reconciliation data

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

T_DTF_TAB - SSR/ZK: Vorlage für erzeugte DTD-Tabellen (Kopf)

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

T_MKEY - SSR PC Reconciliation Matching Key Fields

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

T_UNSUCCESS - SSR PC Reconciliation ALV Display for Summary Recon List Sel

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

T_CE_TABLE1 - Customer enhancement table structure (IS-OIL SSR)

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

T_LOC_CHECK_RESULTS - Export structure for prereq. process check (IS-OIL SSR)

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

T_CE_TABLE2 - Customer enhancement table structure (IS-OIL SSR)

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

T_CE_TABLE3 - Customer enhancement table structure (IS-OIL SSR)

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

T_CE_TABLE4 - Customer enhancement table structure (IS-OIL SSR)

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

T_CE_TABLE5 - Customer enhancement table structure (IS-OIL SSR)

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

T_CE_TABLE6 - Customer enhancement table structure (IS-OIL SSR)

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

T_CE_TABLE7 - Customer enhancement table structure (IS-OIL SSR)

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

T_CE_TABLE8 - Customer enhancement table structure (IS-OIL SSR)

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

T_CE_TABLE9 - Customer enhancement table structure (IS-OIL SSR)

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

T_CE_TABLE10 - Customer enhancement table structure (IS-OIL SSR)

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

T_BALNRI - Application Log: APPL_LOG_WRITE_DB interface

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

T_BALMI_OBJ - Message structure for process control

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

T_OIRECH_ALL - Generated Table for View V_OIRECH_ALL

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

T_OIRECCTYP - SSR PC: Company code / credit card types

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

T_RECON_CUS - SSR PC Reconciliation Customizing by Cl. House & Card Type

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

T_LOC_REJ - SSR Rejected locations (IS-OIL SSR)

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

EXCEPTIONS details

DTF_READ_ERROR - No items were read from the DTF

Data type:
Optional: No
Call by Reference: Yes

PROCESSING_ERROR - System error

Data type:
Optional: No
Call by Reference: Yes

NO_DTF_ITEMS - No items were found when reading the DTF

Data type:
Optional: No
Call by Reference: Yes

BADI_ERROR - Error occured in BADI call within function module

Data type:
Optional: No
Call by Reference: Yes

DTF_LOCK_ERROR - Error occurred while locking/unlocking DTF table

Data type:
Optional: No
Call by Reference: Yes

MISSING_CUSTOMIZING - Customizing data was not passed to the function

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for OIRE_PROPOSE_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_loclist  TYPE STANDARD TABLE OF ROIRALOCLIST, "   
lv_dtf_read_error  TYPE ROIRALOCLIST, "   
lv_x_ce_parameters  TYPE OIRA_CE_PARAMETERS, "   
lt_t_loc_ok  TYPE STANDARD TABLE OF ROIRA_OBJECT_LIST, "   
lt_t_object_rej  TYPE STANDARD TABLE OF ROIRA_OBJECTS_REJECTED, "   
lt_t_object_ok  TYPE STANDARD TABLE OF ROIRA_OBJECT_LIST, "   
lt_t_chobj  TYPE STANDARD TABLE OF OIRE_CHOBJ_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_ccins  TYPE STANDARD TABLE OF OIRE_CCINS_RANGE_TT, "   
lt_t_uplnr  TYPE STANDARD TABLE OF OIRE_UPLNR_RANGE_TT, "   
lt_t_upldt  TYPE STANDARD TABLE OF OIRE_UPLDAT_RANGE_TT, "   
lt_t_waers  TYPE STANDARD TABLE OF OIRE_WAERS_RANGE_TT, "   
lt_t_oiraprocdef  TYPE STANDARD TABLE OF OIRAPROCDEF, "   
lv_x_pc_parameters  TYPE OIRA_PC_PARAMETERS, "   
lv_processing_error  TYPE OIRA_PC_PARAMETERS, "   
lt_t_pblnr  TYPE STANDARD TABLE OF OIRI_PBLNR_RANGES_TT, "   
lt_t_rec_run  TYPE STANDARD TABLE OF OIRE_RECON_RUN, "   
lt_t_revrun  TYPE STANDARD TABLE OF OIRE_RECON_NO_RANGE_TT, "   
lt_t_recon_adm  TYPE STANDARD TABLE OF OIRE_RECON_ADM, "   
lt_t_recon_det  TYPE STANDARD TABLE OF OIRE_RECON_DET_DISP_TT, "   
lt_t_recon_agg  TYPE STANDARD TABLE OF OIRE_RECON_AGG_DISP_TT, "   
lt_t_dtf_tab  TYPE STANDARD TABLE OF OIREUPLKXXXX, "   
lt_t_mkey  TYPE STANDARD TABLE OF OIRE_MATCHKY_FLD, "   
lt_t_unsuccess  TYPE STANDARD TABLE OF ROIRE_RECON_LIST1, "   
lt_t_ce_table1  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE1, "   
lv_no_dtf_items  TYPE OIRA_CE_TABLE_STRUCTURE1, "   
lv_x_cr_parameters  TYPE OIRA_CR_PARAMETERS, "   
lt_t_loc_check_results  TYPE STANDARD TABLE OF OIRA_PROCESS_LIST, "   
lt_t_ce_table2  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE2, "   
lt_t_ce_table3  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE3, "   
lt_t_ce_table4  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE4, "   
lt_t_ce_table5  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE5, "   
lt_t_ce_table6  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE6, "   
lt_t_ce_table7  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE7, "   
lt_t_ce_table8  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE8, "   
lt_t_ce_table9  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE9, "   
lt_t_ce_table10  TYPE STANDARD TABLE OF OIRA_CE_TABLE_STRUCTURE10, "   
lt_t_balnri  TYPE STANDARD TABLE OF BALNRI, "   
lv_badi_error  TYPE BALNRI, "   
lv_x_sel_line  TYPE ROIRE_RECON_LIST1, "   
lv_x_recon_no  TYPE OIRE_RECON_NO, "   
lt_t_balmi_obj  TYPE STANDARD TABLE OF ROIRA_BALMI_OBJ, "   
lv_dtf_lock_error  TYPE ROIRA_BALMI_OBJ, "   
lv_x_exit  TYPE CHAR1, "   
lt_t_oirech_all  TYPE STANDARD TABLE OF V_OIRECH_ALL, "   
lv_missing_customizing  TYPE V_OIRECH_ALL, "   
lv_x_balhdri  TYPE BALHDRI, "   
lt_t_oirecctyp  TYPE STANDARD TABLE OF OIRECCTYP, "   
lv_x_dtf_proc  TYPE OIRE1_PROC, "   
lt_t_recon_cus  TYPE STANDARD TABLE OF OIRE_RECON_CUS, "   
lt_t_loc_rej  TYPE STANDARD TABLE OF ROIRA_OBJECTS_REJECTED. "   

  CALL FUNCTION 'OIRE_PROPOSE_RECON'  "SSR PC Reconciliation Logic for Matching Data
    CHANGING
         X_CE_PARAMETERS = lv_x_ce_parameters
         X_PC_PARAMETERS = lv_x_pc_parameters
         X_CR_PARAMETERS = lv_x_cr_parameters
         X_SEL_LINE = lv_x_sel_line
         X_RECON_NO = lv_x_recon_no
         X_EXIT = lv_x_exit
         X_BALHDRI = lv_x_balhdri
         X_DTF_PROC = lv_x_dtf_proc
    TABLES
         T_LOCLIST = lt_t_loclist
         T_LOC_OK = lt_t_loc_ok
         T_OBJECT_REJ = lt_t_object_rej
         T_OBJECT_OK = lt_t_object_ok
         T_CHOBJ = lt_t_chobj
         T_VKDAT = lt_t_vkdat
         T_VKTIM = lt_t_vktim
         T_CCINS = lt_t_ccins
         T_UPLNR = lt_t_uplnr
         T_UPLDT = lt_t_upldt
         T_WAERS = lt_t_waers
         T_OIRAPROCDEF = lt_t_oiraprocdef
         T_PBLNR = lt_t_pblnr
         T_REC_RUN = lt_t_rec_run
         T_REVRUN = lt_t_revrun
         T_RECON_ADM = lt_t_recon_adm
         T_RECON_DET = lt_t_recon_det
         T_RECON_AGG = lt_t_recon_agg
         T_DTF_TAB = lt_t_dtf_tab
         T_MKEY = lt_t_mkey
         T_UNSUCCESS = lt_t_unsuccess
         T_CE_TABLE1 = lt_t_ce_table1
         T_LOC_CHECK_RESULTS = lt_t_loc_check_results
         T_CE_TABLE2 = lt_t_ce_table2
         T_CE_TABLE3 = lt_t_ce_table3
         T_CE_TABLE4 = lt_t_ce_table4
         T_CE_TABLE5 = lt_t_ce_table5
         T_CE_TABLE6 = lt_t_ce_table6
         T_CE_TABLE7 = lt_t_ce_table7
         T_CE_TABLE8 = lt_t_ce_table8
         T_CE_TABLE9 = lt_t_ce_table9
         T_CE_TABLE10 = lt_t_ce_table10
         T_BALNRI = lt_t_balnri
         T_BALMI_OBJ = lt_t_balmi_obj
         T_OIRECH_ALL = lt_t_oirech_all
         T_OIRECCTYP = lt_t_oirecctyp
         T_RECON_CUS = lt_t_recon_cus
         T_LOC_REJ = lt_t_loc_rej
    EXCEPTIONS
        DTF_READ_ERROR = 1
        PROCESSING_ERROR = 2
        NO_DTF_ITEMS = 3
        BADI_ERROR = 4
        DTF_LOCK_ERROR = 5
        MISSING_CUSTOMIZING = 6
. " OIRE_PROPOSE_RECON




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

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!