SAP Reports / Programs

FAGLSKF_REPOSTING_FROM_FI SAP ABAP Report - Rebuild Statistical Key Figures in FI from FI Data







FAGLSKF_REPOSTING_FROM_FI is a standard Executable ABAP Report 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 FAGLSKF_REPOSTING_FROM_FI 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

FAGLSKF7 - Stat. Key Figs: Post FI Subsequently


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 FAGLSKF_REPOSTING_FROM_FI. "Basic submit
SUBMIT FAGLSKF_REPOSTING_FROM_FI AND RETURN. "Return to original report after report execution complete
SUBMIT FAGLSKF_REPOSTING_FROM_FI 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: LIST = Log
Selection Text: P_IST = Actual Data
Selection Text: P_PLAN = Plan Data
Selection Text: TEST = Test Run
Selection Text: BUKRS = D .
Selection Text: KOKRS = D .
Selection Text: VERSN = D .
Title: Rebuild Statistical Key Figures in FI from FI Data
Text Symbol: 001 = Selection Criteria
Text Symbol: 002 = Control Data
Text Symbol: 003 = Selection: Actual or Plan Data
Text Symbol: 004 = Subsequent Posting from FI (Actual)
Text Symbol: 005 = Subsequent Posting from FI (Plan)


INCLUDES used within this REPORT FAGLSKF_REPOSTING_FROM_FI

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:

FAGL_CHECK_GLFLEX_ACTIVE CALL FUNCTION 'FAGL_CHECK_GLFLEX_ACTIVE' IMPORTING e_glflex_active = ld_active EXCEPTIONS error_in_setup = 1 OTHERS = 2.

FAGLSKF_GET_TABINFO_FROM_APPL CALL FUNCTION 'FAGLSKF_GET_TABINFO_FROM_APPL' IMPORTING es_tabinfo = ls_tabinfo EXCEPTIONS error_in_cust = 1 OTHERS = 2.

KOKRS_GET_FROM_BUKRS CALL FUNCTION 'KOKRS_GET_FROM_BUKRS' EXPORTING i_bukrs = bukrs IMPORTING e_kokrs = ld_kokrs EXCEPTIONS no_kokrs_found = 1 OTHERS = 2.

FAGL_AUTHORITY_CHECK_KEYFIG CALL FUNCTION 'FAGL_AUTHORITY_CHECK_KEYFIG' EXPORTING id_activ = ld_activ id_actvt = '02' id_bukrs = '*' is_auth = ls_auth EXCEPTIONS no_authority = 1 data_missing = 2 OTHERS = 3.

FAGL_STATKEYFIG_CALC_FI CALL FUNCTION 'FAGL_STATKEYFIG_CALC_FI' EXPORTING i_ident = ls_tabinfo-identifier it_skfabs = i_mode = ld_mode i_reposting = 'X' i_test = test TABLES ct_return = lt_return.

FAGL_STATKEYFIG_CALC_FI CALL FUNCTION 'FAGL_STATKEYFIG_CALC_FI' EXPORTING i_ident = ls_tabinfo-identifier it_skfabs = i_mode = ld_mode i_reposting = 'X' i_test = test TABLES ct_return = lt_return.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = ld_alv_structure_name i_save = 'A' is_variant = ls_variant TABLES t_outtab = EXCEPTIONS program_error = 1 OTHERS = 2.

RK_RATIO_READ CALL FUNCTION 'RK_RATIO_READ' EXPORTING kokrs = id_kokrs stagr = id_stagr IMPORTING grtyp = cd_grtyp EXCEPTIONS ka03_not_complete = 1 ka03_not_found = 2 OTHERS = 3.

FAGL_GET_ALL_LEDGERS CALL FUNCTION 'FAGL_GET_ALL_LEDGERS' IMPORTING e_ledgers = lt_ledgers.

FAGLSKF_LOG_INIT CALL FUNCTION 'FAGLSKF_LOG_INIT' EXPORTING id_subobject = 'REPOST'.

FAGLSKF_LOG_INIT_HEADER CALL FUNCTION 'FAGLSKF_LOG_INIT_HEADER' EXPORTING id_extnumber = ld_ext id_repid = ld_repid.

FAGLSKF_LOG_INIT_MESSAGES CALL FUNCTION 'FAGLSKF_LOG_INIT_MESSAGES' EXPORTING msgid = 'FAGL_SKF' msgty = 'I'.

FAGLSKF_LOG_SET_MESSAGE CALL FUNCTION 'FAGLSKF_LOG_SET_MESSAGE' EXPORTING msgty = 'I' msgno = '038' v1 = ' ' v2 = ' ' v3 = ' ' v4 = ' '.

FAGLSKF_LOG_APPEND_PARAMS CALL FUNCTION 'FAGLSKF_LOG_APPEND_PARAMS' EXPORTING id_para = 'BUKRS' id_value = ld_value.

FAGLSKF_LOG_APPEND_PARAMS CALL FUNCTION 'FAGLSKF_LOG_APPEND_PARAMS' EXPORTING id_para = 'RRCTY' id_value = ld_value.

FAGLSKF_LOG_APPEND_PARAMS CALL FUNCTION 'FAGLSKF_LOG_APPEND_PARAMS' EXPORTING id_para = 'RVERS' id_value = ld_value.

FAGLSKF_LOG_WRITE_MESSAGE CALL FUNCTION 'FAGLSKF_LOG_WRITE_MESSAGE'.

FAGLSKF_LOG_WRITE_DB CALL FUNCTION 'FAGLSKF_LOG_WRITE_DB'.

RS_REFRESH_FROM_SELECTOPTIONS





CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING CURR_REPORT = sy-repid TABLES SELECTION_TABLE = lt_rsparams.

G_UPDATE_T800HIST CALL FUNCTION 'G_UPDATE_T800HIST' EXPORTING I_OBJNAME = sy-repid TABLES T_RSPARAMS = lt_rsparams.



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