SAP FC_BUNIT_DATATRANS_GET Function Module for









FC_BUNIT_DATATRANS_GET is a standard fc bunit datatrans get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fc bunit datatrans get FM, simply by entering the name FC_BUNIT_DATATRANS_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: FCIN
Program Name: SAPLFCIN
Main Program: SAPLFCIN
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FC_BUNIT_DATATRANS_GET 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 'FC_BUNIT_DATATRANS_GET'"
EXPORTING
I_DIMEN = "Dimension
* I_FLG_HIER = "
* I_FLG_INT = "
* I_FLG_TF160 = "
* I_FLG_EXIST_ONLY = "
I_ITCLG = "Consolidation Chart of Accounts
I_RVERS = "Version
* I_RYEAR = "Fiscal Year
* I_PERID = "Period
* I_CONGR = "
* I_BUNIT = "
I_TRANS = "Data Transfer Method
* I_FLG_T000K_CHK = "

TABLES
* T_CU = "
* T_TFIN010 = "
* I_T_RA_CONTP = "

EXCEPTIONS
ECCS_NOT_CONS_SYSTEM = 1 TRANS_NOT_USED_BY_INTEGRATION = 2 NO_DATASTREAM_ACTIVE = 3 BUNIT_INITIAL = 4 CONGR_DISMANTLE_ERROR = 5 NO_BUNITS_IN_HIERARCHY = 6 BUNITS_NOT_USED_BY_INTEGRATION = 7 NO_BUNITS_WITH_TRANSFER_METHOD = 8
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLFCIN_100 Integration: User Exit for Identifier and Texts from Cons Org Units
EXIT_SAPLFCIN_110 Integration: User Exit for 'Parents' of Cons Org Units
EXIT_SAPLFCIN_200 Integration: User Exit for Definition of the Data Stream on Rollup
EXIT_SAPLFCIN_210 Integration: Output Fields of Incorrect Data Records in Rollup
EXIT_SAPLFCIN_220 Integration: Sender Fields for Organizational Units on Rollup
EXIT_SAPLFCIN_230 Integration: Sender Fields for Subitems on Rollup
EXIT_SAPLFCIN_240 Integration: Edit from Value Fields before Update with Rollup
EXIT_SAPLFCIN_250 Integration: Get Custom Subassignments

IMPORTING Parameters details for FC_BUNIT_DATATRANS_GET

I_DIMEN - Dimension

Data type: FC_DIMEN
Optional: No
Call by Reference: Yes

I_FLG_HIER -

Data type: FC_FLG
Optional: Yes
Call by Reference: Yes

I_FLG_INT -

Data type: FC_FLG
Optional: Yes
Call by Reference: Yes

I_FLG_TF160 -

Data type: FC_FLG
Optional: Yes
Call by Reference: Yes

I_FLG_EXIST_ONLY -

Data type: FC_FLG
Optional: Yes
Call by Reference: Yes

I_ITCLG - Consolidation Chart of Accounts

Data type: FC_ITCLG
Optional: No
Call by Reference: Yes

I_RVERS - Version

Data type: FC_RVERS
Optional: No
Call by Reference: Yes

I_RYEAR - Fiscal Year

Data type: FC_RYEAR
Optional: Yes
Call by Reference: Yes

I_PERID - Period

Data type: FC_PERID
Optional: Yes
Call by Reference: Yes

I_CONGR -

Data type: FC_CONGR
Optional: Yes
Call by Reference: Yes

I_BUNIT -

Data type: FC_BUNIT
Optional: Yes
Call by Reference: Yes

I_TRANS - Data Transfer Method

Data type: FCIN_TRANS
Optional: No
Call by Reference: Yes

I_FLG_T000K_CHK -

Data type: FC_FLG
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for FC_BUNIT_DATATRANS_GET

T_CU -

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

T_TFIN010 -

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

I_T_RA_CONTP -

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

EXCEPTIONS details

ECCS_NOT_CONS_SYSTEM -

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

TRANS_NOT_USED_BY_INTEGRATION -

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

NO_DATASTREAM_ACTIVE -

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

BUNIT_INITIAL -

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

CONGR_DISMANTLE_ERROR -

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

NO_BUNITS_IN_HIERARCHY -

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

BUNITS_NOT_USED_BY_INTEGRATION -

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

NO_BUNITS_WITH_TRANSFER_METHOD -

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

Copy and paste ABAP code example for FC_BUNIT_DATATRANS_GET 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_cu  TYPE STANDARD TABLE OF FCIN_T_CU, "   
lv_i_dimen  TYPE FC_DIMEN, "   
lv_eccs_not_cons_system  TYPE FC_DIMEN, "   
lv_i_flg_hier  TYPE FC_FLG, "   
lv_i_flg_int  TYPE FC_FLG, "   
lv_i_flg_tf160  TYPE FC_FLG, "   
lv_i_flg_exist_only  TYPE FC_FLG, "   
lv_i_itclg  TYPE FC_ITCLG, "   
lt_t_tfin010  TYPE STANDARD TABLE OF FCIN_T_TFIN010, "   
lv_trans_not_used_by_integration  TYPE FCIN_T_TFIN010, "   
lv_i_rvers  TYPE FC_RVERS, "   
lt_i_t_ra_contp  TYPE STANDARD TABLE OF FCIN_T_RA_CONTP, "   
lv_no_datastream_active  TYPE FCIN_T_RA_CONTP, "   
lv_i_ryear  TYPE FC_RYEAR, "   
lv_bunit_initial  TYPE FC_RYEAR, "   
lv_i_perid  TYPE FC_PERID, "   
lv_congr_dismantle_error  TYPE FC_PERID, "   
lv_i_congr  TYPE FC_CONGR, "   
lv_no_bunits_in_hierarchy  TYPE FC_CONGR, "   
lv_i_bunit  TYPE FC_BUNIT, "   
lv_bunits_not_used_by_integration  TYPE FC_BUNIT, "   
lv_i_trans  TYPE FCIN_TRANS, "   
lv_no_bunits_with_transfer_method  TYPE FCIN_TRANS, "   
lv_i_flg_t000k_chk  TYPE FC_FLG. "   

  CALL FUNCTION 'FC_BUNIT_DATATRANS_GET'  "
    EXPORTING
         I_DIMEN = lv_i_dimen
         I_FLG_HIER = lv_i_flg_hier
         I_FLG_INT = lv_i_flg_int
         I_FLG_TF160 = lv_i_flg_tf160
         I_FLG_EXIST_ONLY = lv_i_flg_exist_only
         I_ITCLG = lv_i_itclg
         I_RVERS = lv_i_rvers
         I_RYEAR = lv_i_ryear
         I_PERID = lv_i_perid
         I_CONGR = lv_i_congr
         I_BUNIT = lv_i_bunit
         I_TRANS = lv_i_trans
         I_FLG_T000K_CHK = lv_i_flg_t000k_chk
    TABLES
         T_CU = lt_t_cu
         T_TFIN010 = lt_t_tfin010
         I_T_RA_CONTP = lt_i_t_ra_contp
    EXCEPTIONS
        ECCS_NOT_CONS_SYSTEM = 1
        TRANS_NOT_USED_BY_INTEGRATION = 2
        NO_DATASTREAM_ACTIVE = 3
        BUNIT_INITIAL = 4
        CONGR_DISMANTLE_ERROR = 5
        NO_BUNITS_IN_HIERARCHY = 6
        BUNITS_NOT_USED_BY_INTEGRATION = 7
        NO_BUNITS_WITH_TRANSFER_METHOD = 8
. " FC_BUNIT_DATATRANS_GET




ABAP code using 7.40 inline data declarations to call FM FC_BUNIT_DATATRANS_GET

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!