SAP FB_ICRC_ASSIGN_DATA_003 Function Module for Process 003: Assign Data









FB_ICRC_ASSIGN_DATA_003 is a standard fb icrc assign data 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 Process 003: Assign 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 fb icrc assign data 003 FM, simply by entering the name FB_ICRC_ASSIGN_DATA_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_DATA_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_DATA_003'"Process 003: Assign Data
EXPORTING
ED_RCOMP = "Company
ED_RASSC = "Partner
ET_COMPANY_DATA = "Company Data
ET_PARTNER_DATA = "Partner Data
ED_POPER = "Posting Period
ED_TEST = "'X' = Testrun
ET_RA_RULE = "Rules to be Used

IMPORTING
ETH_MSG = "Table of Messages per Company
ET_LOG = "Application Log: Table with Messages
ET_COMPANY_UNASSIGNED = "Unassigned Company Data Records
ET_PARTNER_UNASSIGNED = "Unassigned Partner Data Records
ET_ASSIGNED_DIFF = "Assigned Data Records With Differences
ET_ASSIGNED_NO_DIFF = "Assigned Data Records Without Differences

EXCEPTIONS
EXC_NO_RULES = 1
.



IMPORTING Parameters details for FB_ICRC_ASSIGN_DATA_003

ED_RCOMP - Company

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

ED_RASSC - Partner

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

ET_COMPANY_DATA - Company Data

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

ET_PARTNER_DATA - Partner Data

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

ED_POPER - Posting Period

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

ED_TEST - 'X' = Testrun

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

ET_RA_RULE - Rules to be Used

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

EXPORTING Parameters details for FB_ICRC_ASSIGN_DATA_003

ETH_MSG - Table of Messages per Company

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

ET_LOG - Application Log: Table with Messages

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

ET_COMPANY_UNASSIGNED - Unassigned Company Data Records

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

ET_PARTNER_UNASSIGNED - Unassigned Partner Data Records

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

ET_ASSIGNED_DIFF - Assigned Data Records With Differences

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

ET_ASSIGNED_NO_DIFF - Assigned Data Records Without Differences

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

EXCEPTIONS details

EXC_NO_RULES - No Rules Found in Customizing

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FB_ICRC_ASSIGN_DATA_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_eth_msg  TYPE FBICRC_TH_MSG, "   
lv_ed_rcomp  TYPE RCOMP_D, "   
lv_exc_no_rules  TYPE RCOMP_D, "   
lv_et_log  TYPE BAL_T_MSG, "   
lv_ed_rassc  TYPE RASSC, "   
lv_et_company_data  TYPE FBICRC_T_RPROC_003_DATA, "   
lv_et_company_unassigned  TYPE FBICRC_T_RPROC_003_DATA, "   
lv_et_partner_data  TYPE FBICRC_T_RPROC_003_DATA, "   
lv_et_partner_unassigned  TYPE FBICRC_T_RPROC_003_DATA, "   
lv_ed_poper  TYPE POPER, "   
lv_et_assigned_diff  TYPE FBICRC_T_RPROC_003_DATA, "   
lv_ed_test  TYPE FB_ICRC_FLAG, "   
lv_et_assigned_no_diff  TYPE FBICRC_T_RPROC_003_DATA, "   
lv_et_ra_rule  TYPE RSELOPTION. "   

  CALL FUNCTION 'FB_ICRC_ASSIGN_DATA_003'  "Process 003: Assign Data
    EXPORTING
         ED_RCOMP = lv_ed_rcomp
         ED_RASSC = lv_ed_rassc
         ET_COMPANY_DATA = lv_et_company_data
         ET_PARTNER_DATA = lv_et_partner_data
         ED_POPER = lv_ed_poper
         ED_TEST = lv_ed_test
         ET_RA_RULE = lv_et_ra_rule
    IMPORTING
         ETH_MSG = lv_eth_msg
         ET_LOG = lv_et_log
         ET_COMPANY_UNASSIGNED = lv_et_company_unassigned
         ET_PARTNER_UNASSIGNED = lv_et_partner_unassigned
         ET_ASSIGNED_DIFF = lv_et_assigned_diff
         ET_ASSIGNED_NO_DIFF = lv_et_assigned_no_diff
    EXCEPTIONS
        EXC_NO_RULES = 1
. " FB_ICRC_ASSIGN_DATA_003




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



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!