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

FAGL_MIG_DS_IMPL_GL_DATA SAP ABAP INCLUDE - FAGLMIGDSIMPLGLDATA







FAGL_MIG_DS_IMPL_GL_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_MIG_DS_IMPL_GL_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_MIG_DS_IMPL_GL_DATA. "Basic submit
SUBMIT FAGL_MIG_DS_IMPL_GL_DATA AND RETURN. "Return to original report after report execution complete
SUBMIT FAGL_MIG_DS_IMPL_GL_DATA 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_DS_IMPL_GL_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_BUKRS_LEDGER_IN_MGPLN call function 'FAGL_GET_BUKRS_LEDGER_IN_MGPLN' exporting i_mgpln = iv_mgpln importing et_rldnr = lt_ledgers et_fagl_mig_002 = lt_fagl_mig_002 exceptions error_message = 1.

FAGL_GET_TABLENAMES call function 'FAGL_GET_TABLENAMES' exporting i_ledger = lv_rldnr i_client = sy-mandt importing es_tabnames = ls_tabnames.

DB_COMMIT call function 'DB_COMMIT'.

DB_ROLLBACK call function 'DB_ROLLBACK'.

FAGL_GET_BUKRS_LEDGER_IN_MGPLN call function 'FAGL_GET_BUKRS_LEDGER_IN_MGPLN' exporting i_mgpln = iv_mgpln importing et_rldnr = lt_ledgers et_fagl_mig_002 = lt_fagl_mig_002 exceptions error_message = 1.

FAGL_GET_TABLENAMES call function 'FAGL_GET_TABLENAMES' exporting i_ledger = lv_rldnr i_client = sy-mandt importing es_tabnames = ls_tabnames.

DB_COMMIT call function 'DB_COMMIT'.

DB_COMMIT call function 'DB_COMMIT'.

DB_ROLLBACK call function 'DB_ROLLBACK'.

FAGL_GET_BUKRS_LEDGER_IN_MGPLN call function 'FAGL_GET_BUKRS_LEDGER_IN_MGPLN' exporting i_mgpln = iv_mgpln importing et_rldnr = lt_ledgers et_fagl_mig_002 = lt_fagl_mig_002 exceptions error_message = 1.

FAGL_GET_TABLENAMES call function 'FAGL_GET_TABLENAMES' exporting i_ledger = lv_rldnr i_client = sy-mandt importing es_tabnames = ls_tabnames.

DB_COMMIT call function 'DB_COMMIT'.

DB_ROLLBACK call function 'DB_ROLLBACK'.

FAGL_MIG_OPITEMS_SELECT call function 'FAGL_MIG_OPITEMS_SELECT' exporting id_mgpln = is_mgpln_data_ext-mgpln id_bukrs = ls_bukrs-bukrs ir_belnr = ir_belnr id_gjahr = iv_gjahr ib_status_reset = abap_off "status as stored on database id_status_next = 'ZZ' i_package_size = 2000 importing ets_opitem_keys = lt_opitems_keys exceptions no_items_found = 1 others = 2.

FAGL_MIG_OPITEMS_SELECT call function 'FAGL_MIG_OPITEMS_SELECT' exporting id_mgpln = is_mgpln_data_ext-mgpln id_bukrs = ls_bukrs-bukrs ir_belnr = ir_belnr id_gjahr = iv_gjahr ib_status_reset = abap_off "status as stored on database id_status_next = 'ZZ' id_status_prev = '01' i_package_size = 2000 importing ets_opitem_keys = lt_opitems_keys exceptions no_items_found = 1 others = 2.

FAGL_MIG_TOTALS_DELETE call function 'FAGL_MIG_TOTALS_DELETE' in update task exporting it_totals = lt_totals.

FAGL_MIG_TOTALS_UPDATE call function 'FAGL_MIG_TOTALS_UPDATE' in update task exporting it_fagl_mig_totals = lt_totals.

FAGL_SPLINFO_DELETE call function 'FAGL_SPLINFO_DELETE' in update task exporting id_bukrs = ls_opitems_keys-bukrs id_gjahr = ls_opitems_keys-gjahr id_belnr = ls_opitems_keys-belnr id_buzei = ls_opitems_keys-buzei id_subsequent = 'X'.

FAGL_MIG_OPITEMS_DELETE





call function 'FAGL_MIG_OPITEMS_DELETE' in update task exporting its_opitems = lt_opitems_keys.

FAGL_MIG_OPITEMS_UPDATE call function 'FAGL_MIG_OPITEMS_UPDATE' in update task exporting its_opitems = lt_opitems_keys.

FAGL_MIG_RPITEMS_SELECT call function 'FAGL_MIG_RPITEMS_SELECT' exporting id_mgpln = is_mgpln_data_ext-mgpln ir_monat = lt_range_monat ir_bukrs = lt_range_bukrs ir_belnr = ir_belnr ir_gjahr = lt_range_gjahr id_status_next = 'ZZ' i_package_size = 2000 ib_status_reset = abap_off importing et_rpkey = lt_rpkey.

FAGL_MIG_RPITEMS_SELECT call function 'FAGL_MIG_RPITEMS_SELECT' exporting id_mgpln = is_mgpln_data_ext-mgpln ir_monat = lt_range_monat ir_bukrs = lt_range_bukrs ir_belnr = ir_belnr ir_gjahr = lt_range_gjahr id_status_next = 'ZZ' id_status_prev = '01' i_package_size = 2000 ib_status_reset = abap_off importing et_rpkey = lt_rpkey.

FAGL_DELETE_DOCUMENT_LIST call function 'FAGL_DELETE_DOCUMENT_LIST' exporting id_rldnr = lv_rldnr it_belnr_list = lt_belnr_list exceptions no_data_found = 1.

FAGL_MIG_ADJUST_DEL_LOG call function 'FAGL_MIG_ADJUST_DEL_LOG' in update task exporting id_mgpln = is_mgpln_data_ext-mgpln irt_bukrs = lt_range_bukrs irt_gjahr = lt_range_gjahr irt_belnr = ir_belnr.

FAGL_SPLINFO_DELETE call function 'FAGL_SPLINFO_DELETE' in update task exporting id_bukrs = ls_rpkey-bukrs id_gjahr = ls_rpkey-gjahr id_belnr = ls_rpkey-belnr id_subsequent = 'X'.

FAGL_MIG_RPITEMS_DELETE call function 'FAGL_MIG_RPITEMS_DELETE' in update task exporting it_rpkey = lt_rpkey.

FAGL_MIG_RPITEMS_UPDATE call function 'FAGL_MIG_RPITEMS_UPDATE' in update task exporting it_rpkey = lt_rpkey.

FAGL_MIG_ADJUST_DEL_LOG call function 'FAGL_MIG_ADJUST_DEL_LOG' exporting id_mgpln = is_mgpln_data_ext-mgpln irt_bukrs = lt_range_bukrs.

FAGL_GET_TABLENAMES call function 'FAGL_GET_TABLENAMES' exporting i_ledger = iv_rldnr importing es_tabnames = ls_tabnames exceptions not_found = 1 others = 2.

FAGL_READ_SI_TABLE_BY_ITEM_LI call function 'FAGL_READ_SI_TABLE_BY_ITEM_LI' exporting id_rldnr = iv_rldnr it_item_list = it_item_list importing et_data = exceptions not_found = 1 others = 2.

G_INSERT_SI_AND_ADD_TO_TT call function 'G_INSERT_SI_AND_ADD_TO_TT' exporting iv_in_update_task = abap_true iv_table_name = ls_tabnames-si_table it_si_table = it_si_table_add = lt_add.

DB_COMMIT call function 'DB_COMMIT'.

DB_ROLLBACK call function 'DB_ROLLBACK'.

DB_COMMIT call function 'DB_COMMIT'.

DB_ROLLBACK call function 'DB_ROLLBACK'.

DB_COMMIT call function 'DB_COMMIT'.

DB_COMMIT call function 'DB_COMMIT'.

DB_ROLLBACK call function 'DB_ROLLBACK'.




DB_COMMIT call function 'DB_COMMIT'.

DB_ROLLBACK call function 'DB_ROLLBACK'.

DB_COMMIT call function 'DB_COMMIT'.

DB_ROLLBACK call function 'DB_ROLLBACK'.

DB_COMMIT call function 'DB_COMMIT'.

DB_ROLLBACK call function 'DB_ROLLBACK'.

DB_COMMIT call function 'DB_COMMIT'.

DB_ROLLBACK call function 'DB_ROLLBACK'.



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