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

FAGL_SWITCH_CLASS_IMP5 SAP ABAP INCLUDE - FAGLSWITCHCLASSIMP5







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


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_SWITCH_CLASS_IMP5. "Basic submit
SUBMIT FAGL_SWITCH_CLASS_IMP5 AND RETURN. "Return to original report after report execution complete
SUBMIT FAGL_SWITCH_CLASS_IMP5 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_SWITCH_CLASS_IMP5

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_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'.



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