FAGL_SWITCH_CLASS_IMP5 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_SWITCH_CLASS_IMP5 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FAGL_GET_ALL_LEDGERS_IN_BUKRS CALL FUNCTION 'FAGL_GET_ALL_LEDGERS_IN_BUKRS' EXPORTING i_bukrs = iv_bukrs IMPORTING et_ledgers = lt_all_ledgers.
G_GIVE_FIXED_LEDGERS_FOR_BUKRS CALL FUNCTION 'G_GIVE_FIXED_LEDGERS_FOR_BUKRS' EXPORTING bukrs = iv_bukrs TABLES ledtab = lt_t881.
FAGL_GET_LEDGER_FROM_GROUP CALL FUNCTION 'FAGL_GET_LEDGER_FROM_GROUP' "Get only the ledgers of this group EXPORTING i_ldgrp =
-ldgrp IMPORTING et_ledger = lt_ledger.
FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING i_bukrs = iv_bukrs IMPORTING e_x001 = ls_x001 EXCEPTIONS OTHERS = 0.
G_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING i_rldnr = lv_ledger i_orgunit = iv_bukrs IMPORTING organizational_info = ls_org_info.
FAGL_GET_LEADING_LEDGER CALL FUNCTION 'FAGL_GET_LEADING_LEDGER' IMPORTING e_rldnr = lv_leading_ldg.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
FAGL_GET_LEADING_LEDGER CALL FUNCTION 'FAGL_GET_LEADING_LEDGER' IMPORTING e_rldnr = lv_leading_ldg.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.