SAP FBICRC_GET_CURRENT_DIFF Function Module for Determine Current Differences from IC Reconciliation
FBICRC_GET_CURRENT_DIFF is a standard fbicrc get current diff SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determine Current Differences from IC Reconciliation 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 fbicrc get current diff FM, simply by entering the name FBICRC_GET_CURRENT_DIFF into the relevant SAP transaction such as SE37 or SE38.
Function Group: FB_ICRC_SERVICES
Program Name: SAPLFB_ICRC_SERVICES
Main Program: SAPLFB_ICRC_SERVICES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FBICRC_GET_CURRENT_DIFF 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 'FBICRC_GET_CURRENT_DIFF'"Determine Current Differences from IC Reconciliation.
EXPORTING
ED_RPROC = "Reconciliation Process
ED_RYEAR = "Fiscal Year
ED_POPER = "Period: day, week, month, posting period as rep. internally
* ED_FYVAR = "Fiscal Year Variant
ED_RVERS = "Version
ED_DCURR = "Currency For Differences
* ED_CHECK_AUTHORITY = "'X' = Check Authority
TABLES
CT_DATA = "Cluster Table
CT_MESSAGE = "Messages
ET_RA_RCOMP = "Range of Companies
ET_RA_RASSC = "Range of Partners
EXCEPTIONS
EXC_RPROC_NOT_EXIST = 1 EXC_PARAMETERS_INCOMPLETE = 2
IMPORTING Parameters details for FBICRC_GET_CURRENT_DIFF
ED_RPROC - Reconciliation Process
Data type: FB_RC_RPROCOptional: No
Call by Reference: No ( called with pass by value option)
ED_RYEAR - Fiscal Year
Data type: GJAHROptional: No
Call by Reference: No ( called with pass by value option)
ED_POPER - Period: day, week, month, posting period as rep. internally
Data type: POPEROptional: No
Call by Reference: No ( called with pass by value option)
ED_FYVAR - Fiscal Year Variant
Data type: PERIVOptional: Yes
Call by Reference: No ( called with pass by value option)
ED_RVERS - Version
Data type: RVERSOptional: No
Call by Reference: No ( called with pass by value option)
ED_DCURR - Currency For Differences
Data type: WAERSOptional: No
Call by Reference: No ( called with pass by value option)
ED_CHECK_AUTHORITY - 'X' = Check Authority
Data type: FB_ICRC_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FBICRC_GET_CURRENT_DIFF
CT_DATA - Cluster Table
Data type: FBAS_T_CLUSTROptional: No
Call by Reference: Yes
CT_MESSAGE - Messages
Data type: TSMESGOptional: No
Call by Reference: Yes
ET_RA_RCOMP - Range of Companies
Data type: RSELOPTIONOptional: No
Call by Reference: Yes
ET_RA_RASSC - Range of Partners
Data type: RSELOPTIONOptional: No
Call by Reference: Yes
EXCEPTIONS details
EXC_RPROC_NOT_EXIST - Reconciliation Process Does Not Exist
Data type:Optional: No
Call by Reference: Yes
EXC_PARAMETERS_INCOMPLETE - Mandatory Parameters Were Not Specified
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FBICRC_GET_CURRENT_DIFF 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_ct_data | TYPE STANDARD TABLE OF FBAS_T_CLUSTR, " | |||
| lv_ed_rproc | TYPE FB_RC_RPROC, " | |||
| lv_exc_rproc_not_exist | TYPE FB_RC_RPROC, " | |||
| lv_ed_ryear | TYPE GJAHR, " | |||
| lt_ct_message | TYPE STANDARD TABLE OF TSMESG, " | |||
| lv_exc_parameters_incomplete | TYPE TSMESG, " | |||
| lv_ed_poper | TYPE POPER, " | |||
| lt_et_ra_rcomp | TYPE STANDARD TABLE OF RSELOPTION, " | |||
| lv_ed_fyvar | TYPE PERIV, " | |||
| lt_et_ra_rassc | TYPE STANDARD TABLE OF RSELOPTION, " | |||
| lv_ed_rvers | TYPE RVERS, " | |||
| lv_ed_dcurr | TYPE WAERS, " | |||
| lv_ed_check_authority | TYPE FB_ICRC_FLAG. " |
|   CALL FUNCTION 'FBICRC_GET_CURRENT_DIFF' "Determine Current Differences from IC Reconciliation |
| EXPORTING | ||
| ED_RPROC | = lv_ed_rproc | |
| ED_RYEAR | = lv_ed_ryear | |
| ED_POPER | = lv_ed_poper | |
| ED_FYVAR | = lv_ed_fyvar | |
| ED_RVERS | = lv_ed_rvers | |
| ED_DCURR | = lv_ed_dcurr | |
| ED_CHECK_AUTHORITY | = lv_ed_check_authority | |
| TABLES | ||
| CT_DATA | = lt_ct_data | |
| CT_MESSAGE | = lt_ct_message | |
| ET_RA_RCOMP | = lt_et_ra_rcomp | |
| ET_RA_RASSC | = lt_et_ra_rassc | |
| EXCEPTIONS | ||
| EXC_RPROC_NOT_EXIST = 1 | ||
| EXC_PARAMETERS_INCOMPLETE = 2 | ||
| . " FBICRC_GET_CURRENT_DIFF | ||
ABAP code using 7.40 inline data declarations to call FM FBICRC_GET_CURRENT_DIFF
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