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
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
Below is a list of transaction codes which are relevant to this SAP report
FMDOCREV - Mass Reversal of FM Documents
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: 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
INCLUDE IRFFMMP_DOCREVERSETOP.
INCLUDE FMMP_ALV_VARIANT.
INCLUDE FMMP_PROCESSING_OPTIONS_AVC.
INCLUDE RKASMAWF.
INCLUDE FMMP_ALV_VARIANT_FORM.
No SAP DATABASE tables are accessed within this REPORT code!
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[].
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.
RFFMMP_DOCREVERSE - Reverse Budget Entry Documents RFFMMP_DOCREVERSE - Reverse Budget Entry Documents RFFMMP_COVR_BT - Carry Over Residual Budget (Budget Type) RFFMMP_COVR_BT - Carry Over Residual Budget (Budget Type) RFFMMP_COVR_700 - Carry Over Residual Budget RFFMMP_COVR_700 - Carry Over Residual Budget