SAP Reports / Programs

FAGL_DELETE_OLD_DETERMINATION SAP ABAP Report - Delete Old Account Determination for FI-AA After Migration







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


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


Text pool values


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?


INCLUDES used within this REPORT FAGL_DELETE_OLD_DETERMINATION

INCLUDE FAGL_MIG_CONSTANTS. "COCKPIT
INCLUDE FAGL_MIG_MONI_SM_PARAMS. "COCKPIT


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_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.



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