07-08-2012 4:58 AM
Hi All,
When Copying budget from one Fiscal year to another year, Here i need to validate Fiscal year (Source FY and target FY).
For doing this we have on BADI, FMCU_RULE, but it does't h've the target FY parameter to compare both source and target FY's.
No Enhancements found on this Package.
Kindly help me out. Thanks in Advance.
07-08-2012 5:37 AM
Hi Ramesh,
There are many ways of doing this viz.
i) Instead of going for BADI. You can simply copy standard prog RFFMCY_LOAD_700 for transaction FMCYLOADN into a custom program and add your validation of fiscal year. This is standar report program underlying this transaction hence it would not be a big deal.
ii)You can go for implicit enhancement option if you vouch for customizing the standard program. You can find implicit enhancement option in begining of subroutine 'fill_settings' which basically transfers Source FY to Target Fy. This will be the most easier option.
iii)If want to stick to BADI then you can check method CHANGE_PROCESS of BADI FMCU_RULE. There are 2 fiscal years availble in the parameters of this method. However I'm not sure if it would suffice yor requirment or not.
Hope this would help. I would recommend you to go for option no 2 as it is easy and a quick one.
BR,
Atanu Mukherjee