SAP Reports / Programs | Public Sector Management | Funds Management(PSM-FM) SAP PSM

RFFMFGAUTOTCONFIRM SAP ABAP Report - Treasury Confirmation - Automated Processing







RFFMFGAUTOTCONFIRM is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for RFFMFGAUTOTCONFIRM - Treasury Confirmation - Automated Processing This program reads an input file and executes the Treasury Confirmation (RFFMFGAUTOTC which accepts the schedule confirmation information available from the GOALS Agency Confirmation Report, creates check info for the payments (generates numbers starting with FW for Fedwires and OS for Offsets))...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 RFFMFGAUTOTCONFIRM 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

FMFG_AUTO_TC - Treasury Confirmation - Automated


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 RFFMFGAUTOTCONFIRM. "Basic submit
SUBMIT RFFMFGAUTOTCONFIRM AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMFGAUTOTCONFIRM 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_VAR = Variant Name
Selection Text: P_TESTNF = Without File Creation
Selection Text: P_TESTF = With File Creation
Selection Text: P_TEST = Test
Selection Text: P_SYS_O = Application Server File
Selection Text: P_SYS_I = Application Server File
Selection Text: P_RECONC = Start Bank Stmt Reconciliation
Selection Text: P_PC_O = PC File
Selection Text: P_PC_I = PC File
Selection Text: P_JOBNAM = Job Name
Selection Text: P_JOB = Create a Background Job
Selection Text: P_FILE_O = SWIFT File Name
Selection Text: P_FILE_I = File Name
Title: Treasury Confirmation - Automated Processing
Text Symbol: B02 = Without File Creation
Text Symbol: B01 = With File Creation
Text Symbol: A02 = Application Server
Text Symbol: A01 = Local Workstation
Text Symbol: 023 = and run the job
Text Symbol: 022 = it can not be cretated by a background job.
Text Symbol: 021 = Failed uploading statement file:
Text Symbol: 020 = Output SWIFT
Text Symbol: 019 = Input GOALS
Text Symbol: 018 = file is not in application server
Text Symbol: 017 = file is not in local workstation
Text Symbol: 016 = Use a file in application server
Text Symbol: 015 = The output SWIFT file is in local,
Text Symbol: 014 = Background Job
Text Symbol: 013 = Job Close failed
Text Symbol: 012 = Job is being schedule
Text Symbol: 011 = Job name is missing
Text Symbol: 010 = Reversal
Text Symbol: 009 = Follow up action
Text Symbol: 008 = Can not create a job
Text Symbol: 007 = Use Job name and Execute(F8).
Text Symbol: 006 = This is a PC File, upload file can not be executed in Background.
Text Symbol: 005 = Failed factory method call
Text Symbol: 004 = Failed uploading statement file:





Text Symbol: 003 = Test Mode
Text Symbol: 002 = SWIFT File
Text Symbol: 001 = GOALS Report Input


INCLUDES used within this REPORT RFFMFGAUTOTCONFIRM

INCLUDE RFFMFGTCATOP.


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:

RS_VARIANT_LIST CALL FUNCTION 'RS_VARIANT_LIST' EXPORTING report = 'RFEBKA00' status = 'LIST' masked = g_mask variant = p_var IMPORTING variant = p_var EXCEPTIONS no_report = 1 no_variants = 2 report_not_existent = 3 report_not_supplied = 4 OTHERS = 5.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = 'PSM_AUTO_TC_CREATE_FILE' CHANGING physical_filename = ld_filename EXCEPTIONS validation_failed = 1 logical_filename_not_found = 2 others = 3.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = filename filetype = 'ASC' TABLES data_tab = x_pc_file EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = p_jobnam IMPORTING jobcount = l_jobnr EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobname = p_jobnam jobcount = l_jobnr strtimmed = 'X' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 700 text = text-012.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING I_S_LOG = G_S_LOG EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING I_S_MSG = L_S_MSG * I_LOG_HANDLE = EXCEPTIONS LOG_NOT_FOUND = 0 OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' * EXPORTING * I_S_LOG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_S_MSG_FILTER = * I_T_MSG_CONTEXT_FILTER = * I_T_LOG_HANDLE = * I_T_MSG_HANDLE = * I_S_DISPLAY_PROFILE = * I_AMODAL = ' ' EXCEPTIONS OTHERS = 1.

BP_JOB_SELECT CALL FUNCTION 'BP_JOB_SELECT' EXPORTING JOBSELECT_DIALOG = 'N' JOBSEL_PARAM_IN = seldates TABLES JOBSELECT_JOBLIST = jobtab EXCEPTIONS INVALID_DIALOG_TYPE = 1 JOBNAME_MISSING = 2 NO_JOBS_FOUND = 3 SELECTION_CANCELED = 4 USERNAME_MISSING = 5 OTHERS = 6.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING JOB_READ_JOBCOUNT = l_jobcount JOB_READ_JOBNAME = seldates-jobname JOB_READ_OPCODE = btc_read_jobhead_only IMPORTING JOB_READ_JOBHEAD = jobhead EXCEPTIONS INVALID_OPCODE = 1 JOB_DOESNT_EXIST = 2 JOB_DOESNT_HAVE_STEPS = 3 OTHERS = 4 .



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