SAP Reports / Programs | Financial Accounting | General Ledger Accounting(FI-GL) SAP FI

FAGL_MIG_CRESUM_DATA_PROCESS SAP ABAP INCLUDE - FAGLMIGCRESUMDATAPROCESS







FAGL_MIG_CRESUM_DATA_PROCESS is a standard ABAP INCLUDE 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 FAGL_MIG_CRESUM_DATA_PROCESS 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 FAGL_MIG_CRESUM_DATA_PROCESS. "Basic submit
SUBMIT FAGL_MIG_CRESUM_DATA_PROCESS AND RETURN. "Return to original report after report execution complete
SUBMIT FAGL_MIG_CRESUM_DATA_PROCESS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT FAGL_MIG_CRESUM_DATA_PROCESS

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_GET_TABLENAMES CALL FUNCTION 'FAGL_GET_TABLENAMES' EXPORTING i_ledger = up_rldnr IMPORTING es_tabnames = cs_ledger_tabnames.

FAGL_GET_ACTIVE_TOT_FIELDS CALL FUNCTION 'FAGL_GET_ACTIVE_TOT_FIELDS' EXPORTING i_rldnr = up_rldnr IMPORTING et_fields = lt_fieldlist_glflex.

FAGL_TRANSFORM_GLFLEX_TO_BSEG CALL FUNCTION 'FAGL_TRANSFORM_GLFLEX_TO_BSEG' EXPORTING id_glflex_fieldname = ls_fieldlist_glflex id_tot_table = cs_ledger_tabnames-tot_table IMPORTING ed_bseg_fieldname = ld_fieldname_bseg EXCEPTIONS not_found = 1.

G_INSERT_SI_AND_ADD_TO_TT CALL FUNCTION 'G_INSERT_SI_AND_ADD_TO_TT' EXPORTING iv_in_update_task = ' ' iv_table_name = uv_tabname * IT_SI_TABLE = it_si_table_add = lt_si_table_add it_glu1 = ut_glu1 EXCEPTIONS table_not_installed = 1 no_poper_field = 2 wrong_call = 3 OTHERS = 4.

FAGL_MIG_TOTALS_INSERT CALL FUNCTION 'FAGL_MIG_TOTALS_INSERT' IN UPDATE TASK EXPORTING it_fagl_mig_totals = lt_totals.

FI_CURRENCY_INFORMATION * CALL FUNCTION 'FI_CURRENCY_INFORMATION' * EXPORTING * i_bukrs = gs_fagl_mig_002-bukrs * IMPORTING * e_x001 = us_x001 * EXCEPTIONS * currency_2_not_defined = 1 * currency_3_not_defined = 2 * OTHERS = 3.

FAGL_GET_ACTIVE_TOT_FIELDS CALL FUNCTION 'FAGL_GET_ACTIVE_TOT_FIELDS' EXPORTING i_rldnr = up_rldnr IMPORTING et_fields = lt_fieldlist_glflex_tot.

FAGL_GET_TABLENAMES CALL FUNCTION 'FAGL_GET_TABLENAMES' EXPORTING i_ledger = up_rldnr IMPORTING es_tabnames = ls_ledger_tabnames.

FAGL_TRANSFORM_GLFLEX_TO_ACCIT CALL FUNCTION 'FAGL_TRANSFORM_GLFLEX_TO_ACCIT' EXPORTING id_glflex_fieldname = ls_fieldlist_glflex_tot id_tot_table = ls_ledger_tabnames-tot_table IMPORTING ed_accit_fieldname = ld_accit_fieldname_tot EXCEPTIONS not_found = 1 OTHERS = 2.

G_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING i_rldnr = ld_rldnr i_orgunit = ld_bukrs IMPORTING organizational_info = ls_organizational_data EXCEPTIONS no_info_found = 1 error_in_setup = 2 error_in_depld = 3 OTHERS = 4.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = ud_migdt i_periv = us_organizational_data-periv IMPORTING e_gjahr = ld_ryear EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3.

FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING i_bukrs = us_fagl_mig_002-bukrs IMPORTING e_x001 = ls_x001 EXCEPTIONS currency_2_not_defined = 1 currency_3_not_defined = 2 OTHERS = 3.

KOKRS_GET_FROM_BUKRS CALL FUNCTION 'KOKRS_GET_FROM_BUKRS' EXPORTING i_bukrs = us_fagl_mig_002-bukrs IMPORTING e_kokrs = ld_kokrs EXCEPTIONS no_kokrs_found = 1.

FAGL_TRANSFORM_BSEG_TO_GLFLEX CALL FUNCTION 'FAGL_TRANSFORM_BSEG_TO_GLFLEX' EXPORTING id_bseg_fieldname = ld_fieldname id_tot_table = ls_ledger_tabnames-tot_table IMPORTING ed_glflex_fieldname = ld_fieldname_glflex EXCEPTIONS not_found = 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 FAGL_MIG_CRESUM_DATA_PROCESS or its description.