SAP SAMPLE_INTERFACE_00010312_IHC Function Module for In-House Cash: Account Determination for Inbound Account Statement
SAMPLE_INTERFACE_00010312_IHC is a standard sample interface 00010312 ihc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for In-House Cash: Account Determination for Inbound Account Statement 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 sample interface 00010312 ihc FM, simply by entering the name SAMPLE_INTERFACE_00010312_IHC into the relevant SAP transaction such as SE37 or SE38.
Function Group: FBQ3
Program Name: SAPLFBQ3
Main Program: SAPLFBQ3
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SAMPLE_INTERFACE_00010312_IHC 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 'SAMPLE_INTERFACE_00010312_IHC'"In-House Cash: Account Determination for Inbound Account Statement.
EXPORTING
I_FEBKO_EXT = "Statement/lockbox header - external information
I_FEBEP_EXT = "Statement/lockbox line item - external information
I_FEBKO_INT = "Statement/lockbox header - internal information
I_FEBEP_INT = "Statement/lockbox line item - internal information
IMPORTING
IHC_RELEVANT = "Indicator: Item is Relevant for In-House Cash
IHC_NOT_RELEVANT = "Indicator: Item is NOT Relevant for In-House Cash
BKKRS = "Bank Area
ACNUM_EXT = "Account number for current account
TABLES
T_FEBRE = "Reference record for electronic bank statement line item
T_FEBCL = "Clearing data for an electronic bank statement line item
IMPORTING Parameters details for SAMPLE_INTERFACE_00010312_IHC
I_FEBKO_EXT - Statement/lockbox header - external information
Data type: FEBKOXT_BFOptional: No
Call by Reference: No ( called with pass by value option)
I_FEBEP_EXT - Statement/lockbox line item - external information
Data type: FEBEPXT_BFOptional: No
Call by Reference: No ( called with pass by value option)
I_FEBKO_INT - Statement/lockbox header - internal information
Data type: FEBKOIN_BFOptional: No
Call by Reference: No ( called with pass by value option)
I_FEBEP_INT - Statement/lockbox line item - internal information
Data type: FEBEPIN_BFOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SAMPLE_INTERFACE_00010312_IHC
IHC_RELEVANT - Indicator: Item is Relevant for In-House Cash
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
IHC_NOT_RELEVANT - Indicator: Item is NOT Relevant for In-House Cash
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
BKKRS - Bank Area
Data type: BKK42-BKKRSOptional: No
Call by Reference: No ( called with pass by value option)
ACNUM_EXT - Account number for current account
Data type: BKK42-ACNUM_EXTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for SAMPLE_INTERFACE_00010312_IHC
T_FEBRE - Reference record for electronic bank statement line item
Data type: FEBRE_BFOptional: No
Call by Reference: Yes
T_FEBCL - Clearing data for an electronic bank statement line item
Data type: FEBCL_BFOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for SAMPLE_INTERFACE_00010312_IHC 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_febre | TYPE STANDARD TABLE OF FEBRE_BF, " | |||
| lv_i_febko_ext | TYPE FEBKOXT_BF, " | |||
| lv_ihc_relevant | TYPE FEBKOXT_BF, " | |||
| lt_t_febcl | TYPE STANDARD TABLE OF FEBCL_BF, " | |||
| lv_i_febep_ext | TYPE FEBEPXT_BF, " | |||
| lv_ihc_not_relevant | TYPE FEBEPXT_BF, " | |||
| lv_bkkrs | TYPE BKK42-BKKRS, " | |||
| lv_i_febko_int | TYPE FEBKOIN_BF, " | |||
| lv_acnum_ext | TYPE BKK42-ACNUM_EXT, " | |||
| lv_i_febep_int | TYPE FEBEPIN_BF. " |
|   CALL FUNCTION 'SAMPLE_INTERFACE_00010312_IHC' "In-House Cash: Account Determination for Inbound Account Statement |
| EXPORTING | ||
| I_FEBKO_EXT | = lv_i_febko_ext | |
| I_FEBEP_EXT | = lv_i_febep_ext | |
| I_FEBKO_INT | = lv_i_febko_int | |
| I_FEBEP_INT | = lv_i_febep_int | |
| IMPORTING | ||
| IHC_RELEVANT | = lv_ihc_relevant | |
| IHC_NOT_RELEVANT | = lv_ihc_not_relevant | |
| BKKRS | = lv_bkkrs | |
| ACNUM_EXT | = lv_acnum_ext | |
| TABLES | ||
| T_FEBRE | = lt_t_febre | |
| T_FEBCL | = lt_t_febcl | |
| . " SAMPLE_INTERFACE_00010312_IHC | ||
ABAP code using 7.40 inline data declarations to call FM SAMPLE_INTERFACE_00010312_IHC
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 BKKRS FROM BKK42 INTO @DATA(ld_bkkrs). | ||||
| "SELECT single ACNUM_EXT FROM BKK42 INTO @DATA(ld_acnum_ext). | ||||
Search for further information about these or an SAP related objects