SAP Reports / Programs

RFFMMD_REPLACE_HIVARNT SAP ABAP Report - Change Assignment of Hierarchy Variant







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FMCI_REPLACE_HIVARNT - Replace Hierarchy Variant Assignment


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 RFFMMD_REPLACE_HIVARNT. "Basic submit
SUBMIT RFFMMD_REPLACE_HIVARNT AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMMD_REPLACE_HIVARNT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT RFFMMD_REPLACE_HIVARNT

No INCLUDES are used within this REPORT code!


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_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.



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