SAP Reports / Programs

RFAUDI40 SAP ABAP Report - G/L Account Balances in Local Currency Based on Classification Char.







RFAUDI40 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for classification characteristic The account balance list displays the following local currency values per account and fiscal year: - Balance carryforward at the beginning of the fiscal year - Debit totals for fiscal year (period balance 01-16) - Credit totals for fiscal year (period balance 01-16) - Credit or debit balance at end of fiscal year At the end of the list, the following is displayed per local currency: - Totals per company code - End total for all company codes The sorting of the accounts is based on the classification characteristic...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 RFAUDI40 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 RFAUDI40. "Basic submit
SUBMIT RFAUDI40 AND RETURN. "Return to original report after report execution complete
SUBMIT RFAUDI40 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: TITLE = D Additional Heading
Selection Text: SALDO0 = D Print accounts not posted to
Selection Text: P_VARI = D Layout
Selection Text: KKSALDO = D Account Balance
Title: G/L Account Balances in Local Currency Based on Classification Char.
Text Symbol: TVP = Carryforward Periods
Text Symbol: TBP = Reporting Periods
Text Symbol: 17S = Cred. Bals
Text Symbol: 17M = Credit Balances
Text Symbol: 17L = Credit Balances
Text Symbol: 16S = Deb. Bals
Text Symbol: 16M = Debit Balances
Text Symbol: 16L = Debit Balances
Text Symbol: 15S = RP Credit
Text Symbol: 15M = Report. Period Cred.
Text Symbol: 15L = Reporting Periods Credit Total
Text Symbol: 14S = RP Debit
Text Symbol: 14M = Report. Period Debit
Text Symbol: 14L = Reporting Periods Debit Total
Text Symbol: 13S = Carryforw.
Text Symbol: 13M = Balance Carryforward
Text Symbol: 13L = Balance Carryforward


INCLUDES used within this REPORT RFAUDI40

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:

BUILD_DEFAULT_YEAR CALL FUNCTION 'BUILD_DEFAULT_YEAR' TABLES xgjahr = sd_gjahr.

BUILD_DEFAULT_PERIOD CALL FUNCTION 'BUILD_DEFAULT_PERIOD' TABLES xmonat = b_monate.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = gc_save CHANGING cs_variant = gs_variant EXCEPTIONS not_found = 2.

BUILD_DEFAULT_YEAR CALL FUNCTION 'BUILD_DEFAULT_YEAR' TABLES xgjahr = sd_gjahr.

BUILD_DEFAULT_PERIOD CALL FUNCTION 'BUILD_DEFAULT_PERIOD' TABLES xmonat = b_monate.

FI_MESSAGE_INIT CALL FUNCTION 'FI_MESSAGE_INIT'.

READ_SACHKONTO_ALTKT CALL FUNCTION 'READ_SACHKONTO_ALTKT' EXPORTING bukrs = skb1-bukrs saknr = ska1-saknr xmass = 'X' xskan = 'X' xtext = 'X' IMPORTING altkt = t-saknr altkt_not_found = xfeld altkt_sakan = t-sakan ltext = t-skbez text_not_found = xfeld2.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = msgtab.

FI_MESSAGE_COLLECT CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = msgtab.

FI_MESSAGE_CHECK CALL FUNCTION 'FI_MESSAGE_CHECK' EXCEPTIONS no_message = 01.

POPUP_NO_LIST CALL FUNCTION 'POPUP_NO_LIST'.

FI_MESSAGE_CHECK CALL FUNCTION 'FI_MESSAGE_CHECK' EXCEPTIONS no_message = 01.

FI_MESSAGE_SORT CALL FUNCTION 'FI_MESSAGE_SORT'.

FI_MESSAGE_GET_MSORT CALL FUNCTION 'FI_MESSAGE_GET_MSORT' IMPORTING e_xinit = xfeld TABLES s_fimsg = msgtab EXCEPTIONS no_message = 1.

FI_MESSAGE_PRINT CALL FUNCTION 'FI_MESSAGE_PRINT' EXPORTING i_msort = msgtab-msort i_xausn = ' ' i_xeaus = 'X' i_xskip = ' '.

FAGL_BATCH_HEADING_PERFORM * CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' * EXPORTING * IS_BHDGD = BHDGD.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' "#EC * EXPORTING i_program_name = gv_repid i_structure_name = uv_structure 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 = xt_events.

FAGL_BATCH_HEADING_PERFORM





CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page * I_LOGO = * I_END_OF_LIST_GRID = .

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'FS10N' EXCEPTIONS OK = 0 NOT_OK = 2 OTHERS = 3 .

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = gc_save IMPORTING e_exit = gc_exit es_variant = gs_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = gc_save CHANGING cs_variant = gs_variant.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' "#EC * EXPORTING i_callback_program = gv_repid is_layout = gs_layout it_fieldcat = gt_fieldcat it_sort = gt_sort i_save = gc_save is_variant = g_variant it_events = gt_events is_print = gs_print TABLES t_outtab = gt_fkont EXCEPTIONS program_error = 1 OTHERS = 2 .



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