FAGL_MIG_RESTORE_COMMON_FORMS 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_RESTORE_COMMON_FORMS 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_DATA_FOR_MGPLN call function 'FAGL_GET_DATA_FOR_MGPLN' exporting i_mgpln = ud_mgpln importing et_fagl_mig_001 = lt_fagl_mig_001 exceptions mgpln_not_found = 1 others = 2.
FAGL_GET_STATUS_OF_MIGRATION call function 'FAGL_GET_STATUS_OF_MIGRATION' exporting i_mgpln = ud_mgpln importing et_fagl_mig_001_s = lt_fagl_mig_001_s exceptions no_data_found = 1 others = 2.
FAGL_GET_BUKRS_LEDGER_IN_MGPLN call function 'FAGL_GET_BUKRS_LEDGER_IN_MGPLN' exporting i_mgpln = ud_mgpln importing * et_bukrs = lt_bukrs et_bukrs_rldnr = lt_bukrs_ledger exceptions no_data_found = 1 invalid_input = 2 others = 3.
FAGL_GET_SPLIT_STATUS call function 'FAGL_GET_SPLIT_STATUS' exporting i_mgpln = ud_mgpln importing e_split_active = ld_split_status.
REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_callback_program = sy-repid it_fieldcat = lt_fieldcat i_callback_top_of_page = 'TOP_OF_PAGE' tables t_outtab = lt_outtab exceptions program_error = 1 others = 2.
FAGL_GET_SPLIT_STATUS call function 'FAGL_GET_SPLIT_STATUS' exporting i_mgpln = ud_mgpln importing e_split_active = cd_split_status.
FAGL_MIG_GET_ALL_MGPLN_DATA_EX call function 'FAGL_MIG_GET_ALL_MGPLN_DATA_EX' exporting it_mgpln = lt_mgpln_needed importing et_mgpln_data_ext = ct_mgpln_data_ext.
FAGL_GET_BUKRS_LEDGER_IN_MGPLN call function 'FAGL_GET_BUKRS_LEDGER_IN_MGPLN' exporting i_mgpln = ud_mgpln "maßgeblich ist der eingegebene Migrationsplan importing et_bukrs = lt_all_bukrs_of_mgpln exceptions no_data_found = 1 invalid_input = 2 others = 3.
FAGL_CHECK_GLFLEX_ACTIVE call function 'FAGL_CHECK_GLFLEX_ACTIVE' exporting id_bukrs = ls_all_bukrs_of_mgpln importing e_glflex_active = ld_glflex_is_active exceptions error_in_setup = 1 others = 2.
FAGL_MIG_GET_MGPLN_FOR_BUKRS call function 'FAGL_MIG_GET_MGPLN_FOR_BUKRS' exporting it_bukrs = lt_all_bukrs_of_mgpln importing et_fagl_mig_002 = lt_fagl_mig_002 et_mgpln = lt_mgpln_needed.
FAGL_MIG_GET_ALL_MGPLN_DATA_EX call function 'FAGL_MIG_GET_ALL_MGPLN_DATA_EX' exporting it_mgpln = lt_mgpln_needed importing et_mgpln_data_ext = ct_mgpln_data_ext.
FAGL_GET_SPLIT_STATUS call function 'FAGL_GET_SPLIT_STATUS' exporting i_mgpln = ls_mgpln_data_ext-mgpln importing e_split_active = ld_hlp_split_status.
RKE_POPUP_TEXT_DECIDE_VARTEXT CALL FUNCTION 'RKE_POPUP_TEXT_DECIDE_VARTEXT' EXPORTING OPTIONS = 'YN' object_id = 'NA' object = ld_msgobject na_shorttext = 'X' titel = text-040 IMPORTING answer = ld_answer EXCEPTIONS docu_not_found = 1.
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_structure_name = ld_structname changing ct_fieldcat = lt_fieldcat exceptions inconsistent_interface = 1 program_error = 2 others = 3.
REUSE_ALV_POPUP_TO_SELECT call function 'REUSE_ALV_POPUP_TO_SELECT' exporting i_title = text-023 i_selection = '' i_tabname = '1' it_fieldcat = lt_fieldcat i_callback_program = sy-repid importing e_exit = ld_exit tables t_outtab = ut_fagl_mig_002 exceptions program_error = 1 others = 2.
FAGL_GET_BUKRS_LEDGER_IN_MGPLN call function 'FAGL_GET_BUKRS_LEDGER_IN_MGPLN' exporting i_mgpln = ud_mgpln importing et_bukrs_rldnr = lt_bukrs_rldnr "n1156484 exceptions no_data_found = 1 invalid_input = 2 others = 3.
FAGL_GET_DATA_FOR_MGPLN CALL FUNCTION 'FAGL_GET_DATA_FOR_MGPLN' EXPORTING i_mgpln = ud_mgpln IMPORTING e_migdt = ld_migdt EXCEPTIONS mgpln_not_found = 1 OTHERS = 2.
FAGL_SET_GLFLEX_ACT_FOR_INTMOD CALL FUNCTION 'FAGL_SET_GLFLEX_ACT_FOR_INTMOD' EXPORTING id_active = abap_true.
CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING i_rldnr = ld_rldnr i_orgunit = ls_bukrs_rldnr-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 date = ld_migdt variant = ls_org_info-periv IMPORTING year = ld_migyear EXCEPTIONS ledger_not_assigned_to_company = 1 period_not_defined = 2 variant_not_defined = 3 OTHERS = 4.
FAGL_GET_GROUPS_WITH_LEDGER CALL FUNCTION 'FAGL_GET_GROUPS_WITH_LEDGER' EXPORTING i_rldnr = ld_rldnr TABLES et_ldgrp = lt_ldgrp.
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_RESTORE_COMMON_FORMS or its description.
FAGL_MIG_RESTORE_COMMON_FORMS - FAGLMIGRESTORECOMMONFORMS FAGL_MIG_RESTORE - Reset Migration FAGL_MIG_RESTORE - Reset Migration FAGL_MIG_REPORT_STATUS - Analysis: Migration Status FAGL_MIG_REPORT_STATUS - Analysis: Migration Status FAGL_MIG_REPORT_SPLITRESULT - Display Results of Document Splitting for Migration Documents