RFFM_CREATE_CI_SET_HIER is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report creates a commitment item
If you would like to execute this report or see the full code listing simply enter RFFM_CREATE_CI_SET_HIER into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FMRP_CI_SET_HIER - Create CI Set Hier. from Master Data
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.
Selection Text: P_VAR = D .
Selection Text: P_TEST = Test Run
Selection Text: P_SUPPRE = Suppress
Selection Text: P_PREFIX = Set Prefix
Selection Text: P_OVERRI = Overwrite the whole hierarchy
Selection Text: P_LANGU = Alternative language
Selection Text: P_GJAHR = D .
Selection Text: P_GENSET = D .
Selection Text: P_FMAREA = D .
Selection Text: P_CISET = Commitmnt Item Group Hierarchy
Selection Text: P_CANCEL = Do not create the hierarchy
Title: Create Cmmt Item Set Hierarchy from the Master Data Hierarchy
Text Symbol: S00 = Variant
Text Symbol: H00 = Commitment item set hierarchy
Text Symbol: 903 = Conflicting Set Handling
Text Symbol: 902 = Set Hierarchy Type
Text Symbol: 901 = Main Parameters
Text Symbol: 804 = caused a failure.
Text Symbol: 803 = A method in the automation queue
Text Symbol: 802 = Internal error:
Text Symbol: 801 = Automation Queue failure
Text Symbol: 400 = Commitment item set hierarchy
Text Symbol: 300 = Set / Commitment Item
Text Symbol: 001 = Prefix
Text Symbol: 002 = does not begin with '4B'
Text Symbol: 003 = Test Run
Text Symbol: 004 = Set / Commitment Item
Text Symbol: 005 = Description
Text Symbol: 006 = Non-Unique
Text Symbol: 007 = Data Element
Text Symbol: 008 = Bad Subset
Text Symbol: 009 = Other
Text Symbol: 010 = Status
Text Symbol: 011 = Set Prefix
Text Symbol: 012 = Update Run
Text Symbol: 013 = If conflicting sets are encountered:
Text Symbol: 015 = Conflicting sets found - Hierarchy not created
Text Symbol: 016 = Conflicting sets found - Hierarchy overwritten
INCLUDE RFFM_CREATE_CI_SET_HIER_TOP.
No SAP DATABASE tables are accessed within this REPORT code!
FM_FYC_SELSCR_STATUS_SET CALL FUNCTION 'FM_FYC_SELSCR_STATUS_SET' EXPORTING i_t_fcode_excl = g_t_fcode.
FM_COM_ITEM_READ_HIER CALL FUNCTION 'FM_COM_ITEM_READ_HIER' EXPORTING i_fikrs = u_fmarea i_gjahr = u_gjahr i_varnt = u_var * I_FIPEX = * I_FLG_SORT = 'X' TABLES e_t_fmhici = g_t_fmhici_levsort EXCEPTIONS input_error = 1 fikrs_not_found = 2 wrong_gjahr = 3 fipex_not_found = 4 error_occured = 5 OTHERS = 6.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_fisl_setclass * gsetc_temporary_setclass shortname = l_shortname IMPORTING setid = l_set_hier-set_header-setnr.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_commitmnt_itm_setclass * gsetc_temporary_setclass shortname = l_shortname fikrs = p_fmarea IMPORTING setid = l_set_hier-set_header-setnr.
G_SET_GENERATE * CALL FUNCTION 'G_SET_GENERATE' * EXPORTING * set_header = set_header * TABLES * set_lines_basic = set_lines_basic.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_fisl_setclass * gsetc_temporary_setclass shortname = l_shortname IMPORTING setid = l_set_hier-set_header-setnr.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_commitmnt_itm_setclass * gsetc_temporary_setclass shortname = l_shortname fikrs = p_fmarea IMPORTING setid = l_set_hier-set_header-setnr.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = l_fmhici_psort-setnr IMPORTING shortname = l_shortname.
G_SET_GENERATE * CALL FUNCTION 'G_SET_GENERATE' * EXPORTING * set_header = set_header * TABLES * set_lines_basic = set_lines_basic * set_lines_single = set_lines_single.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = l_fmhici_psort-setnr IMPORTING shortname = l_shortname.
G_SET_GENERATE * CALL FUNCTION 'G_SET_GENERATE' * EXPORTING * set_header = set_header * TABLES * set_lines_single = set_lines_single.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = setnr IMPORTING setclass = l_class shortname = l_shortname fikrs = l_fikrs.
G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING class = l_class * NO_SET_TITLE = ' ' setname = l_shortname * TABLE = ' ' * FIELDNAME = ' ' * USE_TABLE_BUFFER = 'X' * CLIENT = * IMPORTING * INFO = EXCEPTIONS set_not_found = 1 * ILLEGAL_FIELD_REPLACEMENT = 2 OTHERS = 3 .
FM_COM_ITEM_READ_SINGLE_DATA CALL FUNCTION 'FM_COM_ITEM_READ_SINGLE_DATA' EXPORTING i_fikrs = p_fmarea i_varnt = p_var i_gjahr = p_gjahr i_fipex = p_fipex i_flg_text = 'X' * I_FLG_HIERARCHY = ' ' IMPORTING e_f_fmci = l_fmci e_f_fmcit = l_fmcit * E_F_FMHICI = EXCEPTIONS master_data_not_found = 1 hierarchy_data_not_found = 2 input_error = 3 OTHERS = 4.
G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING setid = g_topsetnr IMPORTING setclass = l_class shortname = l_shortname fikrs = l_fikrs.
G_SET_TREE_DELETE CALL FUNCTION 'G_SET_TREE_DELETE' EXPORTING class = l_class no_authority_check = 'X' * NO_COMMIT_WORK = set = l_shortname * SUBCLASSMASK = '*' * SUBSETMASK = '*' * BLOCKING_CHECK = * DONT_DELETE_CLASS_0 = * DONT_DELETE_STD_HIER = * TAB = * TABLES * USED_SUBSETS = EXCEPTIONS not_found = 1 no_authority = 2 set_is_used = 3 set_is_blocked = 4 OTHERS = 5 .
G_DELETE_SET CALL FUNCTION 'G_DELETE_SET' EXPORTING client = sy-mandt set = g_topsetnr force_deletion = 'X' EXCEPTIONS no_authority = 1 not_found = 2 * set_is_used = 3 .
G_SET_GENERATE CALL FUNCTION 'G_SET_GENERATE' EXPORTING * CLIENT = ' ' * LANGU = SY-LANGU set_header = l_set_hier-set_header * TOLERATE_AMBIGUITY = ' ' * NOTHING_CHANGED = ' ' * FLAG_USE_RGSBS_USER = ' ' * REF_SET = ' ' TABLES * FORMULA_LINES = set_lines_basic = l_set_hier-set_lines_basic * SET_LINES_DATA = * SET_LINES_MULTI = * SET_LINES_SINGLE = 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_ADD_TITLES CALL FUNCTION 'G_SET_ADD_TITLES' EXPORTING setname = l_set_hier-set_header-setnr TABLES set_titles = l_t_set_titles.
G_SET_GENERATE CALL FUNCTION 'G_SET_GENERATE' EXPORTING set_header = l_set_hier-set_header TABLES set_lines_basic = l_set_hier-set_lines_basic set_lines_single = l_set_hier-set_lines_single.
G_SET_GENERATE CALL FUNCTION 'G_SET_GENERATE' EXPORTING * CLIENT = ' ' * LANGU = SY-LANGU set_header = l_set_hier-set_header * TOLERATE_AMBIGUITY = ' ' * NOTHING_CHANGED = ' ' * FLAG_USE_RGSBS_USER = ' ' * REF_SET = ' ' TABLES * FORMULA_LINES = set_lines_basic = l_set_hier-set_lines_basic * SET_LINES_DATA = * SET_LINES_MULTI = set_lines_single = l_set_hier-set_lines_single 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_ADD_TITLES CALL FUNCTION 'G_SET_ADD_TITLES' EXPORTING setname = l_set_hier-set_header-setnr TABLES set_titles = l_t_set_titles.
FM_FIKRS_CHECK_MD_YEAR_DEPEND CALL FUNCTION 'FM_FIKRS_CHECK_MD_YEAR_DEPEND' EXPORTING i_fikrs = u_fmarea * I_FMA_OBJNR = ' ' IMPORTING e_flg_year_pos = c_ci_year_dep * E_FLG_YEAR_CTR = * E_FLG_YEAR_MASTER_DATA = EXCEPTIONS input_error = 1 not_found = 2 OTHERS = 3.
FM_SET_FM_AREA CALL FUNCTION 'FM_SET_FM_AREA' EXPORTING i_flg_process_popup = u_flg_popup IMPORTING e_fikrs = c_fm_area EXCEPTIONS no_fikrs_selected = 1.
RS_VARIANT_CONTENTS CALL FUNCTION 'RS_VARIANT_CONTENTS' EXPORTING report = 'RFFM_CREATE_CI_SET_HIER' variant = l_variant TABLES valutab = l_t_valutab.
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = 'Automation Queue failure'(801) txt1 = 'Internal error:'(802) txt2 = 'A method in the automation queue'(803) txt3 = 'caused a failure.'(804).
G_SET_GET_ROOT_SETS CALL FUNCTION 'G_SET_GET_ROOT_SETS' EXPORTING * CLIENT = setid = i_setnr TABLES rootsets = l_t_rootsets.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_fisl_setclass shortname = e_topsetname IMPORTING setid = e_topsetnr.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_commitmnt_itm_setclass shortname = e_topsetname fikrs = p_fmarea IMPORTING setid = e_topsetnr.
FMFK_FIKRS_READ CALL FUNCTION 'FMFK_FIKRS_READ' EXPORTING ip_fikrs = u_fm_area.
FM_AUTH_CHECK_FM_AREA CALL FUNCTION 'FM_AUTH_CHECK_FM_AREA' EXPORTING i_fikrs = u_fm_area i_actvt = l_activity i_msgty = 'E' IMPORTING e_flg_auth = l_auth.
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 RFFM_CREATE_CI_SET_HIER or its description.
RFFM_CREATE_CI_SET_HIER - Create Cmmt Item Set Hierarchy from the Master Data Hierarchy RFFM_CREATE_CI_SET_HIER - Create Cmmt Item Set Hierarchy from the Master Data Hierarchy RFFM_CONVERT_VVS - RFFM_CONVERT_VVS - RFFM_CI_ALV - Include RFFM_CI_ALV RFFM_CHECK_VERRECHNUNG - Check Program for the Customizing of Clearing Control