SAP Reports / Programs

FAGL_ACCOUNT_ITEMS_GL SAP ABAP Report - G/L Account Line Item Display







FAGL_ACCOUNT_ITEMS_GL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report displays a list of the line items of the G/L accounts...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FAGLL03 - G/L Account Line Items (New)


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 FAGL_ACCOUNT_ITEMS_GL. "Basic submit
SUBMIT FAGL_ACCOUNT_ITEMS_GL AND RETURN. "Return to original report after report execution complete
SUBMIT FAGL_ACCOUNT_ITEMS_GL 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_NMAX = Maximum Number of Items
Selection Text: PA_STID2 = Open at Key Date
Selection Text: PA_STIDA = Open at Key Date
Selection Text: PA_VARI = Layout
Selection Text: PA_WLBUK = Company Code Worklist
Selection Text: PA_WLSAK = G/L Account Worklist
Selection Text: RLDNR = Ledger
Selection Text: SO_AUGDT = Clearing Date
Selection Text: SO_BUDAT = Posting Date
Selection Text: SO_WLBUK = Or Values
Selection Text: SO_WLSAK = Or Values
Selection Text: X_AISEL = All Items
Selection Text: X_CLSEL = Cleared Items
Selection Text: X_GLYEC = Select Carryfwd Postings
Selection Text: X_MERK = Noted Items
Selection Text: X_NORM = Normal Items
Selection Text: X_OPSEL = Open Items
Selection Text: X_PARK = Parked Items
Title: G/L Account Line Item Display
Text Symbol: W04 = Deactivate Worklist
Text Symbol: W03 = Company Code
Text Symbol: W02 = G/L Account
Text Symbol: 001 = List Output
Text Symbol: 002 = Status
Text Symbol: 003 = Open Items
Text Symbol: 004 = Cleared Items
Text Symbol: 005 = All Items
Text Symbol: 006 = Type
Text Symbol: 007 = Line Item Selection
Text Symbol: 008 = Items. Selection continuing.....
Text Symbol: 009 = List being generated.....
Text Symbol: 101 = Normal Items
Text Symbol: 102 = Entry View
Text Symbol: 270 = Custom Selections
Text Symbol: 271 = Active
Text Symbol: 272 = Choose Ledger
Text Symbol: 273 = Continue
Text Symbol: 274 = Save as User Parameters





Text Symbol: 275 = Set Ledger
Text Symbol: 276 = Free Selection
Text Symbol: 277 = G/L View
Text Symbol: 278 = Entry View
Text Symbol: 300 = AcctType
Text Symbol: W01 = Activate Worklist


INCLUDES used within this REPORT FAGL_ACCOUNT_ITEMS_GL

INCLUDE FAGL_ACCOUNT_ITEMS_DEF.
INCLUDE FIN_UI_DECO_INCLUDE.
INCLUDE RFITEM_SEL.


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_CHECK_GLFLEX_ACTIVE CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIVE' IMPORTING e_glflex_active = gb_flex.

FAGL_BUKRS_ACTIVE_IN_CLIENT CALL FUNCTION 'FAGL_BUKRS_ACTIVE_IN_CLIENT' IMPORTING e_glflex_active = gb_flex.

FAGL_CHECK_GLFLEX_ACTIVE CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIVE' EXPORTING id_bukrs = ls_t001-bukrs IMPORTING e_glflex_active = gb_flex.

FAGL_MGPLN_IN_CLIENT CALL FUNCTION 'FAGL_MGPLN_IN_CLIENT' IMPORTING e_migpln_exist = gb_xmig.

FAGL_GET_ACTIVE_MGPLN CALL FUNCTION 'FAGL_GET_ACTIVE_MGPLN' EXPORTING i_bukrs = ls_t001-bukrs i_rldnr = gv_relevant_ledger IMPORTING * ET_FAGL_MIG_002 = et_fagl_mig_001 = gt_fagl_mig_001 * EF_ACTIVE_MGPLN = EXCEPTIONS invalid_input = 1 no_data_found = 2 invalid_customizing = 3 OTHERS = 4.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_budat = gs_mig_date_2 "1303526 i_bukrs = ls_t001-bukrs i_rldnr = gv_relevant_ledger x_xmo16 = ld_xmo16 "1460960 IMPORTING e_gjahr = l_gjahr e_poper = l_poper.

BUKRS_AUTHORITY_CHECK CALL FUNCTION 'BUKRS_AUTHORITY_CHECK' EXPORTING xdatabase = 'S' TABLES xbukreis = sd_bukrs.

BUKRS_AUTHORITY_CHECK CALL FUNCTION 'BUKRS_AUTHORITY_CHECK' EXPORTING xdatabase = 'B' TABLES xbukreis = sd_bukrs.

FAGL_CHECK_IF_LEDGER_IS_GLFLEX CALL FUNCTION 'FAGL_CHECK_IF_LEDGER_IS_GLFLEX' EXPORTING i_rldnr = gv_relevant_ledger EXCEPTIONS * NOT_FOUND = 1 no_glflex_ledger = 2 * GLFLEX_ROLLUP_LEDGER = 3 * WRONG_APPLICATION = 4 * GLFLEX_DEPENDENT_LEDGER = 5 * OTHERS = 6 .

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-009.

FAGL_ITEMS_DISPLAY CALL FUNCTION 'FAGL_ITEMS_DISPLAY' EXPORTING caller_repid = c_repid_gl i_rldnr = gv_relevant_ledger acctype = c_koart_gl x_opvw = x_gl_opvw x_change = x_change i_u_save = gd_alvsave is_u_variant = gs_variant it_u_fieldcat = gt_fieldcat[] it_kontab = it_accts[] it_slbtab = it_comps[] it_t001 = it_h_t001[] it_skat = it_h_skat[] it_skb1 = it_h_skb1[] x_grid = x_grid x_inet = pa_inet i_log_handle = gs_log_handle i_ucomm = gv_ucomm TABLES it_items = it_pos.

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.

IDCN_GLACC_TEXT_GET CALL FUNCTION 'IDCN_GLACC_TEXT_GET' EXPORTING kontenplan = it_h_t001-ktopl sachkonto = skb1-saknr dfrom = lv_key_date IMPORTING txt50 = lv_skat_txt50 EXCEPTIONS not_maintained = 1 OTHERS = 2.






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 .

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_FAGLBSIS CALL FUNCTION 'FAGL_GET_ITEMS_FAGLBSIS' 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_FAGLBSAS CALL FUNCTION 'FAGL_GET_ITEMS_FAGLBSAS' 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_FAGLBSAS CALL FUNCTION 'FAGL_GET_ARCH_ITEMS_FAGLBSAS' 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_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_read_bseg = ld_read_bseg "1107639 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 "1107639 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_FAGLBSAS CALL FUNCTION 'FAGL_GET_ITEMS_FAGLBSAS' 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_FAGLBSAS CALL FUNCTION 'FAGL_GET_ARCH_ITEMS_FAGLBSAS' 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.

G_SET_GET_ALL_VALUES CALL FUNCTION 'G_SET_GET_ALL_VALUES' EXPORTING setnr = setnr TABLES set_values = lt_set_sel.

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.

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.

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