RFHABU10 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program determines, on the basis of the FI document database, the total balance of line items for 'corresponding 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 RFHABU10 into the relevant SAP transactions such as SE38 or SE80
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: ALT_KONT = Alternative account number
Selection Text: ALT_LNG = Alternative acct no. length
Selection Text: BELEGE = Issue all documents
Selection Text: BELEGNR = Document number
Selection Text: BUDAT = Posting date
Selection Text: BUKRS = Company code
Selection Text: BUPEJ = Fiscal year
Selection Text: GSBER = Business area
Selection Text: ITEMS = Display offsetting acct items
Selection Text: KONTO = Account
Selection Text: MONAT = Fiscal month
Selection Text: OPT_UMS = Optimize G/L account sales
Selection Text: SD_CURTP = Currency type
Selection Text: SUM_ST = Summation level
Selection Text: X_HABEN = I. Total credit items
Selection Text: X_SOLL = II. Total debit items
Title: General Ledger Corresponding Accounts (Russia)
Text Symbol: 057 = No text exists.
Text Symbol: 058 = No postings to G/L accounts
Text Symbol: 059 = Vendor :
Text Symbol: 060 = Customer:
Text Symbol: 061 = Only one fiscal year possible.
Text Symbol: 062 = Doc.no.
Text Symbol: 063 = Amount in LC
Text Symbol: 064 = Amount in doc.curr.
Text Symbol: 065 = TTy
Text Symbol: 066 = Pstng Date
Text Symbol: 067 = Ref.number
Text Symbol: 068 = Text
Text Symbol: 070 = Offsett. acct could not be determin. in doc.
Text Symbol: 071 = Offsetting accounts could not be determined
Text Symbol: 072 = No documents exist.
Text Symbol: 080 = Ledger selection
Text Symbol: 081 = Currency type has several ledgers
Text Symbol: 082 = Please choose a ledger
Text Symbol: 083 = Ledger:
Text Symbol: 084 = Application log
Text Symbol: 054 = No authorization for business area
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FAGL_CHECK_GLFLEX_ACTIVE CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIVE' IMPORTING e_glflex_active = gd_glflex_active EXCEPTIONS error_in_setup = 1 OTHERS = 2.
FAGL_GET_LEADING_LEDGER CALL FUNCTION 'FAGL_GET_LEADING_LEDGER' IMPORTING E_RLDNR = gd_default_ledger.
FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' "021 EXPORTING "021 i_bukrs = kbtab-bukrs "021 IMPORTING "021 e_x001 = x001. "021
G_GIVE_LEDGERS_FOR_GLT0 CALL FUNCTION 'G_GIVE_LEDGERS_FOR_GLT0' "021 EXPORTING "021 bukrs = kbtab-bukrs "021 curtp = sd_curtp "021 TABLES "021 ledtab = ledtab. "021
FI_F4_CURTP CALL FUNCTION 'FI_F4_CURTP' "021 EXPORTING "021 i_xct10 = 'X' "021 IMPORTING "021 e_curtp = sd_curtp. "021
FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' "014 EXPORTING i_budat = budat-low "014 i_periv = t001-periv "014 IMPORTING e_gjahr = bupej "014 e_monat = monat-low. "014
FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' "014 EXPORTING i_budat = budat-high "014 i_periv = t001-periv "014 i_monat = g_last_monat IMPORTING e_gjahr = bupej_high "014 e_monat = monat-high. "014
FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_budat = budat-low i_periv = t001-periv i_monat = g_last_monat IMPORTING e_monat = monat-high.
FAGL_GET_GLT0 CALL FUNCTION 'FAGL_GET_GLT0' EXPORTING i_glt0_rldnr = ld_ledger i_rrcty = '0' i_rvers = '001' i_ryear = bupej i_range_bukrs = lt_bukrs i_range_rbusa = lt_gsber IMPORTING et_glt0 = it_glt0.
READ_HAUPTBUCH_TEXT CALL FUNCTION 'READ_HAUPTBUCH_TEXT' EXPORTING kontenplan = kontenplan sachkonto = skat-saknr sprache = sprache IMPORTING text_wa = skat EXCEPTIONS text_not_found = 4.
G_DISPLAY_SELECTION_DYNPRO CALL FUNCTION 'G_DISPLAY_SELECTION_DYNPRO' EXPORTING dynp_title = title sel_title1 = title1 sel_title2 = title2 start_column = 05 start_row = 08 without_selection = ' ' IMPORTING sel_index = sy-tabix TABLES sel_table = f4tab EXCEPTIONS no_lines = 4 no_line_picked = 8.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = xs_log IMPORTING e_log_handle = xs_log_handle EXCEPTIONS OTHERS = 1.
BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = xs_log_handle i_msgty = lc_msgtype i_probclass = lc_probclass i_text = gt_msgtab-message EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.
BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING e_s_display_profile = xs_display_profile EXCEPTIONS OTHERS = 1.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = xs_display_profile EXCEPTIONS OTHERS = 1.
BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING i_s_list_append = gc_x i_s_display_profile = xs_display_profile EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.
REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING e_width = lv_linsz.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat it_sort = lt_sort it_events = lt_events i_tabname_header = lc_hdr_tabname i_tabname_item = lc_itm_tabname is_keyinfo = ls_keyinfo is_print = ls_print TABLES t_outtab_header = gt_hdr_indiv_docs t_outtab_item = gt_itm_indiv_docs EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_list1_structname CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_list1_structname CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_list2_structname CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_list2_structname CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_list4_structname CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_list4_structname CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_popup_list_structname CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = lt_event.
REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING e_width = lv_linsz.
K_KKB_LIST_LAYOUT_INFO_GET CALL FUNCTION 'K_KKB_LIST_LAYOUT_INFO_GET' IMPORTING et_fieldcat = lt_fieldcat.
K_KKB_LIST_LAYOUT_INFO_SET CALL FUNCTION 'K_KKB_LIST_LAYOUT_INFO_SET' EXPORTING it_fieldcat = lt_fieldcat.
K_KKB_LIST_LAYOUT_INFO_GET CALL FUNCTION 'K_KKB_LIST_LAYOUT_INFO_GET' IMPORTING et_fieldcat = lt_fieldcat.
K_KKB_LIST_LAYOUT_INFO_SET CALL FUNCTION 'K_KKB_LIST_LAYOUT_INFO_SET' EXPORTING it_fieldcat = lt_fieldcat.
K_KKB_LIST_LAYOUT_INFO_GET CALL FUNCTION 'K_KKB_LIST_LAYOUT_INFO_GET' IMPORTING et_fieldcat = lt_fieldcat.
K_KKB_LIST_LAYOUT_INFO_SET CALL FUNCTION 'K_KKB_LIST_LAYOUT_INFO_SET' EXPORTING it_fieldcat = lt_fieldcat.
REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING e_width = lv_linsz.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat it_sort = lt_sort it_events = lt_events i_tabname_header = lv_hdr_tabname i_tabname_item = lv_itm_tabname is_keyinfo = ls_keyinfo is_print = ls_print TABLES t_outtab_header = gt_hdr_total_cr t_outtab_item = gt_itm_total_cr EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat it_sort = lt_sort it_events = lt_events i_tabname_header = lv_hdr_tabname i_tabname_item = lv_itm_tabname is_keyinfo = ls_keyinfo is_print = ls_print TABLES t_outtab_header = gt_hdr_total_dr t_outtab_item = gt_itm_total_dr EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat it_sort = lt_sort it_events = lt_events i_tabname_header = lc_hdr_tabname i_tabname_item = lc_itm_tabname is_keyinfo = ls_keyinfo is_print = ls_print TABLES t_outtab_header = gt_hdr_acct_bal t_outtab_item = gt_itm_acct_bal EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat it_events = lt_events is_print = ls_print i_screen_start_column = 1 i_screen_start_line = 1 i_screen_end_column = 120 i_screen_end_line = 15 TABLES t_outtab = gt_popup_list EXCEPTIONS program_error = 1 OTHERS = 2.
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 RFHABU10 or its description.
RFHABU10 - General Ledger Corresponding Accounts (Russia) RFHABU10 - General Ledger Corresponding Accounts (Russia) RFHABU00N - General Ledger from the Document File RFHABU00N - General Ledger from the Document File RFHABU00 - General Ledger from the Document File RFHABU00 - General Ledger from the Document File