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

RFFMFGTCREV_CHECKS SAP ABAP Report - Treasury Confirmation: Reverse Single Check







RFFMFGTCREV_CHECKS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Use this program to reverse single checks or ranges of checks, but not whole check runs, issued under the Treasury Confirmation process...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 RFFMFGTCREV_CHECKS 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_TC_REV_CHECKS - US Fed. TC Schedule Reversal - check


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 RFFMFGTCREV_CHECKS. "Basic submit
SUBMIT RFFMFGTCREV_CHECKS AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMFGTCREV_CHECKS 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: S_CHKNUM = Check Number
Selection Text: P_VOIDR = D Void reason code
Selection Text: P_TEST = Simulate
Selection Text: P_REVR = Reversal Reason
Selection Text: P_POSTD = D Posting Date
Selection Text: P_PERIOD = Posting Period
Selection Text: P_HKTID = D Account ID
Selection Text: P_HBKID = House Bank
Selection Text: P_FY = D Fiscal Year
Selection Text: P_DOCDT = D Document Date
Selection Text: P_COCODE = D Company Code
Title: Treasury Confirmation: Reverse Single Check
Text Symbol: 053 = Confirm
Text Symbol: 054 = The selected document range contains & payment documents.
Text Symbol: 055 = Reverse Processing is cancelled by user.
Text Symbol: 056 = Continue processing
Text Symbol: 064 = Check voided for payment document
Text Symbol: 066 = No clearing document for payment document
Text Symbol: 068 = No checks found in specified range
Text Symbol: 070 = Cannot reset clearing document
Text Symbol: 071 = Cannot reverse clearing document
Text Symbol: 073 = Cannot reverse payment document
Text Symbol: 074 = Check is voided
Text Symbol: 080 = Cannot block invoice line item
Text Symbol: A01 = Recertified Payment Initiated Immediately
Text Symbol: A02 = Recertified Payment Postponed
Text Symbol: 052 = Testing: reversal of payment document
Text Symbol: 003 = Clearing Document
Text Symbol: 004 = Reversed By
Text Symbol: 005 = Payment Document
Text Symbol: 006 = Check Number
Text Symbol: 007 = House Bank
Text Symbol: 008 = Account ID
Text Symbol: 010 = Check Reversal Information
Text Symbol: 011 = Recertify Payment Status
Text Symbol: 015 = Reverse Posting Details
Text Symbol: 016 = Check Management Specifications
Text Symbol: 022 = Cannot reset payment document





Text Symbol: 025 = Company is invalid
Text Symbol: 026 = Posting period is incorrect for posting date
Text Symbol: 027 = Fiscal Year is incorrect
Text Symbol: 028 = Cannot void check associated with payment document
Text Symbol: 032 = Processing by check range:
Text Symbol: 034 = Table PAYR has no cheques in specified range
Text Symbol: 035 = No clearing document found for payment document
Text Symbol: 038 = Reset clearing document
Text Symbol: 044 = Reversed payment document
Text Symbol: 045 = Reversed clearing document
Text Symbol: 046 = Reset payment document
Text Symbol: 047 = Test Mode
Text Symbol: 049 = Testing: reset of clearing document
Text Symbol: 050 = Testing: reversal of clearing document
Text Symbol: 051 = Testing: reset of payment document


INCLUDES used within this REPORT RFFMFGTCREV_CHECKS

INCLUDE RFFMFGTCREV_TOP.
INCLUDE RFFMFGTCREV_CHECK_SEL_SCRN.
INCLUDE RFFMFGTCREV_MSG_LOGF01.
INCLUDE RFFMFGTCREV_ALV_GRID_CHECK.


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:

FI_COMPANY_CODE_DATA call function 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = p_cocode IMPORTING e_t001 = t001 EXCEPTIONS OTHERS = 4.

FI_PERIOD_DETERMINE call function 'FI_PERIOD_DETERMINE' exporting i_budat = p_postd i_bukrs = p_cocode importing e_gjahr = x_gjahr e_monat = x_monat.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = l_text textline2 = text-056 titel = text-053 IMPORTING answer = l_answer.

CALL_FBRA CALL FUNCTION 'CALL_FBRA' EXPORTING i_bukrs = p_cocode i_augbl = g_t_worklist-clearing_doc " clearing doc i_gjahr = g_t_worklist-clearing_doc_fy i_xsimu = p_test " Testing mode EXCEPTIONS not_possible = 1 OTHERS = 2 .

ISPS_CALL_FB08 CALL FUNCTION 'ISPS_CALL_FB08' EXPORTING i_bukrs = p_cocode i_belnr = g_t_worklist-clearing_doc i_gjahr = g_t_worklist-clearing_doc_fy i_stgrd = p_revr " Reversal reason i_voidr = p_voidr " Void reasonal code i_bldat = p_docdt " Rev. Doc Dt

VOID_CHECK_INFORMATION call function 'VOID_CHECK_INFORMATION' exporting i_payr = l_payr exceptions payr_update_error = 1 others = 2.

CALL_FBRA CALL FUNCTION 'CALL_FBRA' EXPORTING i_bukrs = p_cocode i_augbl = g_t_worklist-payment_doc i_gjahr = g_t_worklist-payment_doc_fy i_xsimu = p_test EXCEPTIONS not_possible = 1 OTHERS = 2.

ISPS_CALL_FB08 CALL FUNCTION 'ISPS_CALL_FB08' EXPORTING i_bukrs = p_cocode i_belnr = g_t_worklist-payment_doc i_gjahr = g_t_worklist-payment_doc_fy i_stgrd = p_revr i_voidr = p_voidr " Void reasonal code i_bldat = p_docdt " Rev. Doc Dt

FI_DOCUMENT_CHANGE call function 'FI_DOCUMENT_CHANGE' exporting i_awtyp = l_t_bkpf-awtyp i_awref = l_awref i_aworg = l_aworg i_awsys = l_t_bkpf-awsys I_KUNNR = g_t_regup-kunnr "note 1306887 I_LIFNR = g_t_regup-lifnr I_OBZEI = l_t_bseg-obzei * i_buzei = g_t_regup-buzei TABLES t_accchg = l_accchg EXCEPTIONS no_reference = 1 no_document = 2 many_documents = 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 RFFMFGTCREV_CHECKS or its description.