SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

RFITEMGL_NO6 SAP ABAP INCLUDE - Include RFITEMGL_NO6







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


Text pool values


Title: Include RFITEMGL_NO6


INCLUDES used within this REPORT RFITEMGL_NO6

FORM INCLUDE_PL_ACCOUNTS.
INCLUDE RFITEM_INC_GLNO.


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:

FAGL_ITEM_DERIVE_FIELDS call function 'FAGL_ITEM_DERIVE_FIELDS' exporting s_t001 = it_h_t001 s_bsegp = wa_bsegp key_date = p_keydate * xopvw = bsis-xopvw xopvw = wa_sel-xopvw changing s_item = wa_pos exceptions bad_input = 1 others = 2.

FI_CURRENCY_INFORMATION call function 'FI_CURRENCY_INFORMATION' exporting i_bukrs = ip_bukrs importing e_x001 = wa_x001 exceptions currency_2_not_defined = 1 currency_3_not_defined = 2 others = 3.

FAGL_ITEMS_LDB_SELECTIONS * CALL FUNCTION 'FAGL_ITEMS_LDB_SELECTIONS' * EXPORTING * RADIO_OPEN = x_opsel * RADIO_CLEARED = x_clsel * RADIO_ALL = x_aisel * STIDA = ld_stida ** IMPORTING ** OPOPT = ** APOPT = ** STIDA_RET = * TABLES * AUGDT_IN = so_augdt * BUDAT_IN = so_budat * AUGDT_RET = lt_AUGDT_RET * BUDAT_RET = lt_BUDAT_RET * EXCEPTIONS * RADIO_ERROR = 1 * OTHERS = 2 .

LDB_PROCESS * call function 'LDB_PROCESS' * EXPORTING * ldbname = 'SDF' * expressions = it_dyn_texpr[] * TABLES * callback = it_callback * selections = it_selscreen * EXCEPTIONS * ldb_selections_error = 1 * ldb_selections_not_accepted = 2 * free_selections_error = 3 * callback_no_event = 4 * callback_no_program = 5 * callback_no_cbform = 6 * others = 7.

RS_REFRESH_FROM_DYNAMICAL_SEL * call function 'RS_REFRESH_FROM_DYNAMICAL_SEL' * EXPORTING * curr_report = g_repid * mode_write_or_move = 'M' * IMPORTING * p_trange = rt_dyn_trange * EXCEPTIONS * not_found = 1 * wrong_type = 2 * others = 3.

FREE_SELECTIONS_RANGE_2_EX * call function 'FREE_SELECTIONS_RANGE_2_EX' * EXPORTING * field_ranges = rt_dyn_trange * IMPORTING * expressions = it_dyn_texpr[].

POPUP_GET_VALUES_USER_BUTTONS call function 'POPUP_GET_VALUES_USER_BUTTONS' exporting * F1_FORMNAME = ' ' * F1_PROGRAMNAME = ' ' f4_formname = 'F4_LEDGER' f4_programname = 'FAGL_ACCOUNT_BALANCE' formname = 'CHECK_OK_CODES' programname = 'FAGL_ACCOUNT_BALANCE' popup_title = 'Ledger setzen'(275) ok_pushbuttontext = '' icon_ok_push = ic_icon_okay quickinfo_ok_push = text-273 first_pushbutton = ' ' icon_button_1 = ic_icon_save quickinfo_button_1 = text-274 * SECOND_PUSHBUTTON = ' ' * ICON_BUTTON_2 = * QUICKINFO_BUTTON_2 = ' ' start_column = '25' start_row = '7' * NO_CHECK_FOR_FIXED_VALUES = ' ' * IMPORTING * RETURNCODE = tables fields = it_chosen_values exceptions error_in_fields = 1 others = 2.

G_GET_USER_PARAMETER * CALL FUNCTION 'G_GET_USER_PARAMETER' * EXPORTING * parameter_id = 'GLN_FLEX' * IMPORTING * parameter_value = lv_ledger_user_format * rc = lv_return_code.

GL_USER_DATA_GET call function 'GL_USER_DATA_GET' exporting owner = gc_owner name = gc_parameter_id importing value = cc_relevant_ledger exceptions invalid_owner = 1 name_not_found = 2.

FAGL_GET_LEADING_LEDGER call function 'FAGL_GET_LEADING_LEDGER' importing e_rldnr = cc_relevant_ledger exceptions not_found = 1.

FREE_SELECTIONS_INIT call function 'FREE_SELECTIONS_INIT' exporting * kind = 'G' kind = 'T' * kind = 'F' * Alte Abgrenzungen erscheinen wieder expressions = fs_dyns-texpr * FIELD_GROUPS_KEY = ds_groups_key * RESTRICTION = * ALV = * CURR_QUAN_PROG = SY-CPROG * CURR_QUAN_RELATION = importing selection_id = selection_id where_clauses = fs_dyns-clauses expressions = fs_dyns-texpr field_ranges = fs_dyns-trange number_of_active_fields = fs_num tables tables_tab = tables_tab fields_tab = fields * FIELD_DESC = * FIELD_TEXTS = * EVENTS = * EVENT_FIELDS = fields_not_selected = fields_not exceptions fields_incomplete = 1 fields_no_join = 2 field_not_found = 3 no_tables = 4 table_not_found = 5 expression_not_supported = 6 incorrect_expression = 7 illegal_kind = 8 area_not_found = 9 inconsistent_area = 10 kind_f_no_fields_left = 11 kind_f_no_fields = 12 too_many_fields = 13 dup_field = 14 field_no_type = 15 field_ill_type = 16 dup_event_field = 17 node_not_in_ldb = 18 area_no_field = 19 others = 20 .

FREE_SELECTIONS_DIALOG call function 'FREE_SELECTIONS_DIALOG' exporting selection_id = selection_id title = 'Freie Selektion '(276) * FRAME_TEXT = ' ' * STATUS = * AS_WINDOW = ' ' * START_ROW = 2 * START_COL = 2 * NO_INTERVALS = ' ' * JUST_DISPLAY = ' ' * PFKEY = * ALV = ' ' tree_visible = ' ' * DIAG_TEXT_1 = * DIAG_TEXT_2 = * WARNING_TITLE = importing where_clauses = fs_dyns-clauses expressions = fs_dyns-texpr field_ranges = fs_dyns-trange number_of_active_fields = fs_num tables fields_tab = fields * FCODE_TAB = fields_not_selected = fields_not exceptions internal_error = 1 * no_action = selid_not_found = 2 illegal_status = 3 others = 0.

FAGL_GET_TABLENAMES call function 'FAGL_GET_TABLENAMES' exporting i_ledger = p_rldnr importing es_tabnames = ls_tablenames.

BF_FUNCTIONS_FIND * call function 'BF_FUNCTIONS_FIND' * EXPORTING * i_event = '00001650' * TABLES * t_fmrfc = lt_fmrfc * EXCEPTIONS * nothing_found = 1 * others = 2.

DDIF_NAMETAB_GET * call function 'DDIF_NAMETAB_GET' * exporting * tabname = 'RFPOSX' * tables ** X031L_TAB = * dfies_tab = lt_dfies_rfposx * exceptions * not_found = 1 * others = 2 * .

DDIF_NAMETAB_GET * call function 'DDIF_NAMETAB_GET' * exporting * tabname = ld_name_bsix * tables ** X031L_TAB = * dfies_tab = lt_dfies_bsix * exceptions * not_found = 1 * others = 2 * .

REUSE_ALV_FIELDCATALOG_MERGE * call function 'REUSE_ALV_FIELDCATALOG_MERGE' * EXPORTING * i_buffer_active = 'X' * i_program_name = g_repid * i_structure_name = 'FAGLPOSX' * CHANGING * ct_fieldcat = it_max_fieldcat * EXCEPTIONS * inconsistent_interface = 1 * program_error = 2 * others = 3.

REUSE_ALV_VARIANT_SELECT * call function 'REUSE_ALV_VARIANT_SELECT' * EXPORTING * i_dialog = ' ' * i_user_specific = 'X' * it_default_fieldcat = it_max_fieldcat * i_layout = dummy_layout * i_buffer_active = 'X' * IMPORTING * e_exit = ld_exit * et_fieldcat = rt_var_fieldcat[] * CHANGING * cs_variant = ls_variant * EXCEPTIONS * wrong_input = 1 * fc_not_complete = 2 * not_found = 3 * program_error = 4 * others = 5.

REUSE_ALV_LIST_LAYOUT_INFO_GET





* call function 'REUSE_ALV_LIST_LAYOUT_INFO_GET' * IMPORTING * et_fieldcat = rt_fieldcat * EXCEPTIONS * no_infos = 1 * program_error = 2 * others = 3.

REUSE_ALV_GRID_LAYOUT_INFO_GET * call function 'REUSE_ALV_GRID_LAYOUT_INFO_GET' * IMPORTING * et_fieldcat = rt_fieldcat * EXCEPTIONS * no_infos = 1 * program_error = 2 * others = 3.

REUSE_ALV_LIST_LAYOUT_INFO_GET * call function 'REUSE_ALV_LIST_LAYOUT_INFO_GET' * IMPORTING * es_variant = ls_variant * EXCEPTIONS * no_infos = 1 * program_error = 2 * others = 3.

REUSE_ALV_GRID_LAYOUT_INFO_GET * call function 'REUSE_ALV_GRID_LAYOUT_INFO_GET' * IMPORTING * es_variant = ls_variant * EXCEPTIONS * no_infos = 1 * program_error = 2 * others = 3.

RS_SUBMIT_INFO * call function 'RS_SUBMIT_INFO' * importing * p_submit_info = ls_rssubinfo * exceptions * others = 1.

RS_SET_SELSCREEN_STATUS * call function 'RS_SET_SELSCREEN_STATUS' * EXPORTING * p_status = sy-pfkey * TABLES * p_exclude = lt_exclude.

FI_ACCT_DET_CLEARING call function 'FI_ACCT_DET_CLEARING' exporting id_company_code = lt_bukrs importing es_acc_debit = ls_acc_debit es_acc_credit = ls_acc_credit.

FAGL_GET_LEADING_LEDGER call function 'FAGL_GET_LEADING_LEDGER' importing e_rldnr = cc_leading_ledger exceptions not_found = 1.

FAGL_GET_REPORTING_FIELDS call function 'FAGL_GET_REPORTING_FIELDS' exporting i_rldnr = gv_relevant_ledger importing et_fields = gt_reporting_fields et_dfies = gt_dfies_reporting_fields.

FREE_SELECTIONS_RANGE_2_EX call function 'FREE_SELECTIONS_RANGE_2_EX' exporting field_ranges = fs_dyns-trange importing expressions = fs_dyns-texpr.

FREE_SELECTIONS_RANGE_2_WHERE call function 'FREE_SELECTIONS_RANGE_2_WHERE' exporting field_ranges = fs_dyns-trange importing where_clauses = fs_dyns-clauses.

FAGL_GET_ITEMS_BSIS call function 'FAGL_GET_ITEMS_BSIS' exporting i_selection = gt_selection_full * I_FIELDLIST = i_blocksize = gd_max_pack_lines "987950 i_block_data = gusl_c_true "987950 * I_AGGREGATION = GUSL_C_FALSE i_read_bseg = ld_read_bseg i_max_lines = gd_max_lines importing "987950 flag_cursor_open = gd_cursor_open "987950 changing c_t_faglpose = it_sel.

FAGL_GET_ITEMS_BSAS call function 'FAGL_GET_ITEMS_BSAS' exporting i_selection = gt_selection_full * I_FIELDLIST = i_blocksize = gd_max_pack_lines "987950 i_block_data = gusl_c_true "987950 * I_AGGREGATION = GUSL_C_FALSE i_read_bseg = ld_read_bseg i_max_lines = gd_max_lines importing "987950 flag_cursor_open = gd_cursor_open "987950 changing c_t_faglpose = it_sel.

FAGL_GET_ARCH_ITEMS_BSIS call function 'FAGL_GET_ARCH_ITEMS_BSIS' exporting i_selection = gt_selection_full * I_FIELDLIST = * I_BLOCKSIZE = * I_BLOCK_DATA = GUSL_C_FALSE * I_AGGREGATION = GUSL_C_FALSE i_read_bseg = ld_read_bseg i_arch_sel = lt_files i_max_lines = gd_max_lines * IMPORTING * FLAG_CURSOR_OPEN = changing c_t_faglpose = it_sel c_t_bkpf = ybkpf c_t_bseg = ybseg .

FAGL_GET_ITEMS_BSEG call function 'FAGL_GET_ITEMS_BSEG' exporting i_selection = gt_selection_full * I_FIELDLIST = i_blocksize = gd_max_pack_lines "987950 i_block_data = gusl_c_true "987950 * I_AGGREGATION = GUSL_C_FALSE i_max_lines = gd_max_lines importing "987950 flag_cursor_open = gd_cursor_open "987950 changing c_t_faglpose = it_sel .

FAGL_GET_ARCH_ITEMS_BSEG call function 'FAGL_GET_ARCH_ITEMS_BSEG' exporting i_selection = gt_selection_full * I_FIELDLIST = * I_BLOCKSIZE = * I_BLOCK_DATA = GUSL_C_FALSE * I_AGGREGATION = GUSL_C_FALSE i_arch_sel = lt_files i_max_lines = gd_max_lines * IMPORTING * FLAG_CURSOR_OPEN = changing c_t_faglpose = it_sel c_t_bkpf = ybkpf c_t_bseg = ybseg .

FAGL_GET_ITEMS_VBSEGS call function 'FAGL_GET_ITEMS_VBSEGS' exporting i_selection = gt_selection_full * I_FIELDLIST = * I_BLOCKSIZE = * I_BLOCK_DATA = GUSL_C_FALSE * I_AGGREGATION = GUSL_C_FALSE i_max_lines = gd_max_lines * IMPORTING * FLAG_CURSOR_OPEN = changing c_t_faglpose = it_sel .

FAGL_GET_ITEMS_BSAS call function 'FAGL_GET_ITEMS_BSAS' exporting i_selection = gt_selection_full * I_FIELDLIST = i_blocksize = gd_max_pack_lines "987950 i_block_data = gusl_c_true "987950 * I_AGGREGATION = GUSL_C_FALSE i_max_lines = gd_max_lines importing "987950 flag_cursor_open = gd_cursor_open "987950 changing c_t_faglpose = it_sel.

FAGL_GET_ARCH_ITEMS_BSIS call function 'FAGL_GET_ARCH_ITEMS_BSIS' exporting i_selection = gt_selection_full * I_FIELDLIST = * I_BLOCKSIZE = * I_BLOCK_DATA = GUSL_C_FALSE * I_AGGREGATION = GUSL_C_FALSE i_arch_sel = lt_files i_max_lines = gd_max_lines * IMPORTING * FLAG_CURSOR_OPEN = changing c_t_faglpose = it_sel c_t_bkpf = ybkpf c_t_bseg = ybseg .

FAGL_AUTHORITY_LEDGER call function 'FAGL_AUTHORITY_LEDGER' exporting i_bukrs = lt_bukrs i_rldnr = gv_relevant_ledger i_actvt = '03'.




RSTI_APPL_STACK_POP call function 'RSTI_APPL_STACK_POP' importing i_rec = a_rec exceptions appl_stack_not_initialized = 1.

RSTI_SELECTION_IMPORT call function 'RSTI_SELECTION_IMPORT' tables it_sel = lt_sel it_fields = lt_fields exceptions no_selection_data = 1 others = 2.

RSTI_APPL_STACK_INITIALIZE call function 'RSTI_APPL_STACK_INITIALIZE' exporting e_tool = a_rec-rtool e_onam = a_rec-ronam.

RGRE_ERGSL_TO_RACCT_CONVERT call function 'RGRE_ERGSL_TO_RACCT_CONVERT' exporting i_bs_version = ld_versn i_bs_item = ld_ergsl tables t_accounts = lt_accounts exceptions bs_version_not_exist = 1 others = 2.

DDIF_NAMETAB_GET call function 'DDIF_NAMETAB_GET' exporting tabname = ld_tabname tables x031l_tab = lt_x031l_1 * DFIES_TAB = exceptions not_found = 1 others = 2.

DDIF_NAMETAB_GET call function 'DDIF_NAMETAB_GET' exporting tabname = 'BSIS_FS' tables x031l_tab = lt_x031l_2 * DFIES_TAB = exceptions not_found = 1 others = 2.

RSTI_REPORT_FIELDS_FIND call function 'RSTI_REPORT_FIELDS_FIND' exporting e_repid = 'FAGL_ACCOUNT_ITEMS_GL' e_type = 'R' tables it_fields = lt_fieldr.

RSTI_SELECTION_TRANSFORMATION * CALL FUNCTION 'RSTI_SELECTION_TRANSFORMATION' * TABLES * it_fieldr = lt_fieldr * it_selr = lt_selr.

FREE_SELECTIONS_RANGE_2_EX call function 'FREE_SELECTIONS_RANGE_2_EX' exporting field_ranges = fs_dyns-trange importing expressions = fs_dyns-texpr.

FREE_SELECTIONS_RANGE_2_WHERE call function 'FREE_SELECTIONS_RANGE_2_WHERE' exporting field_ranges = fs_dyns-trange importing where_clauses = fs_dyns-clauses.

RSTI_APPL_STACK_INITIALIZE call function 'RSTI_APPL_STACK_INITIALIZE' exporting e_tool = a_rec-rtool e_onam = a_rec-ronam.

FAGL_GET_TABLENAMES call function 'FAGL_GET_TABLENAMES' exporting i_ledger = gv_relevant_ledger importing es_tabnames = ls_tablenames.



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