SAP FB_ICRC_ASSIGN_PACKAGE_003 Function Module for Assign Package
FB_ICRC_ASSIGN_PACKAGE_003 is a standard fb icrc assign package 003 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Assign Package 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 fb icrc assign package 003 FM, simply by entering the name FB_ICRC_ASSIGN_PACKAGE_003 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 FB_ICRC_ASSIGN_PACKAGE_003 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 'FB_ICRC_ASSIGN_PACKAGE_003'"Assign Package.
EXPORTING
ET_COMP_PAIRS = "ICR Comp Pairs
* ED_RVERS = "Version
* EB_LOCK_SIRID = "'X' = Lock Data Records
ED_TASKS = "Number of Parallel Tasks
* ED_SUPPLY_DATA = "
ET_DTAB = "Reconciliation Process 003: Data
* ED_PREFIX = "Natural Number
* ED_SVGRP = "Server Group for Parallel Processing
* ED_RYEAR = "Fiscal year
* ED_POPER = "Posting period
ED_TEST = "General Flag
* ET_RA_RULE = "SELECT-OPTIONS Table
ETH_RCOMP_PROP = "Company Properties
CHANGING
* CTH_MSG = "Table of Messages per Company
* CT_LOG = "Application Log: Table with Messages
* CT_DATA = "
IMPORTING Parameters details for FB_ICRC_ASSIGN_PACKAGE_003
ET_COMP_PAIRS - ICR Comp Pairs
Data type: FBICRC_T_COMP_PAIROptional: No
Call by Reference: No ( called with pass by value option)
ED_RVERS - Version
Data type: RVERSOptional: Yes
Call by Reference: No ( called with pass by value option)
EB_LOCK_SIRID - 'X' = Lock Data Records
Data type: FB_ICRC_FLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
ED_TASKS - Number of Parallel Tasks
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
ED_SUPPLY_DATA -
Data type: BOOLE_DOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_DTAB - Reconciliation Process 003: Data
Data type: FBICRC_T_RPROC_003_DATAOptional: No
Call by Reference: No ( called with pass by value option)
ED_PREFIX - Natural Number
Data type: NUMC3Optional: Yes
Call by Reference: No ( called with pass by value option)
ED_SVGRP - Server Group for Parallel Processing
Data type: ICRC_SVGRPOptional: Yes
Call by Reference: No ( called with pass by value option)
ED_RYEAR - Fiscal year
Data type: RYEAROptional: Yes
Call by Reference: No ( called with pass by value option)
ED_POPER - Posting period
Data type: POPEROptional: Yes
Call by Reference: No ( called with pass by value option)
ED_TEST - General Flag
Data type: FB_ICRC_FLAGOptional: No
Call by Reference: No ( called with pass by value option)
ET_RA_RULE - SELECT-OPTIONS Table
Data type: RSELOPTIONOptional: Yes
Call by Reference: No ( called with pass by value option)
ETH_RCOMP_PROP - Company Properties
Data type: FBICRC_TH_RCOMP_PROPOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for FB_ICRC_ASSIGN_PACKAGE_003
CTH_MSG - Table of Messages per Company
Data type: FBICRC_TH_MSGOptional: Yes
Call by Reference: No ( called with pass by value option)
CT_LOG - Application Log: Table with Messages
Data type: BAL_T_MSGOptional: Yes
Call by Reference: No ( called with pass by value option)
CT_DATA -
Data type: FBICRC_T_RPROC_003_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FB_ICRC_ASSIGN_PACKAGE_003 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_cth_msg | TYPE FBICRC_TH_MSG, " | |||
| lv_et_comp_pairs | TYPE FBICRC_T_COMP_PAIR, " | |||
| lv_ed_rvers | TYPE RVERS, " | |||
| lv_eb_lock_sirid | TYPE FB_ICRC_FLAG, " | |||
| lv_ed_tasks | TYPE I, " | |||
| lv_ed_supply_data | TYPE BOOLE_D, " | |||
| lv_ct_log | TYPE BAL_T_MSG, " | |||
| lv_et_dtab | TYPE FBICRC_T_RPROC_003_DATA, " | |||
| lv_ct_data | TYPE FBICRC_T_RPROC_003_DATA, " | |||
| lv_ed_prefix | TYPE NUMC3, " | |||
| lv_ed_svgrp | TYPE ICRC_SVGRP, " | |||
| lv_ed_ryear | TYPE RYEAR, " | |||
| lv_ed_poper | TYPE POPER, " | |||
| lv_ed_test | TYPE FB_ICRC_FLAG, " | |||
| lv_et_ra_rule | TYPE RSELOPTION, " | |||
| lv_eth_rcomp_prop | TYPE FBICRC_TH_RCOMP_PROP. " |
|   CALL FUNCTION 'FB_ICRC_ASSIGN_PACKAGE_003' "Assign Package |
| EXPORTING | ||
| ET_COMP_PAIRS | = lv_et_comp_pairs | |
| ED_RVERS | = lv_ed_rvers | |
| EB_LOCK_SIRID | = lv_eb_lock_sirid | |
| ED_TASKS | = lv_ed_tasks | |
| ED_SUPPLY_DATA | = lv_ed_supply_data | |
| ET_DTAB | = lv_et_dtab | |
| ED_PREFIX | = lv_ed_prefix | |
| ED_SVGRP | = lv_ed_svgrp | |
| ED_RYEAR | = lv_ed_ryear | |
| ED_POPER | = lv_ed_poper | |
| ED_TEST | = lv_ed_test | |
| ET_RA_RULE | = lv_et_ra_rule | |
| ETH_RCOMP_PROP | = lv_eth_rcomp_prop | |
| CHANGING | ||
| CTH_MSG | = lv_cth_msg | |
| CT_LOG | = lv_ct_log | |
| CT_DATA | = lv_ct_data | |
| . " FB_ICRC_ASSIGN_PACKAGE_003 | ||
ABAP code using 7.40 inline data declarations to call FM FB_ICRC_ASSIGN_PACKAGE_003
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