FAGL_DELETE_OLD_DETERMINATION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this program when switching from the account approach to the ledger approach...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter FAGL_DELETE_OLD_DETERMINATION 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.
Selection Text: P_TEST = Test Run
Selection Text: P_MGPLN = D .
Title: Delete Old Account Determination for FI-AA After Migration
Text Symbol: 001 = Selection Parameters for Deleting Old Account Determin.
Text Symbol: 002 = Migration Plan Is Active
Text Symbol: 003 = Do you still want to continue?
INCLUDE FAGL_MIG_CONSTANTS. "COCKPIT
INCLUDE FAGL_MIG_MONI_SM_PARAMS. "COCKPIT
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 = p_mgpln IMPORTING et_fagl_mig_001 = lt_mgpln_001 EXCEPTIONS mgpln_not_found = 1 * OTHERS = 2 .
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING reset = 'X' i_identification = ld_message_ident IMPORTING e_identification = ld_message_ident.
FAGL_GET_STATUS_OF_MIGRATION CALL FUNCTION 'FAGL_GET_STATUS_OF_MIGRATION' EXPORTING i_mgpln = p_mgpln IMPORTING et_fagl_mig_001_s = lt_fagl_mig_001_s EXCEPTIONS no_data_found = 1 OTHERS = 2.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-002 diagnose_object = 'FAGL_DEL_OLD_DETERM_TEXT' text_question = text-003 * TEXT_BUTTON_1 = 'Ja'(001) * ICON_BUTTON_1 = 'X' * TEXT_BUTTON_2 = 'Nein'(002) * ICON_BUTTON_2 = 'X' * DEFAULT_BUTTON = '1' display_cancel_button = ' ' userdefined_f1_help = 'FAGL_DEL_OLD_DETERM_HELP' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = * IV_QUICKINFO_BUTTON_1 = ' ' * IV_QUICKINFO_BUTTON_2 = ' ' IMPORTING answer = lv_answer * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2 .
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING msgty = u_msgty msgv1 = u_msgv1 msgv2 = u_msgv2 msgv3 = u_msgv3 msgv4 = u_msgv4 arbgb = u_arbgb txtnr = l_txtnr exception_if_not_active = space.
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW'.
/NGL/GET_MGPLN_FROM_PACKID CALL FUNCTION '/NGL/GET_MGPLN_FROM_PACKID' "#EC EXISTS EXPORTING i_packid = p_pack IMPORTING es_mgpln = ls_fagl_mig_001 EXCEPTIONS mgpln_not_found = 1 packid_not_found = 2 packid_not_valid_for_newgl = 3 packid_not_assigned = 4 too_many_mgpln_assigned = 5 OTHERS = 6.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
FAGL_DELETE_OLD_DETERMINATION - Delete Old Account Determination for FI-AA After Migration FAGL_DELETE_OLD_DETERMINATION - Delete Old Account Determination for FI-AA After Migration FAGL_DELETE_DOCUMENT - Delete Document from New General Ledger FAGL_DELETE_DOCUMENT - Delete Document from New General Ledger FAGL_DEF_LCL_ACCOUNT - FAGLDEFLCLACCOUNT FAGL_CORR_0002 - Correction Program T800M BUDAT and BSTAT Entries