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

FAGL_SL_TRANS_DATA SAP ABAP INCLUDE - Include FAGL_SL_TRANS_DATA







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


Text pool values


Title: Include FAGL_SL_TRANS_DATA


INCLUDES used within this REPORT FAGL_SL_TRANS_DATA

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_REP_LEDGER_WO_CHECK CALL FUNCTION 'FAGL_GET_REP_LEDGER_WO_CHECK' EXPORTING I_LDGRP = gd_ldgrp * I_RLDNR = ' ' IMPORTING E_REP_LEDGER = ld_rep_ldgr.

FAGL_GET_TABLENAMES CALL FUNCTION 'FAGL_GET_TABLENAMES' EXPORTING I_LEDGER = ld_rep_ldgr * I_CLIENT = SY-MANDT IMPORTING ES_TABNAMES = ls_tab EXCEPTIONS NOT_FOUND = 1 CONFIGURATION_ERROR = 2 OTHERS = 3.

G_TOTALS_SELECT_WITH_CURRENCY CALL FUNCTION 'G_TOTALS_SELECT_WITH_CURRENCY' EXPORTING I_LEDGER = P_SL * i_zscode = zs_code i_selection = lT_SELECTION I_LEDGERFIELDS = SL_T_F * i_period_agg = 'X' "saldiert schon ! IMPORTING E_T_TOTALS = lt_glu1 CHANGING c_t_fieldcat = sl_t_f EXCEPTIONS NO_DATA_FOUND = 1 OTHERS = 4.

G_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING I_RLDNR = P_SL I_ORGUNIT = ibukrs * JOIN_OF_VALUTYP_AND_CURT = 'X' * SEND_ERROR_WHEN_DEPLD = ' ' IMPORTING ORGANIZATIONAL_INFO = lsl_ORG EXCEPTIONS NO_INFO_FOUND = 1 ERROR_IN_SETUP = 2 ERROR_IN_DEPLD = 3 OTHERS = 4.

G_PERIOD_GET CALL FUNCTION 'G_PERIOD_GET' EXPORTING COMPANY = ibukrs DATE = stichtag * GLOBAL_COMPANY = ' ' LEDGER = P_SL VARIANT = lsL_ORG-periv IMPORTING ANZBP = ld_anzbp ANZSP = ld_anzsp PERIOD = eperiod YEAR = eyear * VARIANT = EXCEPTIONS LEDGER_NOT_ASSIGNED_TO_COMPANY = 1 PERIOD_NOT_DEFINED = 2 VARIANT_NOT_DEFINED = 3 OTHERS = 4.

GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING TABNAME = 'SAPF100_OUTIN' TABLES FIELDTAB = INTTAB EXCEPTIONS OTHERS = 1.

G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING TABLE = ld_tab FIELDNAME = ld_field IMPORTING FIELD_ATTR = ls_dfies EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = h_repid i_internal_tabname = i_tab i_inclname = h_repid I_STRUCTURE_NAME = 'SAPF100_OUTIN' i_client_never_display = 'X' I_BYPASSING_BUFFER = 'X' CHANGING ct_fieldcat = ti_fieldcat[] EXCEPTIONS others = 3.



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