SAP Reports / Programs | Public Sector Management | Fund Accounting(PSM-FA) SAP PSM

FMGL_MIGRATION_FMGL_PSGL SAP ABAP Report - Migration of Data from FMGLFLEXT to PSGLFLEXT







FMGL_MIGRATION_FMGL_PSGL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report moves existing ledgers to the new tables for the cash ledger...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 FMGL_MIGRATION_FMGL_PSGL into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FAGL_MIGPS - Migrate a ledger from FM to PS


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 FMGL_MIGRATION_FMGL_PSGL. "Basic submit
SUBMIT FMGL_MIGRATION_FMGL_PSGL AND RETURN. "Return to original report after report execution complete
SUBMIT FMGL_MIGRATION_FMGL_PSGL 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: XTEST = Test Run
Selection Text: P_LEDGER = D .
Title: Migration of Data from FMGLFLEXT to PSGLFLEXT
Text Symbol: B01 = Selections
Text Symbol: B02 = Process Control


INCLUDES used within this REPORT FMGL_MIGRATION_FMGL_PSGL

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:

FMGL_LOCK_ALL_USERS CALL FUNCTION 'FMGL_LOCK_ALL_USERS' IMPORTING et_return = lt_return.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = l_job IMPORTING jobcount = l_jobnr.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = l_jobnr jobname = l_job strtimmed = 'X'.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = l_tabname TABLES dfies_tab = lt_dfies EXCEPTIONS not_found = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = 'FMGL_MIGRATION_FMGL_PSGL' i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'UCOMM_EXIT' * i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE' is_layout = l_s_layout it_fieldcat = lt_fieldcat i_default = 'X' i_save = 'A' TABLES t_outtab = lt_psglmig_protocol EXCEPTIONS program_error = 1 OTHERS = 2.

FMGL_UNLOCK_ALL_USERS CALL FUNCTION 'FMGL_UNLOCK_ALL_USERS' IMPORTING et_return = lt_return.



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