SAP Reports / Programs | Financial Accounting | Contract Accounts Receivable and Payable(FI-CA) SAP FI

RFKKGL30 SAP ABAP Report - Itemization for G/L documents from FI-CA







RFKKGL30 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for trados = fi The program displays the documents from Contract Accounts Receivable and Payable (FI-CA) that were transferred to the general ledger (FI) as totals records...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 RFKKGL30 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

FPG5 - FI-CA Docs to FI-GL Docs


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 RFKKGL30. "Basic submit
SUBMIT RFKKGL30 AND RETURN. "Return to original report after report execution complete
SUBMIT RFKKGL30 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: SO_BELNR = Document Number
Selection Text: SO_BUDAT = Posting Date in the Document
Selection Text: SO_BUKRS = Company Code
Selection Text: SO_CPUDT = Date of Entry
Selection Text: SO_FIKEY = Reconciliation Key
Selection Text: SO_GJAHR = Fiscal year
Selection Text: SO_GSBER = Business Area
Selection Text: SO_HKONT = General ledger account
Selection Text: SO_WAERS = Currency Key
Selection Text: P_ARCH = D .
Selection Text: P_EXP = D .
Title: Itemization for G/L documents from FI-CA
Text Symbol: 001 = Selection criteria for G/L documents
Text Symbol: 002 = G/L documents are selected
Text Symbol: 003 = FI-CA totals records are selected
Text Symbol: 004 = FI-CA documents are selected
Text Symbol: 005 = The list is being prepared
Text Symbol: 006 = Background Processing Options
Text Symbol: E01 = Company Code
Text Symbol: E02 = Display
Text Symbol: T01 = Display Option


INCLUDES used within this REPORT RFKKGL30

INCLUDE RFKKGL30TOP . "
INCLUDE RFKKGL30F01.


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:

FKK_GL_ITEMS_SELECT CALL FUNCTION 'FKK_GL_ITEMS_SELECT' EXPORTING i_test_sel_only = 'X' TABLES t_bukrs = r_bukrs t_belnr = so_belnr t_gjahr = so_gjahr t_hkont = so_hkont t_budat = so_budat t_cpudt = so_cpudt t_waers = so_waers t_gsber = so_gsber t_fikey = so_fikey_upr.

FKK_SCHEDMAN_INIT CALL FUNCTION 'FKK_SCHEDMAN_INIT' EXPORTING i_repid = sy-repid i_tcode = sy-tcode i_wfitem = wf_witem i_wflist = wf_wlist * i_flg_test = xtestrun IMPORTING e_f_schedman_key = g_schedman_key.

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

FKK_GL_ITEMS_SELECT * CALL FUNCTION 'FKK_GL_ITEMS_SELECT' * TABLES * t_bukrs = so_bukrs * t_belnr = so_belnr * t_gjahr = so_gjahr * t_hkont = so_hkont * t_budat = so_budat * t_cpudt = so_cpudt * t_waers = so_waers * t_gsber = so_gsber * t_fikey = so_fikey_upr * t_out_sumsz = abs_sumsz * EXCEPTIONS * no_data_selected = 2.

FKK_GL_ITEMS_SELECT_NEW CALL FUNCTION 'FKK_GL_ITEMS_SELECT_NEW' TABLES r_bukrs = r_bukrs r_belnr = so_belnr r_gjahr = so_gjahr r_hkont = so_hkont r_budat = so_budat r_cpudt = so_cpudt r_waers = so_waers r_gsber = so_gsber r_fikey = so_fikey t_fikey_upr = so_fikey_upr t_out_sumsz = abs_sumsz EXCEPTIONS no_data_selected = 2.

FKK_GL_ITEMS_SELECT_ARCH CALL FUNCTION 'FKK_GL_ITEMS_SELECT_ARCH' EXPORTING i_test_sel_only = 'X' TABLES r_bukrs = r_bukrs r_belnr = so_belnr r_gjahr = so_gjahr r_hkont = so_hkont r_budat = so_budat r_cpudt = so_cpudt r_waers = so_waers r_gsber = so_gsber r_fikey = so_fikey t_fikey_upr = so_fikey_upr EXCEPTIONS no_archives = 1 selection_cancelled = 2.

FKK_GL_ITEMS_SELECT_ARCH CALL FUNCTION 'FKK_GL_ITEMS_SELECT_ARCH' TABLES r_bukrs = r_bukrs r_belnr = so_belnr r_gjahr = so_gjahr r_hkont = so_hkont r_budat = so_budat r_cpudt = so_cpudt r_waers = so_waers r_gsber = so_gsber r_fikey = so_fikey t_fikey_upr = so_fikey_upr t_out_sumsz = abs_sumsz EXCEPTIONS * NO_SELECT_RESTRICTION = 1 no_data_selected = 2 no_archives = 3 * OTHERS = 4 .

FKK_GL_ITEMS_SELECT_ARCH CALL FUNCTION 'FKK_GL_ITEMS_SELECT_ARCH' EXPORTING i_test_sel_only = 'X' i_skip_popup = 'X' TABLES r_bukrs = r_bukrs r_belnr = so_belnr r_gjahr = so_gjahr r_hkont = so_hkont r_budat = so_budat r_cpudt = so_cpudt r_waers = so_waers r_gsber = so_gsber r_fikey = so_fikey t_fikey_upr = so_fikey_upr EXCEPTIONS no_archives = 1 selection_cancelled = 2.

FKK_GL_ITEMS_SELECT_ARCH CALL FUNCTION 'FKK_GL_ITEMS_SELECT_ARCH' TABLES r_bukrs = r_bukrs r_belnr = so_belnr r_gjahr = so_gjahr r_hkont = so_hkont r_budat = so_budat r_cpudt = so_cpudt r_waers = so_waers r_gsber = so_gsber r_fikey = so_fikey t_fikey_upr = so_fikey_upr t_out_sumsz = abs_sumsz EXCEPTIONS * NO_SELECT_RESTRICTION = 1 no_data_selected = 2 no_archives = 3 * OTHERS = 4 .

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

FKK_FICA_TOTALS_SELECT CALL FUNCTION 'FKK_FICA_TOTALS_SELECT' EXPORTING i_gl_posted_only = 'X' ix_batch_read_archive = p_arch "note 1542505 TABLES t_bukrs = r_bukrs t_hkont = so_hkont t_budat = so_budat t_waers = so_waers t_gsber = so_gsber t_in_sumsz = abs_sumsz t_out_sum = abs_sum t_out_nokschl = abs_fikey EXCEPTIONS no_data_selected = 2.

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

FKK_DOC_TO_TOTALS_RECONCILIATE CALL FUNCTION 'FKK_DOC_TO_TOTALS_RECONCILIATE' TABLES t_bukrs = r_bukrs t_hkont = so_hkont t_waers = so_waers t_gsber = so_gsber t_in_sum = abs_sum t_in_nokschl = abs_fikey t_out_it = abs_items EXCEPTIONS no_data_selected = 2 selection_cancelled = 3.

FKK_DOC_TO_TOTALS_RECONCILIATE CALL FUNCTION 'FKK_DOC_TO_TOTALS_RECONCILIATE' EXPORTING ix_batch_read_archive = p_arch TABLES t_bukrs = r_bukrs t_hkont = so_hkont t_waers = so_waers t_gsber = so_gsber t_in_sum = abs_sum t_in_nokschl = abs_fikey t_out_it = abs_items EXCEPTIONS no_data_selected = 2 selection_cancelled = 3.

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

FKK_SCHEDMAN_CLOSE CALL FUNCTION 'FKK_SCHEDMAN_CLOSE' EXPORTING i_f_schedman_key = g_schedman_key i_wfitem = wf_witem i_wfokey = wf_okey i_aplstat = g_aplstat i_cnt_obj = sy-tfill.

FKK_GL_DRILL_DOWN_ALV CALL FUNCTION 'FKK_GL_DRILL_DOWN_ALV' EXPORTING repid = repid xexp = p_exp TABLES t_abs_sum = abs_sum t_abs_items = abs_items t_abs_sumsz = abs_sumsz.



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