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

FICREC0F SAP ABAP INCLUDE - documentation and ABAP source code







FICREC0F is a standard ABAP INCLUDE 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 FICREC0F 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 FICREC0F. "Basic submit
SUBMIT FICREC0F AND RETURN. "Return to original report after report execution complete
SUBMIT FICREC0F VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT FICREC0F

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_GLOBAL_PARAMETERS_IMPORT CALL FUNCTION 'FC_GLOBAL_PARAMETERS_IMPORT' EXPORTING e_uname = sy-uname IMPORTING i_dimen = pa_dimen * I_CONGR = * I_BUNIT = i_itclg = pa_itclg i_rldnr = pa_rldr2 i_rvers = pa_rver2 i_ryear = pa_yrf2 i_perid = pa_pef2.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

FC_AUTHORITY_CHECK_REPORTING CALL FUNCTION 'FC_AUTHORITY_CHECK_REPORTING' EXPORTING e_dimen = pa_dimen e_itclg = pa_itclg e_rvers = pa_rver2 et_ra_bunit = so_bunit[].

SCT2_GET_RFC_DESTINATION_F4 CALL FUNCTION 'SCT2_GET_RFC_DESTINATION_F4' EXPORTING iv_rfc_dest_type = '3' * IV_PROOF_ONLY = ' ' iv_popup_start_x = 5 iv_popup_start_y = 5 * IMPORTING * EV_RFC_DEST_TEXT = * ES_RFC_DEST_INFO = CHANGING cv_rfc_dest = l_rfcdest EXCEPTIONS rfc_dest_not_found = 1 cancel_button_pressed = 2 OTHERS = 3.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = l_prog dynumb = l_dynnr TABLES dynpfields = lt_dynpread.

POPUP_TO_CONFIRM_MSG_WITH_CALL CALL FUNCTION 'POPUP_TO_CONFIRM_MSG_WITH_CALL' EXPORTING txt01 = l_txt1 txt02 = l_txt2 txt03 = l_txt3 txt04 = l_txt4 * PAR01 = ' ' * PAR02 = ' ' * PAR03 = ' ' * PAR04 = ' ' new_line1 = l_txt5 * NEW_LINE2 = ' ' * NEW_LINE3 = ' ' title = text-t01 length = l_len_max.

RFC_FUNCTION_SEARCH CALL FUNCTION 'RFC_FUNCTION_SEARCH' DESTINATION l_rfcdest EXPORTING * FUNCNAME = groupname = con_rfcfunc_area1 * LANGUAGE = SY-LANGU TABLES functions = lt_rfcfunc EXCEPTIONS system_failure = 1 MESSAGE l_msgtxt communication_failure = 2 MESSAGE l_msgtxt no_function_found = 3 OTHERS = 4.

RFC_FUNCTION_SEARCH CALL FUNCTION 'RFC_FUNCTION_SEARCH' DESTINATION l_rfcdest EXPORTING funcname = i_funcname * GROUPNAME = * LANGUAGE = SY-LANGU TABLES functions = lt_rfcfunc EXCEPTIONS system_failure = 1 MESSAGE l_msgtxt communication_failure = 2 MESSAGE l_msgtxt no_function_found = 3 OTHERS = 4.

AUTHORITY_CHECK_RFC CALL FUNCTION 'AUTHORITY_CHECK_RFC' EXPORTING * USERID = SY-UNAME functiongroup = l_group EXCEPTIONS user_dont_exist = 1 rfc_no_authority = 2 OTHERS = 3.

CALL FUNCTION ls_code+2 = 'CALL FUNCTION '''. "#EC NOTEXT

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_prog dynumb = l_dynp perform_input_conversion = con_x TABLES dynpfields = lt_dynpread.

G_GET_TABLES CALL FUNCTION 'G_GET_TABLES' EXPORTING i_tt = con_x TABLES e_t800a = lt_t800a EXCEPTIONS OTHERS = 1.

G_DISPLAY_LEDGERS_FOR_TABLE CALL FUNCTION 'G_DISPLAY_LEDGERS_FOR_TABLE' EXPORTING gappl = l_appl gsubappl = l_subappl only_fixed_ledgers = l_flg_fixed * ONLY_DISPLAY = ' ' * WITH_DEPENDENT_LEDGERS = ' ' * ONLY_FREE_LEDGERS = ' ' * COMPANY_CODE = ' ' IMPORTING picked_ledger = l_rldnr picked_ledger_tab = l_ttab * PICKED_LEDGER_NAME = TABLES allowed_tables = lt_ttabs EXCEPTIONS no_ledger_found = 1 OTHERS = 2.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = l_prog dynumb = l_dynp TABLES dynpfields = lt_dynpread.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = l_prog dynumb = l_dynnr TABLES dynpfields = lt_dynpread.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = i_retfield * PVALKEY = ' ' dynpprog = l_prog dynpnr = l_dynp * DYNPROFIELD = * STEPL = window_title = i_title * VALUE = value_org = 'S' * MULTIPLE_CHOICE = ' ' display = l_flg_disp * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' TABLES value_tab = it_values field_tab = it_dfies return_tab = lt_rettab EXCEPTIONS parameter_error = 1.

FC_RFC_STRUC_TYPEDESCR_CREATE CALL FUNCTION 'FC_RFC_STRUC_TYPEDESCR_CREATE' DESTINATION i_rfcdest EXPORTING i_tabname_tdata = ls_findx_t-ttab i_typename_tdata = l_typename_tdata TABLES it_tabnames = lt_tabnames[] it_typenames = lt_typenames[] et_code_cmp = lt_code_cmp[] EXCEPTIONS system_failure = 1 MESSAGE l_msgtxt communication_failure = 2 MESSAGE l_msgtxt not_found = 3 OTHERS = 4.

CALL FUNCTION ls_code+2 = 'CALL FUNCTION '''. "#EC NOTEXT

ENQUEUE_ESRDIRE





CALL FUNCTION 'ENQUEUE_ESRDIRE' EXPORTING * MODE_TRDIR = 'E' name = l_name * X_NAME = ' ' _scope = '1' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ESRDIRE CALL FUNCTION 'DEQUEUE_ESRDIRE' EXPORTING * MODE_TRDIR = 'E' name = l_name * X_NAME = ' ' _scope = '1'.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'FC_PLEVL' all_types = con_x TABLES fixed_values = st_plevls.

FC_ENCODING_INFO_READ CALL FUNCTION 'FC_ENCODING_INFO_READ' EXPORTING i_flg_streams_read = con_x i_flg_active_only = space i_flg_rules_read = space TABLES i_t_ra_contp = lt_ra_contp i_t_ra_dimen = lt_ra_dimen i_t_ra_itclg = lt_ra_itclg i_t_ra_rvers = lt_ra_rvers e_t_tfin000 = lt_tfin000[] * E_T_TFIN001 = * E_T_ACT_CONTP = * E_T_CTP = EXCEPTIONS no_data_stream = 1 no_act_data_stream = 2.

SCT2_GET_T000_ENTRY_RFC CALL FUNCTION 'SCT2_GET_T000_ENTRY_RFC' DESTINATION i_rfcdest IMPORTING * ES_T000 = * EV_LANGUAGE = * EV_CODEPAGE = * EV_ENDIAN_CHECK_NUMBER = ev_sysid = c_sysid ev_saprl = c_saprl * EV_MANDT = * EV_SUBRC_SYSTEM_FORMAT = * EV_CLIENT_NOT_FOUND = * EV_AUTH = * EV_USER_NAME = EXCEPTIONS system_failure = 1 MESSAGE l_msgtxt communication_failure = 2 MESSAGE l_msgtxt OTHERS = 3.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_prog dynumb = l_dynp perform_input_conversion = con_x TABLES dynpfields = lt_dynpread.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = l_prog dynumb = l_dynp TABLES dynpfields = lt_dynpread.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_prog dynumb = l_dynp perform_input_conversion = con_x TABLES dynpfields = lt_dynpread.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = l_prog dynumb = l_dynp TABLES dynpfields = lt_dynpread.

FC_RFC_GSBER_INFO_GET CALL FUNCTION 'FC_RFC_GSBER_INFO_GET' DESTINATION i_rfcdest EXPORTING i_flg_txt = con_x TABLES it_sel = lt_sel et_gsber_info = lt_gsber_info EXCEPTIONS system_failure = 1 MESSAGE l_msgtxt communication_failure = 2 MESSAGE l_msgtxt.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_prog dynumb = l_dynp perform_input_conversion = con_x TABLES dynpfields = lt_dynpread.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = l_prog dynumb = l_dynp TABLES dynpfields = lt_dynpread.

RK_KOKRS_FIND CALL FUNCTION 'RK_KOKRS_FIND' EXPORTING bukrs = ls_t001-bukrs IMPORTING kokrs = ls_kokrs-kokrs EXCEPTIONS OTHERS = 1.

GET_PRCTR_BUKRS_FROM_KOKRS CALL FUNCTION 'GET_PRCTR_BUKRS_FROM_KOKRS' EXPORTING ikokrs = ls_kokrs-kokrs idate_from = i_from_date idate_to = i_to_date TABLES et_cepc_bukrs = lt_cepc_bukrs EXCEPTIONS invalid_input = 1.

FC_RFC_PRCTR_INFO_GET CALL FUNCTION 'FC_RFC_PRCTR_INFO_GET' DESTINATION i_rfcdest EXPORTING i_flg_txt = con_x i_fromdate = i_from_date i_todate = i_to_date TABLES it_sel = lt_sel et_prctr_info = lt_prctr_info EXCEPTIONS system_failure = 1 MESSAGE l_msgtxt communication_failure = 2 MESSAGE l_msgtxt.

FC_RFC_RLDNR_FOR_TABLES_GET CALL FUNCTION 'FC_RFC_RLDNR_FOR_TABLES_GET' DESTINATION i_rfcdest EXPORTING i_flg_depld = con_x "space "wms136473 i_flg_txt = con_x TABLES it_sel = lt_sel et_rldnr_info = lt_rldnr_info EXCEPTIONS system_failure = 1 MESSAGE l_msgtxt communication_failure = 2 MESSAGE l_msgtxt.

FC_RFC_BUKRS_INFO_GET CALL FUNCTION 'FC_RFC_BUKRS_INFO_GET' DESTINATION i_rfcdest EXPORTING i_flg_txt = i_flg_txt TABLES it_sel = lt_sel et_bukrs_info = lt_bukrs_info EXCEPTIONS system_failure = 1 MESSAGE l_msgtxt communication_failure = 2 MESSAGE l_msgtxt.

G_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING i_rldnr = i_rldnr i_orgunit = * JOIN_OF_VALUTYP_AND_CURT = 'X' * SEND_ERROR_WHEN_DEPLD = ' ' IMPORTING organizational_info = ls_glx_org_info EXCEPTIONS OTHERS = 1.

FC_RFC_KTOPL_GET CALL FUNCTION 'FC_RFC_KTOPL_GET' DESTINATION i_rfcdest EXPORTING i_bukrs = i_bukrs i_rcomp = i_rcomp i_rldnr = i_rldnr IMPORTING e_ktopl = c_ktopl EXCEPTIONS system_failure = 1 MESSAGE l_msgtxt communication_failure = 2 MESSAGE l_msgtxt OTHERS = 3.

G_TAB_FOR_LEDGER_GET CALL FUNCTION 'G_TAB_FOR_LEDGER_GET' EXPORTING rldnr = i_rldnr IMPORTING sumtabname = c_ttab EXCEPTIONS OTHERS = 1.




DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = l_prog dynumb = l_dynp perform_input_conversion = con_x TABLES dynpfields = lt_dynpread.

G_GET_TABLES CALL FUNCTION 'G_GET_TABLES' EXPORTING i_tt = con_x TABLES e_t800a = lt_t800a EXCEPTIONS OTHERS = 1.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = l_tabname langu = sy-langu IMPORTING dd02v_wa = ls_dd02v EXCEPTIONS OTHERS = 1.

FC_RFC_TABLE_INFO_GET CALL FUNCTION 'FC_RFC_TABLE_INFO_GET' DESTINATION i_rfcdest EXPORTING i_flg_depld = con_x "space "wms136473 i_flg_txt = i_flg_txt TABLES it_sel = lt_sel et_tabinfo = lt_tabinfo EXCEPTIONS system_failure = 1 MESSAGE l_msgtxt communication_failure = 2 MESSAGE l_msgtxt.

G_GET_LEDGER_INFO CALL FUNCTION 'G_GET_LEDGER_INFO' EXPORTING i_rldnr = is_params-rldnr2 IMPORTING e_ledger_info = cs_t881 * TABLES * E_KEYFIG_INFO = EXCEPTIONS no_ledger_info_found = 1 no_keyfig_info_found = 2 OTHERS = 3.

G_CURRENCY_FROM_CT_GET CALL FUNCTION 'G_CURRENCY_FROM_CT_GET' EXPORTING ct = cs_t881-curt2 rldnr = cs_t881-rldnr IMPORTING currency = cs_t881-gcurr EXCEPTIONS OTHERS = 1.

FC_ENCODING_INFO_READ CALL FUNCTION 'FC_ENCODING_INFO_READ' EXPORTING i_flg_streams_read = space i_flg_active_only = space i_flg_rules_read = con_x TABLES i_t_ra_contp = lt_ra_contp i_t_ra_dimen = lt_ra_dimen i_t_ra_itclg = lt_ra_itclg i_t_ra_rvers = lt_ra_rvers * E_T_TFIN000 = e_t_tfin001 = ct_tfin001 * E_T_ACT_CONTP = e_t_ctp = ct_ctp EXCEPTIONS no_rules = 1 no_act_rules = 2.

FC_CG_CU_PROPERTIES CALL FUNCTION 'FC_CG_CU_PROPERTIES' EXPORTING e_dimen = is_params-dimen e_rvers = is_params-rvers2 e_ryear = l_ryear "dummy e_perid = l_perid "dummy e_rldnr = is_params-rldnr2 IMPORTING it_message = lt_message[] CHANGING ct_cu_prop = ct_cu_prop[].

FC_CG_CU_PROPERTIES CALL FUNCTION 'FC_CG_CU_PROPERTIES' EXPORTING e_dimen = is_params-dimen e_rvers = is_params-rvers2 e_ryear = ls_cu_prop-ryear e_perid = l_perid "dummy e_rldnr = is_params-rldnr2 IMPORTING it_message = lt_message1[] CHANGING ct_cu_prop = lt_cu_prop[].

FC_ITEM_PROPERTIES CALL FUNCTION 'FC_ITEM_PROPERTIES' EXPORTING e_itclg = i_itclg e_rvers = l_rvers e_langu = syst-langu IMPORTING it_message = lt_message CHANGING ct_item_prop = ct_item_prop.

FC_ECCS_ORGUNITS_ENCODE CALL FUNCTION 'FC_ECCS_ORGUNITS_ENCODE' EXPORTING i_dimen = is_params-dimen i_csorgun = con_bunit i_contp = is_params-contp * I_CONDENSE = i_flg_cu_cg_iconv = con_x TABLES t_orguns = ct_orguns * I_T_ORGUNTXT = i_t_tfin001 = it_tfin001 EXCEPTIONS OTHERS = 0.

FC_ACCOUNT_TO_ITEM_MAP CALL FUNCTION 'FC_ACCOUNT_TO_ITEM_MAP' EXPORTING i_ktopl = is_params-ktopl i_saknr = i_itclg = is_params-itclg i_flg_chk_exist = space i_flg_tfin200_chk = space IMPORTING e_item = ls_accnt_map-item TABLES i_t_t004in = lt_t004in CHANGING c_a_t004in = ls_t004in EXCEPTIONS OTHERS = 1.

FC_ACCOUNT_TO_ITEM_MAP CALL FUNCTION 'FC_ACCOUNT_TO_ITEM_MAP' EXPORTING i_ktopl = is_params-ktopl i_saknr = ls_accnt_map-racct i_altkt = ls_accnt_map-altkt i_itclg = is_params-itclg i_flg_skamap = con_x "wes026218 i_flg_chk_exist = space i_flg_tfin200_chk = space IMPORTING e_item = ls_accnt_map-item TABLES i_t_t004in = lt_t004in i_t_ska1 = lt_ska1in i_t_tfin201 = it_tfin201 CHANGING c_a_t004in = ls_t004in c_a_ska1 = ls_ska1in c_a_tfin200 = ls_tfin200 "wes026218 c_a_tfin201 = ls_tfin201 EXCEPTIONS OTHERS = 1.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-t05 diagnose_object = 'ECCS_REC00' text_question = space text_button_1 = l_txt1 icon_button_1 = l_icon1 text_button_2 = l_txt2 icon_button_2 = l_icon2 * DEFAULT_BUTTON = '1' display_cancel_button = con_x * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING answer = l_answ TABLES parameter = lt_params.

FC_TOTALS_SELECT CALL FUNCTION 'FC_TOTALS_SELECT' EXPORTING * E_CURSOR = 'N' it_sel = lt_sel it_fields = lt_fields it_kfig = lt_kfig e_perid_cum = l_flg_cumul IMPORTING it_data = lt_ldata.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = l_tabname TABLES dfies_tab = ct_nametab[].

FC_TREE_DISPLAY CALL FUNCTION 'FC_TREE_DISPLAY' EXPORTING e_title = sy-title e_tab_struct = con_struc_ldata e_hlp_struct = con_struc_fdata * E_PROT = 'X' et_data = it_ldata et_list = ct_list et_fdisp = ct_fdisp et_kdisp = ct_kdisp * ET_KCORR = et_blist = ct_blist et_mdata = it_mdata * ET_RCALL = * E_CALLBACK_USER_COMMAND = * E_CALLBACK_RECURSE = ' ' * E_CALLBACK_STATUS = CHANGING * C_MCDXSAVE = ct_work = ct_ldata_work ct_ffix = ct_ffix ct_fused = ct_fused.

FC_RFC_STRUC_FIELDINFO_GET CALL FUNCTION 'FC_RFC_STRUC_FIELDINFO_GET' DESTINATION s_rfcdest EXPORTING i_tabname = s_ttab i_flg_char = con_x i_flg_keyf = space i_flg_txt = con_x TABLES et_fieldinfo = lt_fieldinfo EXCEPTIONS system_failure = 1 MESSAGE l_msgtxt communication_failure = 2 MESSAGE l_msgtxt not_found = 3 OTHERS = 4.

FC_RFC_STRUC_FIELDINFO_GET CALL FUNCTION 'FC_RFC_STRUC_FIELDINFO_GET' EXPORTING i_tabname = s_ttab i_flg_char = con_x i_flg_keyf = space i_flg_txt = con_x TABLES et_fieldinfo = lt_fieldinfo EXCEPTIONS not_found = 1 OTHERS = 2.

FC_FIELD_PROPERTIES CALL FUNCTION 'FC_FIELD_PROPERTIES' IMPORTING it_fprop = lt_fprop.

FC_BRKDOWN_CHECK CALL FUNCTION 'FC_BRKDOWN_CHECK' EXPORTING e_rldnr = is_params-rldnr2 e_itclg = is_params-itclg e_dimen = is_params-dimen e_rvers = is_params-rvers2 * E_RYEAR = * E_PERID = e_rlevl = space * E_DOCTY = * E_LANGU = SY-LANGU e_exist_subaccnt = con_x e_exist_totals = space * E_DATA_ENTRY = 'X' e_no_info = con_x e_no_warning = con_x et_fieldname_map = st_map IMPORTING it_message = lt_mesg CHANGING ct_data = lt_ldata_check.



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 FICREC0F or its description.