SAP OIRE_CH_DETERMINATION Function Module for Clearing House determination









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

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



Function OIRE_CH_DETERMINATION 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_CH_DETERMINATION'"Clearing House determination
EXPORTING
P_KALSMC = "
P_KAPPL = "
* P_PROCDEF = 'PC01' "Process ID

TABLES
XDTFLOCH = "
.



IMPORTING Parameters details for OIRE_CH_DETERMINATION

P_KALSMC -

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

P_KAPPL -

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

P_PROCDEF - Process ID

Data type: OIRHPRCONFC-PROCDEF
Default: 'PC01'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for OIRE_CH_DETERMINATION

XDTFLOCH -

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

Copy and paste ABAP code example for OIRE_CH_DETERMINATION 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_p_kalsmc  TYPE OIREKOMKCH-KALSMC, "   
lt_xdtfloch  TYPE STANDARD TABLE OF OIREUPLKXXXX, "   
lv_p_kappl  TYPE OIREKOMKCH-KAPPL, "   
lv_p_procdef  TYPE OIRHPRCONFC-PROCDEF. "   'PC01'

  CALL FUNCTION 'OIRE_CH_DETERMINATION'  "Clearing House determination
    EXPORTING
         P_KALSMC = lv_p_kalsmc
         P_KAPPL = lv_p_kappl
         P_PROCDEF = lv_p_procdef
    TABLES
         XDTFLOCH = lt_xdtfloch
. " OIRE_CH_DETERMINATION




ABAP code using 7.40 inline data declarations to call FM OIRE_CH_DETERMINATION

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 KALSMC FROM OIREKOMKCH INTO @DATA(ld_p_kalsmc).
 
 
"SELECT single KAPPL FROM OIREKOMKCH INTO @DATA(ld_p_kappl).
 
"SELECT single PROCDEF FROM OIRHPRCONFC INTO @DATA(ld_p_procdef).
DATA(ld_p_procdef) = 'PC01'.
 


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!