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

FAGL_MIG_SELECTION SAP ABAP Report - Determine Worklist for Migration Objects







FAGL_MIG_SELECTION is a standard Executable ABAP Report 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_SELECTION 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_MIG_SELECT - Determine Migration Objects


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_SELECTION. "Basic submit
SUBMIT FAGL_MIG_SELECTION AND RETURN. "Return to original report after report execution complete
SUBMIT FAGL_MIG_SELECTION 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_MPLAN = D .
Title: Determine Worklist for Migration Objects
Text Symbol: 001 = Selection of Selection Programs
Text Symbol: 004 = Control
Text Symbol: 100 = Determine Worklist: Test Run
Text Symbol: 101 = Determine Worklist: Update Run
Text Symbol: 200 = Test Run
Text Symbol: 201 = Update Run


INCLUDES used within this REPORT FAGL_MIG_SELECTION

INCLUDE FAGL_MIG_CONSTANTS.
INCLUDE FAGL_MIG_ICL_BAL.


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_SET_STATUS_OF_MIGRATION CALL FUNCTION 'FAGL_SET_STATUS_OF_MIGRATION' EXPORTING i_mgpln = p_mplan i_start = abap_on i_commit = abap_on EXCEPTIONS error_message = 1.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING list_name = ls_job-jobname(12) list_text = ld_listtxt no_dialog = 'X' IMPORTING out_parameters = l_spoolparam valid = l_valid EXCEPTIONS error_message = 1.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = ls_job-jobname IMPORTING jobcount = ls_job-jobcount EXCEPTIONS error_message = 1 OTHERS = 2.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobname = ls_job-jobname jobcount = ls_job-jobcount strtimmed = abap_on EXCEPTIONS OTHERS = 1.

FAGL_GET_DATA_FOR_MGPLN CALL FUNCTION 'FAGL_GET_DATA_FOR_MGPLN' EXPORTING i_mgpln = u_mplan IMPORTING et_fagl_mig_001 = lt_mig_001 e_migdt = ld_migdt EXCEPTIONS mgpln_not_found = 1 OTHERS = 2.

FAGL_GET_SPLIT_STATUS * CALL FUNCTION 'FAGL_GET_SPLIT_STATUS' * EXPORTING * i_mgpln = u_mplan * IMPORTING * e_split_active = c_flg_op * EXCEPTIONS * mgpln_not_found = 1 * invalid_input = 2.

FAGL_GET_BUKRS_LEDGER_IN_MGPLN call function 'FAGL_GET_BUKRS_LEDGER_IN_MGPLN' exporting i_mgpln = u_mplan importing et_bukrs = ut_bukrs exceptions error_message = 1.



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