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
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
Below is a list of transaction codes which are relevant to this SAP report
FMFG_TC_REV_CHECKS - US Fed. TC Schedule Reversal - check
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.
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
INCLUDE RFFMFGTCREV_TOP.
INCLUDE RFFMFGTCREV_CHECK_SEL_SCRN.
INCLUDE RFFMFGTCREV_MSG_LOGF01.
INCLUDE RFFMFGTCREV_ALV_GRID_CHECK.
No SAP DATABASE tables are accessed within this REPORT code!
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.
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.
RFFMFGTCREV_CHECKS - Treasury Confirmation: Reverse Single Check RFFMFGTCREV_CHECKS - Treasury Confirmation: Reverse Single Check RFFMFGTCREV_ALV_GRID_SCHEDULE - Include RFFMFGTCREV_ALV_GRID_SCHEDULE RFFMFGTCREV_ALV_GRID_CHECK - Include RFFMFGTCREV_ALV_GRID_CHECK RFFMFGTCONFIRM_NEW - Treasury Confirmation RFFMFGTCONFIRM_NEW - Treasury Confirmation