SAP Reports / Programs | Enterprise Controlling | Consolidation(EC-CS) SAP EC

FICSGN20 SAP ABAP Report - Alternative Set Generation in Item Hierarchy for Reporting







FICSGN20 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter FICSGN20 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT FICSGN20. "Basic submit
SUBMIT FICSGN20 AND RETURN. "Return to original report after report execution complete
SUBMIT FICSGN20 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: PA_CLEAR = Delete Without Regeneration
Selection Text: PA_ITCLG = D Cons Chart of Accounts
Title: Alternative Set Generation in Item Hierarchy for Reporting


INCLUDES used within this REPORT FICSGN20

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

FC_ITCLG_IMPORT CALL FUNCTION 'FC_ITCLG_IMPORT' EXPORTING e_itclg = pa_itclg IMPORTING it_node = it_mcdx[] EXCEPTIONS not_found = 1 OTHERS = 2.

CONVERSION_EXIT_BFIMC_INPUT CALL FUNCTION 'CONVERSION_EXIT_BFIMC_INPUT' EXPORTING input = ld_item IMPORTING output = ld_item.

G_SET_LIST_SELECT CALL FUNCTION 'G_SET_LIST_SELECT' EXPORTING setclass = '0302' shortname = '0X*' eccs_itclg = v_itclg TABLES matching_sets = it_setlist.

G_SET_FETCH CALL FUNCTION 'G_SET_FETCH' EXPORTING class = ' ' langu = sy-langu no_authority_check = ' ' setnr = a_oldset-setid source_client = sy-mandt table = 'FIMC' IMPORTING set_header = a_oldset-set_header TABLES set_lines_basic = a_oldset-it_bsetline set_lines_single = a_oldset-it_ssetline.

FC_SET_DELETE CALL FUNCTION 'FC_SET_DELETE' CHANGING it_setid_del = it_setid_del.

FC_ITCLG_IMPORT CALL FUNCTION 'FC_ITCLG_IMPORT' EXPORTING e_itclg = i_itclg IMPORTING it_node = it_mcdx[] EXCEPTIONS not_found = 1 OTHERS = 2.

CONVERSION_EXIT_BFIMC_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_BFIMC_OUTPUT' EXPORTING input = ld_item IMPORTING output = ld_item.

G_SET_FETCH CALL FUNCTION 'G_SET_FETCH' EXPORTING class = ' ' langu = sy-langu no_authority_check = ' ' setnr = a_oldset-setid source_client = sy-mandt table = 'FIMC' IMPORTING set_header = a_oldset-set_header TABLES set_lines_basic = a_oldset-it_bsetline set_lines_single = a_oldset-it_ssetline.

FC_SETGEN_ITEMSETNAME_GET CALL FUNCTION 'FC_SETGEN_ITEMSETNAME_GET' EXPORTING e_itclg = i_itclg e_item = a_genset-item e_settype = i_type IMPORTING i_setheader = a_genset-set_header i_setid = a_genset-setid.

CONVERSION_EXIT_BFIMC_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_BFIMC_OUTPUT' EXPORTING input = a_genset-item IMPORTING output = ld_item_txt.

CONVERSION_EXIT_BFIMC_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_BFIMC_OUTPUT' EXPORTING input = a_genset-item IMPORTING output = ld_item_txt.

G_SET_ENQUEUE CALL FUNCTION 'G_SET_ENQUEUE' EXPORTING setnr = a_genset-setid.

G_SET_GENERATE CALL FUNCTION 'G_SET_GENERATE' EXPORTING set_header = a_genset-set_header TABLES set_lines_basic = a_genset-it_bsetline set_lines_single = a_genset-it_ssetline EXCEPTIONS bad_formula = 1 double_field = 2 entry_not_found = 3 not_unique = 4 old_set_has_wrong_data_element = 5 old_set_has_wrong_type = 6 set_is_recursive = 7 setname_too_long = 8 subset_does_not_exist = 9 subset_has_wrong_class = 10 subset_has_wrong_data_element = 11 subset_has_wrong_type = 12 table_or_fieldname_missing = 13 temporary_in_permanent_set = 14 variable_does_not_exist = 15 variable_has_wrong_data_elem = 16 variable_has_wrong_table = 17 variable_has_wrong_type = 18 wrong_interval = 19 wrong_setclass = 20 subset_has_wrong_table = 21 OTHERS = 22.

G_SET_DEQUEUE CALL FUNCTION 'G_SET_DEQUEUE' EXPORTING setnr = a_genset-setid.

G_SET_LIST_SELECT CALL FUNCTION 'G_SET_LIST_SELECT' EXPORTING setclass = '0302' shortname = '0X*' eccs_itclg = i_itclg TABLES matching_sets = it_setlist.

FC_SET_DELETE CALL FUNCTION 'FC_SET_DELETE' CHANGING it_setid_del = it_setid_del.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name FICSGN20 or its description.