RFFMMD_REPLACE_HIVARNT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Changing the Assignment of a Hierarchy Variant to a FM Area/Fiscal Year You can use this program to remove the assignment of a hierarchy variant to a FM area/fiscal year and replace it with a new hierarchy variant...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 RFFMMD_REPLACE_HIVARNT into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FMCI_REPLACE_HIVARNT - Replace Hierarchy Variant Assignment
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.
Results
Selection Text: P_XDEL = Delete
Selection Text: P_XHIVAR = Replace with
Selection Text: P_FIKRS = D .
Selection Text: P_GJAHR = D .
Selection Text: P_HIVAR = D .
Title: Change Assignment of Hierarchy Variant
Text Symbol: 001 = FM area
Text Symbol: 002 = Fiscal Year
Text Symbol: 003 = Assignment of hierarchy variant to
Text Symbol: 004 = Hierarchy variant does not exist
Text Symbol: 005 = Hierarchy variant YYYY could not be assigned to fiscal year XXXX
Text Symbol: 006 = Hierarchy variant YYYY assigned to fiscal year XXXX
Text Symbol: 007 = Assignment to fiscal year XXXX could not be deleted
Text Symbol: 008 = Assignment of Hierarchy Variant to fiscal year XXXX deleted
Text Symbol: 009 = Action
001 Messages
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FM_HIVARNT_READ_HIERARCHY CALL FUNCTION 'FM_HIVARNT_READ_HIERARCHY' EXPORTING i_fikrs = p_fikrs i_hivarnt = l_f_fm01h-hivarnt TABLES t_fmhisv = l_t_fmhisv.
FM_FUNDS_CENTER_UPDATE_HIER CALL FUNCTION 'FM_FUNDS_CENTER_UPDATE_HIER' TABLES t_fmhisv_ins = l_t_fmhisv t_fmhisv_upd = l_t_fmhisv_dummy EXCEPTIONS error_occurred = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFFMMD_REPLACE_HIVARNT - Change Assignment of Hierarchy Variant RFFMMD_REPLACE_HIVARNT - Change Assignment of Hierarchy Variant RFFMMD_ME_SET_F01 - Set creation Funded Program RFFMMD_ME_SET_D - Grants Management: Sets for Sponsored Classes RFFMMD_ME_SET_D - Grants Management: Sets for Sponsored Classes RFFMMD_ME_SET_CON - Include RFFMMD_ME_SET_CON