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

FAGL_FC_SBEW SAP ABAP INCLUDE - FAGLFCSBEW







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

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:

G_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING i_rldnr = p_sl i_orgunit = t001-bukrs IMPORTING organizational_info = ls_org_info EXCEPTIONS no_info_found = 1 error_in_setup = 2 error_in_depld = 3 OTHERS = 4.

LDB_PROCESS CALL FUNCTION 'LDB_PROCESS' EXPORTING ldbname = 'SDF' * VARIANT = expressions = sdf_expressions * FIELD_SELECTION = * DYN_NODE_TYPES = TABLES callback = gt_callback selections = seltab EXCEPTIONS ldb_not_reentrant = 1 ldb_incorrect = 2 ldb_already_running = 3 ldb_error = 4 ldb_selections_error = 5 ldb_selections_not_accepted = 6 variant_not_existent = 7 variant_obsolete = 8 variant_error = 9 free_selections_error = 10 callback_no_event = 11 callback_node_duplicate = 12 callback_no_program = 13 callback_no_cbform = 14 dyn_node_no_type = 15 dyn_node_invalid_type = 16 OTHERS = 17.

READ_SKC1C CALL FUNCTION 'READ_SKC1C' EXPORTING xbukrs = skc1c-bukrs xgjahr = skc1c-gjahr xgsber = skc1c-gsber xrtcur = skc1c-fwaer xsaknr = skc1c-saknr IMPORTING xskc1c = *skc1c EXCEPTIONS key_incomplete = 1 not_authorized = 2 not_found = 3 OTHERS = 4.

READ_SKC1C CALL FUNCTION 'READ_SKC1C' EXPORTING xbukrs = skc1c-bukrs xgjahr = skc1c-gjahr xgsber = skc1c-gsber xrtcur = skc1c-fwaer xsaknr = skc1c-saknr IMPORTING xskc1c = *skc1c EXCEPTIONS key_incomplete = 1 not_authorized = 2 not_found = 3 OTHERS = 4.

FAGL_GET_INFO_FROM_LEDGER CALL FUNCTION 'FAGL_GET_INFO_FROM_LEDGER' EXPORTING i_budat = stichtag i_rldnr = ls_ldgr i_bukrs = t001-bukrs IMPORTING e_periv = ld_periv e_poper = ld_poper e_gjahr = jahr EXCEPTIONS * NO_INFO_FOUND = 1 * ERROR_IN_SETUP = 2 OTHERS = 3.

GET_CURRENT_YEAR * call function 'GET_CURRENT_YEAR' * EXPORTING * bukrs = t001-bukrs * date = stichtag * IMPORTING * currm = monat * curry = jahr.

GET_ACCOUNT_OF_PERIODS CALL FUNCTION 'GET_ACCOUNT_OF_PERIODS' EXPORTING i_gjahr = jahr * I_MONMIT = 00 i_periv = ld_periv IMPORTING e_anzbuper = l_anzbp EXCEPTIONS OTHERS = 4.

FAGL_GET_LEDGER_FROM_GROUP CALL FUNCTION 'FAGL_GET_LEDGER_FROM_GROUP' EXPORTING i_ldgrp = i_ldgrp IMPORTING et_ledger = c_ldgr EXCEPTIONS error_in_ledgergroup = 1 OTHERS = 2.

FAGL_GET_LEDGER_FROM_GROUP CALL FUNCTION 'FAGL_GET_LEDGER_FROM_GROUP' EXPORTING i_ldgrp = ls_ldgrp IMPORTING et_ledger = lt_ldgr EXCEPTIONS error_in_ledgergroup = 1 OTHERS = 2.

FAGL_GET_LEADING_LEDGER CALL FUNCTION 'FAGL_GET_LEADING_LEDGER' IMPORTING e_rldnr = lf_lead_rldnr EXCEPTIONS OTHERS = 1.

FAGL_GET_LEDGER_FROM_GROUP CALL FUNCTION 'FAGL_GET_LEDGER_FROM_GROUP' EXPORTING i_ldgrp = pu_ldgrp IMPORTING et_ledger = lt_rldnr EXCEPTIONS error_in_ledgergroup = 1 OTHERS = 2.

G_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING i_rldnr = id_rldnr i_orgunit = id_bukrs IMPORTING organizational_info = ls_org_info 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 = id_bukrs date = id_check_date ledger = id_rldnr variant = ls_org_info-periv IMPORTING period = ld_fperiod year = ld_fyear EXCEPTIONS ledger_not_assigned_to_company = 1 period_not_defined = 2 variant_not_defined = 3 OTHERS = 4.



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