SAP Reports / Programs

RFFMCY_COPY_DOCUMENT SAP ABAP Report - Copy Budget Documents







RFFMCY_COPY_DOCUMENT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program is only relevant for FM budgeting...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 RFFMCY_COPY_DOCUMENT 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

FMCYDOC - Copy Budget 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 RFFMCY_COPY_DOCUMENT. "Basic submit
SUBMIT RFFMCY_COPY_DOCUMENT AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMCY_COPY_DOCUMENT 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_DKEY = Distribution Key
Selection Text: P_FLGDK = Distribution Key
Selection Text: P_FLGPER = Period
Selection Text: P_FMAREA = FM Area
Selection Text: P_RFCPRC = Use Parallel Processing
Selection Text: P_SELVAR = Variant Name
Selection Text: P_SVERS = Version
Selection Text: P_TEST = Test Run
Selection Text: P_TPERFR = Target Period (from)
Selection Text: P_TPERTO = Target Period (to)
Selection Text: P_TVERS = Target Version
Selection Text: P_VAR_MS = Variant Name
Selection Text: S_BUDPER = D .
Selection Text: S_FAREA = D .
Selection Text: S_FICTR = D .
Selection Text: S_FIPEX = D .
Selection Text: S_FONDS = D .
Selection Text: S_GRANT = D .
Selection Text: S_MEASR = D .
Selection Text: S_USERD = D .
Title: Copy Budget Documents
Text Symbol: 203 = Srce. Doc. Year
Text Symbol: 202 = Target Doc.
Text Symbol: 201 = Source Doc.
Text Symbol: 115 = Restriction on Customer Fields
Text Symbol: 114 = Copy Texts
Text Symbol: 113 = Document Number
Text Symbol: 112 = Exclude Already Copied Documents
Text Symbol: 111 = Process with Dialog
Text Symbol: 110 = Restriction on Header Settings
Text Symbol: 109 = From
Text Symbol: 108 = Release
Text Symbol: 107 = Budget
Text Symbol: 106 = Value Type
Text Symbol: 105 = Funded Program
Text Symbol: 104 = Functional Area
Text Symbol: 103 = Commitment Item





Text Symbol: 102 = Funds Center
Text Symbol: 101 = Grant
Text Symbol: 100 = Fund
Text Symbol: 099 = or Group
Text Symbol: 204 = Source Document Year
Text Symbol: 301 = Localization Fields
Text Symbol: 302 = Extension Fields
Text Symbol: A01 = Update/Productive Run
Text Symbol: A02 = Test Run
Text Symbol: A03 = Test Run Without AVC Checks
Text Symbol: A04 = Test Mode
Text Symbol: CI1 = Custom object
Text Symbol: H01 = Restriction on Constant FMAA Elements
Text Symbol: H02 = Restriction on Hierarchy
Text Symbol: H03 = Restriction on Not Relevant FMAA Elements
Text Symbol: H04 = Access Objects
Text Symbol: H05 = FM Account Assignment Hierarchy Selection
Text Symbol: H06 = Restriction According to Attributes
Text Symbol: L01 = Years of Cash Effectivity
Text Symbol: L03 = Budget Category / YCE
Text Symbol: L04 = Budget Type
Text Symbol: P01 = Period
Text Symbol: P02 = Number of Concurrent Tasks
Text Symbol: P03 = Parallel Processing
Text Symbol: X01 = Multiple Selection
Text Symbol: 082 = Fiscal Year
Text Symbol: 031 = Budget Category
Text Symbol: 030 = FM Area
Text Symbol: 029 = Add New Data Only
Text Symbol: 028 = Add Data
Text Symbol: 027 = Reset and Overwrite
Text Symbol: 026 = Budget Category
Text Symbol: 025 = Choose Combinations
Text Symbol: 024 = Rounding
Text Symbol: 023 = Additional Data
Text Symbol: 022 = Grouping Settings
Text Symbol: 021 = Posting Date
Text Symbol: 020 = Document Date
Text Symbol: 019 = Document Type





Text Symbol: 018 = Target Budget Type
Text Symbol: 017 = Target Fiscal Year
Text Symbol: 016 = Document Year
Text Symbol: 015 = Distribution Key
Text Symbol: 014 = Target Period
Text Symbol: 013 = to
Text Symbol: 012 = Period
Text Symbol: 011 = Target Version
Text Symbol: 010 = Source Version
Text Symbol: 009 = and Budget Type
Text Symbol: 008 = One Specifc Process
Text Symbol: 007 = Specific Processes and Budget Types
Text Symbol: 006 = All Processes and Budget Types
Text Symbol: 005 = Processing Options
Text Symbol: 004 = Document Settings
Text Symbol: 003 = Target Settings
Text Symbol: 002 = Calculation Base
Text Symbol: 001 = FM Account Assignments
Text Symbol: 081 = Version
Text Symbol: 080 = Budget Category
Text Symbol: 075 = Layout
Text Symbol: 074 = Detail List
Text Symbol: 063 = Target Budget Category
Text Symbol: 062 = Source Budget Category
Text Symbol: 061 = Rounding up
Text Symbol: 060 = Rounding off
Text Symbol: 059 = Commercial
Text Symbol: 058 = Others
Text Symbol: 057 = All Planning Data
Text Symbol: 056 = FM Area
Text Symbol: 055 = Document Family
Text Symbol: 054 = Revaluation(%)
Text Symbol: 053 = Number of Warning Messages
Text Symbol: 052 = Number of Error Messages
Text Symbol: 051 = Number of Posted Documents
Text Symbol: 050 = Update Run
Text Symbol: 049 = Test Run
Text Symbol: 044 = Test Mode
Text Symbol: 043 = Copy Budget Type



Text Symbol: 042 = Update Mode
Text Symbol: 041 = Mode
Text Symbol: 040 = Processing Options
Text Symbol: 039 = Period
Text Symbol: 038 = Fiscal Year
Text Symbol: 037 = Version
Text Symbol: 035 = Target
Text Symbol: 034 = Source
Text Symbol: 033 = Rounding Factor
Text Symbol: 032 = Rounding Mode


INCLUDES used within this REPORT RFFMCY_COPY_DOCUMENT

INCLUDE IRFFMCY_COPY_DOCUMENT_TOP. " GLOBAL DATA
INCLUDE IRFFMCY_COPY_DOCUMENT_S01.
INCLUDE IRFFMCY_COPY_DOCUMENT_F01.
INCLUDE IRFFMCY_COPY_DOCUMENT_I01.
INCLUDE IRFFMCY_COPY_DOCUMENT_O01.


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 IMPORTING e_text_block_fma = bltxtfma e_text_block_mass = bltxtmss e_text_button = pbfmsele e_title_selvar_f4 = g_selvar_f4_title.

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

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.



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