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

RFFMMP_DOCREVERSE SAP ABAP Report - Reverse Budget Entry Documents







RFFMMP_DOCREVERSE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Reverse Budget Entry Documents You use this program to reverse multiple budget entry documents of the 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 RFFMMP_DOCREVERSE 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

FMDOCREV - Mass Reversal of FM Documents


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 RFFMMP_DOCREVERSE. "Basic submit
SUBMIT RFFMMP_DOCREVERSE AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMMP_DOCREVERSE 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_DETAIL = Detail list
Selection Text: P_DOCDAT = Document date
Selection Text: P_DOCFAM = Document family number
Selection Text: P_DOCYR = Document year
Selection Text: P_FMAREA = FM area
Selection Text: P_HEAD = Header text
Selection Text: P_LONG = Long text name
Selection Text: P_PARK = Prepost
Selection Text: P_POSDAT = D .
Selection Text: P_POST = Post
Selection Text: P_REVREA = D .
Selection Text: P_SELVAR = Variant Name
Selection Text: P_TEST = Test run
Selection Text: S_DOCNR = Document number
Title: Reverse Budget Entry Documents
Text Symbol: A04 = Test Mode
Text Symbol: A03 = Test Run Without AVC Checks
Text Symbol: A02 = Test Run
Text Symbol: A01 = Update/Productive Run
Text Symbol: 075 = Layout
Text Symbol: 074 = Detail List
Text Symbol: 033 = Others
Text Symbol: 032 = Variant Catalog for Multiple Selection
Text Symbol: 031 = Change FM area
Text Symbol: 030 = FM area
Text Symbol: 029 = Reverse documents
Text Symbol: 028 = Reversal state
Text Symbol: 001 = Documents selection criteria
Text Symbol: 002 = Reversal document settings
Text Symbol: 003 = Processing options
Text Symbol: 004 = Multiple selection
Text Symbol: 005 = Post
Text Symbol: 006 = Prepost
Text Symbol: 007 = Financial Management area
Text Symbol: 008 = Document year
Text Symbol: 009 = Document date
Text Symbol: 010 = Header text
Text Symbol: 011 = Long text name





Text Symbol: 012 = Processing status
Text Symbol: 013 = Test run
Text Symbol: 014 = Update run
Text Symbol: 015 = Number of warning messages
Text Symbol: 016 = Number of error messages
Text Symbol: 017 = Posted
Text Symbol: 018 = Preposted
Text Symbol: 019 = Preposted posted
Text Symbol: 020 = Preposted undone
Text Symbol: 021 = Normal
Text Symbol: 022 = Reversal
Text Symbol: 023 = Reversed
Text Symbol: 024 = To be reversed
Text Symbol: 025 = Doc. state
Text Symbol: 026 = Rev. state
Text Symbol: 027 = Document state


INCLUDES used within this REPORT RFFMMP_DOCREVERSE

INCLUDE IRFFMMP_DOCREVERSETOP.
INCLUDE FMMP_ALV_VARIANT.
INCLUDE FMMP_PROCESSING_OPTIONS_AVC.
INCLUDE RKASMAWF.
INCLUDE FMMP_ALV_VARIANT_FORM.


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:

FM_FYC_SELSCR_STATUS_SET CALL FUNCTION 'FM_FYC_SELSCR_STATUS_SET' EXPORTING i_t_fcode_excl = g_t_fcode.

FMREV_SHOW_ALL_REV_REASONS CALL FUNCTION 'FMREV_SHOW_ALL_REV_REASONS' IMPORTING E_S_REASON_WITH_TEXT = l_s_reason EXCEPTIONS NO_REV_REASONS_AVAILABLE = 1 NO_REV_REASON_SELECTED = 2 OTHERS = 3.

FMREV_READ_REVERSAL_REASON CALL FUNCTION 'FMREV_READ_REVERSAL_REASON' EXPORTING I_REASON_REV = p_revrea * I_FLG_BYPASS_BUFFER = IMPORTING E_FLG_CHG_PDATE_ALLOWED = l_flg_pdate_allowed.

FMREV_READ_REVERSAL_REASON CALL FUNCTION 'FMREV_READ_REVERSAL_REASON' EXPORTING I_REASON_REV = p_revrea * I_FLG_BYPASS_BUFFER = IMPORTING E_FLG_CHG_PDATE_ALLOWED = l_flg_pdate_allowed.

FM_FYC_SCHEDMAN_INIT CALL FUNCTION 'FM_FYC_SCHEDMAN_INIT' EXPORTING i_repid = 'RFFMMP_DOCREVERSE' i_tcode = 'FMDOCREV' i_wfitem = wf_witem i_wflist = wf_wlist i_flg_test = p_test IMPORTING e_f_schedman_key = g_f_schedman_key.

ENQUEUE_EGFMBDE CALL FUNCTION 'ENQUEUE_EGFMBDE' EXPORTING rfikrs = p_fmarea _scope = '1' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EGFMBDE CALL FUNCTION 'DEQUEUE_EGFMBDE' EXPORTING rfikrs = p_fmarea _scope = '1'.

FM_FYC_SCHEDMAN_CLOSE CALL FUNCTION 'FM_FYC_SCHEDMAN_CLOSE' EXPORTING i_f_schedman_key = g_f_schedman_key i_wfitem = wf_witem i_wfokey = wf_okey i_aplstat = g_aplstat i_cnt_obj = g_records_screen.






REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'BUMP_S_DOCREV_LIST' CHANGING ct_fieldcat = t_list_fcat[].



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