SAP FC_CONGR_DISMANTLE Function Module for









FC_CONGR_DISMANTLE is a standard fc congr dismantle 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 congr dismantle FM, simply by entering the name FC_CONGR_DISMANTLE into the relevant SAP transaction such as SE37 or SE38.

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



Function FC_CONGR_DISMANTLE 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_CONGR_DISMANTLE'"
EXPORTING
E_DIMEN = "Dimension
* E_TF160 = "Flag: write to IT_TF160
* E_TF161 = "Flag: write to IT_TF161
* E_TF164 = "Flag: write to IT_TF164
* E_TF166 = "Flag: write to IT_TF166
* E_TF167 = "Flag: write to IT_TF167
* E_TF168 = "Flag: write to IT_TF168
* E_TF180 = "Flag: write to IT_TF180
* E_TF181 = "Flag: write to IT_TF181
* E_TF182 = "Flag: write to IT_TF182
* E_TF183 = "Flag: write to IT_TF183
* E_CONGR = "Consolidation group to be broken down
* E_TF184 = "Flag: write to IT_TF184
* E_TF189 = "Flag: write to IT_TF189
* E_CG_PROP = "
* E_CU_PROP = "
* ET_CONGR = "Table of cons groups to be broken down
E_RVERS = "Consolidation version
E_RYEAR = "Fiscal year
E_PERID = "Period
* E_HLEVL_MAX = 0 "Number of breakdown levels ('0' = all)
* E_ROLLUP_CU = "Flag: insert rollup CU into TF16n tables
* E_ROLLUP_CG_CU = "Flag: insert rollup CU into IT_CG_CU

IMPORTING
IT_TF160 = "
IT_TF183 = "
IT_TF184 = "
IT_TF189 = "only for maintaining the assignments!
IT_CG_PROP = "
IT_CU_PROP = "
IT_CG_CU = "Assignments
IT_TOPCG = "Top CG's of dimension e_dimen
IT_BOTUP = "
I_HLEVL_MAX = "Maximum number of hierarchy levels
IT_TF161 = "
IT_TF164 = "
IT_TF166 = "
IT_TF167 = "
IT_TF168 = "
IT_TF180 = "
IT_TF181 = "
IT_TF182 = "
.



IMPORTING Parameters details for FC_CONGR_DISMANTLE

E_DIMEN - Dimension

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

E_TF160 - Flag: write to IT_TF160

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

E_TF161 - Flag: write to IT_TF161

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

E_TF164 - Flag: write to IT_TF164

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

E_TF166 - Flag: write to IT_TF166

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

E_TF167 - Flag: write to IT_TF167

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

E_TF168 - Flag: write to IT_TF168

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

E_TF180 - Flag: write to IT_TF180

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

E_TF181 - Flag: write to IT_TF181

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

E_TF182 - Flag: write to IT_TF182

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

E_TF183 - Flag: write to IT_TF183

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

E_CONGR - Consolidation group to be broken down

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

E_TF184 - Flag: write to IT_TF184

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

E_TF189 - Flag: write to IT_TF189

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

E_CG_PROP -

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

E_CU_PROP -

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

ET_CONGR - Table of cons groups to be broken down

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

E_RVERS - Consolidation version

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

E_RYEAR - Fiscal year

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

E_PERID - Period

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

E_HLEVL_MAX - Number of breakdown levels ('0' = all)

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

E_ROLLUP_CU - Flag: insert rollup CU into TF16n tables

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

E_ROLLUP_CG_CU - Flag: insert rollup CU into IT_CG_CU

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

EXPORTING Parameters details for FC_CONGR_DISMANTLE

IT_TF160 -

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

IT_TF183 -

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

IT_TF184 -

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

IT_TF189 - only for maintaining the assignments!

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

IT_CG_PROP -

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

IT_CU_PROP -

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

IT_CG_CU - Assignments

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

IT_TOPCG - Top CG's of dimension e_dimen

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

IT_BOTUP -

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

I_HLEVL_MAX - Maximum number of hierarchy levels

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

IT_TF161 -

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

IT_TF164 -

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

IT_TF166 -

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

IT_TF167 -

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

IT_TF168 -

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

IT_TF180 -

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

IT_TF181 -

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

IT_TF182 -

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

Copy and paste ABAP code example for FC_CONGR_DISMANTLE 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_e_dimen  TYPE FC_DIMEN, "   
lv_it_tf160  TYPE FC01_T_TF160, "   
lv_e_tf160  TYPE FC_FLG, "   
lv_it_tf183  TYPE FC01_T_TF183, "   
lv_e_tf161  TYPE FC_FLG, "   
lv_it_tf184  TYPE FC01_T_TF184, "   
lv_e_tf164  TYPE FC_FLG, "   
lv_it_tf189  TYPE FC01_T_TF189, "   
lv_e_tf166  TYPE FC_FLG, "   
lv_it_cg_prop  TYPE TABLE, "   
lv_e_tf167  TYPE FC_FLG, "   
lv_it_cu_prop  TYPE TABLE, "   
lv_e_tf168  TYPE FC_FLG, "   
lv_it_cg_cu  TYPE FC01_T_CG_CU, "   
lv_e_tf180  TYPE FC_FLG, "   
lv_it_topcg  TYPE FC01_T_TOPCG, "   
lv_e_tf181  TYPE FC_FLG, "   
lv_it_botup  TYPE FC01_T_BOTUP, "   
lv_e_tf182  TYPE FC_FLG, "   
lv_i_hlevl_max  TYPE I, "   
lv_e_tf183  TYPE FC_FLG, "   
lv_e_congr  TYPE FC_CONGR, "   
lv_it_tf161  TYPE FC01_T_TF161, "   
lv_e_tf184  TYPE FC_FLG, "   
lv_e_tf189  TYPE FC_FLG, "   
lv_e_cg_prop  TYPE FC_FLG, "   
lv_e_cu_prop  TYPE FC_FLG, "   
lv_et_congr  TYPE TABLE, "   
lv_it_tf164  TYPE FC01_T_TF164, "   
lv_e_rvers  TYPE FC_RVERS, "   
lv_it_tf166  TYPE FC01_T_TF166, "   
lv_e_ryear  TYPE FC_RYEAR, "   
lv_it_tf167  TYPE FC01_T_TF167, "   
lv_e_perid  TYPE FC_PERID, "   
lv_it_tf168  TYPE FC01_T_TF168, "   
lv_it_tf180  TYPE FC01_T_TF180, "   
lv_e_hlevl_max  TYPE I, "   0
lv_it_tf181  TYPE FC01_T_TF181, "   
lv_e_rollup_cu  TYPE FC_FLG, "   
lv_it_tf182  TYPE FC01_T_TF182, "   
lv_e_rollup_cg_cu  TYPE FC_FLG. "   

  CALL FUNCTION 'FC_CONGR_DISMANTLE'  "
    EXPORTING
         E_DIMEN = lv_e_dimen
         E_TF160 = lv_e_tf160
         E_TF161 = lv_e_tf161
         E_TF164 = lv_e_tf164
         E_TF166 = lv_e_tf166
         E_TF167 = lv_e_tf167
         E_TF168 = lv_e_tf168
         E_TF180 = lv_e_tf180
         E_TF181 = lv_e_tf181
         E_TF182 = lv_e_tf182
         E_TF183 = lv_e_tf183
         E_CONGR = lv_e_congr
         E_TF184 = lv_e_tf184
         E_TF189 = lv_e_tf189
         E_CG_PROP = lv_e_cg_prop
         E_CU_PROP = lv_e_cu_prop
         ET_CONGR = lv_et_congr
         E_RVERS = lv_e_rvers
         E_RYEAR = lv_e_ryear
         E_PERID = lv_e_perid
         E_HLEVL_MAX = lv_e_hlevl_max
         E_ROLLUP_CU = lv_e_rollup_cu
         E_ROLLUP_CG_CU = lv_e_rollup_cg_cu
    IMPORTING
         IT_TF160 = lv_it_tf160
         IT_TF183 = lv_it_tf183
         IT_TF184 = lv_it_tf184
         IT_TF189 = lv_it_tf189
         IT_CG_PROP = lv_it_cg_prop
         IT_CU_PROP = lv_it_cu_prop
         IT_CG_CU = lv_it_cg_cu
         IT_TOPCG = lv_it_topcg
         IT_BOTUP = lv_it_botup
         I_HLEVL_MAX = lv_i_hlevl_max
         IT_TF161 = lv_it_tf161
         IT_TF164 = lv_it_tf164
         IT_TF166 = lv_it_tf166
         IT_TF167 = lv_it_tf167
         IT_TF168 = lv_it_tf168
         IT_TF180 = lv_it_tf180
         IT_TF181 = lv_it_tf181
         IT_TF182 = lv_it_tf182
. " FC_CONGR_DISMANTLE




ABAP code using 7.40 inline data declarations to call FM FC_CONGR_DISMANTLE

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!