Up to the period : Fiscal year period Exit variable is not working

Hi Experts,
I have the following code to get the upto the Fiscal year period variable .It shoudl fetch the Values  From the starting of the Fiscal period like 2009001 whatever the  period user enters.But currnelty it is not woking.Please let me know am I doing any mistake in code.currently it is only fetching for the month user enters not up to the period.
Prasad
Variable Name : ZUPTOPER
User Entry  Var : 0P_FPER
WHEN 'ZUPTOPER'.
    IF i_step = 2.
      LOOP AT i_t_var_range INTO loc_var_range
      WHERE vnam = '0P_FPER'.
        fper = loc_var_range-low.
        fper+4(3) = '001'.
        CLEAR l_s_range.
        l_s_range-low      = fper.
        l_s_range-high     = loc_var_range-low.
        l_s_range-sign     = 'I'.
        l_s_range-opt      = 'BT'.
        APPEND l_s_range TO e_t_range.
        EXIT.
      ENDLOOP.
    ENDIF.

Hi Prasad,
This would be happening if you have put the user entry variable in the global filter of your query.
As a result the complete data set is restrcted to get the data only for one month.
Please use the variable for user entry month in a selection and not globally.
-Vikram

Similar Messages

  • Carry forward a Cost and Profit Center Budget to the next fiscal year

    Good day SAP Gurus
    How do i carry forward Cost Center and Profit Center  Budget from one fiscal year to the next fiscal year?

    Hello,
    You would not be able to carry forward these plan values becuase they are planned with respect to a particular period and year. The budgets only get carry forward for cost objects like orders and WBS where the objective is to accomplish a particular job.
    Kind Regards // Shaubhik

  • Depreciation does not extend after the Shortened Fiscal Year

    Fiscal Year variant setup in OB29:
    For Company Code assignment in FI year 2010 to 2020-
    Z6 year-dependent July - June, 4 special periods 12periods 4special periods
    For 2012 it is shortened to 11 periods, all other FY have 12 periods.
    For Asset Accounting FY Variant assigned to Company Code assignment in FI-AA -
    Z7 year-dependent July - June, 4 special periods 24periods 4special periods
    For 2012 it is shortened to 22 periods, all other FY have 24 periods.
    Period Control Method set is Z7/Z7/Z7/Z7
    where Z7 is defined in OAVH as (for year 2010, 2011, 2013, 2014-2020):
    Z7 Z7 15th of every month 2010 1 15 11
    Z7 Z7 15th of every month 2010 1 31 11
    Z7 Z7 15th of every month 2010 2 15 13
    Z7 Z7 15th of every month 2010 2 28 13
    Z7 Z7 15th of every month 2010 3 15 15
    Z7 Z7 15th of every month 2010 3 31 15
    Z7 Z7 15th of every month 2010 4 15 17
    Z7 Z7 15th of every month 2010 4 30 17
    Z7 Z7 15th of every month 2010 5 15 19
    Z7 Z7 15th of every month 2010 5 31 19
    Z7 Z7 15th of every month 2010 6 15 21
    Z7 Z7 15th of every month 2010 6 30 21
    Z7 Z7 15th of every month 2010 7 15 23
    Z7 Z7 15th of every month 2010 7 31 23
    Z7 Z7 15th of every month 2010 8 15 3
    Z7 Z7 15th of every month 2010 8 31 3
    Z7 Z7 15th of every month 2010 9 15 5
    Z7 Z7 15th of every month 2010 9 30 5
    Z7 Z7 15th of every month 2010 10 15 7
    Z7 Z7 15th of every month 2010 10 31 7
    Z7 Z7 15th of every month 2010 11 15 9
    Z7 Z7 15th of every month 2010 11 30 9
    Z7 Z7 15th of every month 2010 12 15 11
    Z7 Z7 15th of every month 2010 12 31 11
    (for year 2012 where it is a shortened FY):
    Z7 Z7 15th of every month 2012 1 15 13
    Z7 Z7 15th of every month 2012 1 31 13
    Z7 Z7 15th of every month 2012 2 15 15
    Z7 Z7 15th of every month 2012 2 28 15
    Z7 Z7 15th of every month 2012 3 15 17
    Z7 Z7 15th of every month 2012 3 31 17
    Z7 Z7 15th of every month 2012 4 15 19
    Z7 Z7 15th of every month 2012 4 30 19
    Z7 Z7 15th of every month 2012 5 15 21
    Z7 Z7 15th of every month 2012 5 31 21
    Z7 Z7 15th of every month 2012 6 15 0
    Z7 Z7 15th of every month 2012 6 30 0
    Z7 Z7 15th of every month 2012 7 15 1
    Z7 Z7 15th of every month 2012 7 31 1
    Z7 Z7 15th of every month 2012 8 15 3
    Z7 Z7 15th of every month 2012 8 31 3
    Z7 Z7 15th of every month 2012 9 15 5
    Z7 Z7 15th of every month 2012 9 30 5
    Z7 Z7 15th of every month 2012 10 15 7
    Z7 Z7 15th of every month 2012 10 31 7
    Z7 Z7 15th of every month 2012 11 15 9
    Z7 Z7 15th of every month 2012 11 30 9
    Z7 Z7 15th of every month 2012 12 15 11
    Z7 Z7 15th of every month 2012 12 31 11
    Depreciation in 2012 for assets are as expected with 11 periods. Half month's depreciation posted in the month of acquisition, and the following months are calculated accurately up to period 11.
    In FY 2013, June and July are in Period 1.
    For FI Posting, this is true and correct.
    For Depreciation Posting, only one year's depreciation is calculated but we need 1 year + 1 period (because the previous year was shortened by one period).
    Is there a setting to increase the depreciation or extend the depreciation for 1 period in 2013 that was reducde in 2012?       
    The shortened Fiscal Year changes are not in productiveness. The assets created are new assets such as in a normal operation when shortened Fiscal Year has been in place. As such, new assets have no expired useful life yet and it is newly capitalized.
    No user exits or custom development is in place.
    I have checked all the following notes, either they made no changes or were not relevant:
    58443
    183546
    397925
    1572545
    210214
    26891
    83213
    506632
    1021326
    1010159
    515571
    123026
    799719
    672255
    428292
    160093
    The depreciation calculation is lacking/missing one period of depreciation eventhough depreciation is not reduced.
    Please suggest any possible solution to this issue that we are facing. Thanks!

    Please check SPRO transaction AFAMA for the Depreciation Keys:
    Setting:
    Depr to the day
    No reduct in short year
    Period control according to fiscal years
    Check which is appropriate starting with the above order as I think this will fit your logic. But this depends on whether postings have already been made in the periods you want adjusted. If so then you need to use AFAR and choose repeat run after you have changed your config settings for the periods already posted. Additionally you may have problems if you have rolled forward your Fiscal Year in Assets and you will/may need to roll it back if possible before running AFAR etc.
    SAP normally calculates depreciation for straight line by taking the number of periods in a year and dividing total depreciation for that year by the periods and posting that figure for the month. If you set Depr to day then it will take into account different months day length etc.
    No reduc in short year would also solve your problem but would reflect the full year depreciation in the shortened year (12 periods not 11).
    Hope this helps if its not to late.

  • Asset write off in the current fiscal year.

    Hi Experts,
    I want to write off an asset in next 4 periods of the current fiscal year 2007. For example:
    Asset 11000
    APC value: 10000
    APC Date: 01.01.2005
    The useful life will end in fiscal year 2008.
    The book value left at the begining of the current fiscal year 2007 Rs. 4000.00
    In the current fiscal year this asset has already been depreciated for previuos 3 periods.
    Now Business wants to write off ( fully depreciated ) this asset in next 4 periods equally and then if the book value and tax value is nil, they want to scap the asset.
    Now can you please tell me how to make this happened. Its very urgent. If you need any more information, most welcome.
    Rgds,
    BABA

    Hi,
        You would have to set the asset to manual depreciation(Depr.Key MANU)
    and generate a posting via ABMA for each of the periods.
    Kind regards

  • ABST2 - How to take the report for the previous fiscal year

    Hi,
    For FI-AA reconciliation, my scenario is this: The current fiscal year is 2009 and the system (server) date is 16-Apr-2009. My fiscal year period is: Mar-Apr. In ABST2, it does not accept Fiscal year. When I take the report, it displays for fiscal year 2009, which I don't want because I want it for the fiscal year 2008 to reconcile between FI and AA. The fiscal year 2008 is not yet closed in both FI and AA, so I want the report for 2008 only. But ABST2 always gives the report for the current fiscl year. Is there any way out to get the report for 2008?.
    Thanks,
    Kannan S

    This report is based on the actual values. In the past this report was used for EURO conversions to see if the values are in line. When not it was not possible to do the euro conversion.
    Normal it is a part from the fiscal year closing

  • Depreciation of the Previous Fiscal Year want to post in Current FiscalYear

    I have already posted Depreciation for the year 2008 by using Planned Posting Run (T.code:AFAB)
    After that I have created one Asset Master (T.code: AS01)
    In AS01, Depreciation tab , I have set Depreciation starts from 19.09.2007, i.e. Fiscal year: 2007
    I have capitalised this asset as on 31.03.2008, i.e. Fiscal Year :2008
    Now I want to post Depreciation for the period  19.09.2007 to 31.03.2009 (560 Days) on 31.03.2009.
    When I am running AFAB  (Repeat Run) Fiscal year: 2008 & Period: 12  with this Specific Asset No, then system is calculating Depreciation only for 1 day, i.e. 31.03.2009
      As the Fiscal year:2007 has been closed for Asset module, hence I have opened Fiscal year: 2007 in AA (T.code: OAAQ)
    But after opening the Fiscal year :2007 also, system is  calculating Dep only for one day.
    Please suggest me how will I solve this issue
    Thanks & Regards,
    Suvadip Mukherji

    >
    Amitava Bhattacharyya wrote:
    > Hi,
    >
    > Plz suggest whether the last period of the previous fiscal year can be opened in MM to allow backposting. If it's possible then how?
    >
    >
    >
    > Amitava
    Please check these answered links:
    MMPI
    Opening the Closed Periods using MMPI
    Edited by: Afshad Irani on Jun 15, 2010 3:45 PM

  • Opening activities for the ne Fiscal Year

    Dear All
    what are the activities that are required to carry out for opening the New Fiscal Year..
    Thanks  & Regards
    Veena Kunthe

    Hello
    The new fiscal year is automatically opened when you make your first posting in the new fiscal year or once the balance carried forward program has been run. You do not have to close the old fiscal year before you can post data in the new one. You therefore do not need to create closing or opening financial statements.
    The prerequisites for posting to a new fiscal year are as follows:
    If you are using a fiscal year variant which is year-specific, you first have to create a variant for this fiscal year and assign it to the relevant company code. See Fiscal Year and Calendar Year
    If you have also defined year-dependent document number assignment, you must have already set up the document number ranges for the new fiscal year. For more information, see  Document Number Assignment
    The relevant posting periods must be open in the new fiscal year. See Opening and Closing Posting Periods
    Check this link for more documentation on carry forwarding balances
    http://help.sap.com/erp2005_ehp_02/helpdata/en/96/8b307143ce11d189ee0000e81ddfac/frameset.htm
    Reg
    assign points if useful

  • To post write up in the current fiscal year

    Hi,
    I am trying to post write up in the current fiscal. However, the system is not allowed to post me. I know that the write-up needs to be posted from the next fiscal year. However, due to the requirement, we need to post in this current and switch off the message.  I have already switched off the message in OBA5, but still, I cannot proceed to post with write-up in the current year. Is there a way that I can post this.
    The following are the error details.
    You cannot post write-ups
    Message no. AA400
    Diagnosis
    According to the transaction type, you have to post to area 01. However, in this area, there is either no accumulated depreciation or the write-up depreciation type(s) are not managed in this area.
    Procedure
    Check the transaction type.
    Regards,
    Ravi

    Hi Ravi,
    A write up can only be carried out if you have cumulated depreciation   values (from previous years). In the current fiscal year depreciation  should be posted the 'normal' way. Write ups mean that too much  depreciation was posted in a previous year and that you will correct  this in the current year. Therefore, the system does not allow posting write ups if there exist no cumulative depreciation values from   previous year. In other words you cannot perform a write up  for an asset in the year of acquisition.                                                                               
    Also make sure that the depreciation area(s) is defined as such to  manage cumulative depreciation type or write-up depreciation type. This  should eliminate the error 'AA400'.                                                                               
    Following is the menu path to take:                                       
    CU: FI-AA
         -> Transactions                     
         - > Define Transaction Types for                                           
             - > post-capitalization (trans. AO77 and OAXD)                          
              -> manual depreciation (trans. AO78 and OAXE)                          
    For both,- select your Chart of Depr.                                      
             - >select your Transaction Type                                    
             -> select Depr. Area Specs.                                        
    Regards Bernhard
    Edited by: Bernhard Kirchner on May 10, 2010 3:00 PM

  • I would like to display current fiscal year always on variable screen

    Hi
    I have requirement in which I would like to display the current fiscal year on variable screen in BI Report.
    we have a standard variable however the sap exit to display the current fiscal year is not shown...
    Can any one tell me, how to proceed in this case.
    Thanks
    Chetan

    Hello,
    For I-step = 1, use the function module DATE_TO_PERIOD_CONVERT.
    here for IMPORT use i_date = sy-datum and i_periv = ur fiscal variant.
    The output is e_buper contains fiscal period and e_gjhar contains fiscal year.
    The use concatenate to join fiscal year and fiscal period to the variable low value.
    Regards,
    Shashank

  • System fiscal year in co code does not match current fiscal year.

    Hi
    I have seen this problem.I  did run some closing steps and this error gone . Can some one please explain some logic behind this error ? Because I am sure i have not done any specific transaction to match the system fiscal year and current fiscal year then how this error gone away ?
    I have checked the other posts on this forum related to this error but still feel to ask for clarity of concept.
    Thanks in advance
    Satya

    Hi Satya,
    Ex:
    FY is 2011 ( for US)
    compny code FY may / may not same as system FY.
    for Business adjust ment / Financial Adjustments client not close previous FY.
    now if you check your system, Comp Code FY is 2010 & System FY is 2011.
    Company Code Closing FY T.Code: OAAQ
    Tables need to chek for conformation year end activities done/not: TABA, T093B, T093C
    Regards,
    Viswa

  • Hi, I've used four different Groups when emailing for the past few years, and suddenly they have stopped working. I've tried creating new Groups but that doesn't work either. I haven't changed or done anything different and it is driving me mad......

    Hi, I've used four different Groups when emailing for the past few years, and suddenly they have stopped working. I've tried creating new Groups but that doesn't work either. I haven't changed or done anything different and it is driving me mad......can anyone help, please?!

    Thanks for that information!
    I'm sure I will be calling AppleCare, but the problem is, they charge for the phone calls don't they? Because I don't have money to be spending to be on the phone with a support service.
    In other things, it seemed like the only time my MacBook was working was when I had Snow Leopard without the 10.6.8 update download that was supposed to be done to prepare for OS X Lion.
    When I look at the information of my HD it says that I have 10.6.8 but that was the install that it claimed to have failed and caused me to restart resulting in all of the repeated problems.
    Also, because my computer is currently down, and I've lost all files how would that effect the use of my iPhone? Because if it doesn't get fixed by the time OS 5 is released, how would I be able to upgrade?!

  • The home button on my iphone 5 is not working.

    The home button on my iphone 5 is not working, so I'm using assistive touch.  How do I close open apps without double tapping the home button?

    The other possible things you can try would include...
    Inserting the lightning connector and applying a little bit of pressure up under the Home button.
    Some folks have cleaned the Home button with a few drops of isopropic alochol caring to not get it on your screen.  This is only going to get things working again if it has been gummed up through normal use
    If you are still within the one-year warranty or extended it with Apple Care don't try any of these steps just take it to Apple. 

  • HT201210 with the latest version of OS my Camera is not working and my WiFi Greaid out what can I do to fix this issu?

    with the OS 6.1.3 my Camera is not working the shutter is close out and My WiFi graied out need help
    Thanks

    Hello ffattah,
    Thank you for using Apple Support Communities
    I have a couple of articles for you to run through and test out. The first is to address the camera not working, take a look at this one iPhone: Hardware troubleshooting found here http://support.apple.com/kb/TS2802.
    Camera is not functioning
    If the screen shows a closed lens or black image, force quit the Camera app.
    If you do not see the Camera app on the Home screen, try searching for it in Spotlight. If the camera does not show up in the search, check to make sure that Restrictions are not turned on by tappingSettings > General > Restrictions.
    Ensure the camera lens is clean and free from any obstructions. Use a microfiber polishing cloth to clean the lens.
    Third-party cases can interfere with the autofocus/exposure feature and the flash (iPhone 4 only); try removing the case if you have image-quality issues with photos.
    Try turning iPhone off and then back on.
    Tap to focus the camera on the subject. The image may pulse or briefly go in and out of focus as it adjusts.
    Try to remain steady while focusing:
    Still images: Remain steady while taking the picture. If you move too far in any direction, the camera automatically refocuses to the center. Note: If you take a picture with iPhone turned sideways, it is automatically saved in landscape orientation.
    Video: Adjust focus before you begin recording. After recording begins, you cannot readjust focus until you stop recording. Exiting the Camera application while recording will stop recording and will save the video to the Camera Roll. Note: Video-recording features are not available on original iPhone or iPhone 3G.
    If your iPhone has a front and rear camera, try switching between them to verify if the issue persists on both.
    For the Wifi being grayed out in your settings take a look at this article named iOS: Wi-Fi settings grayed out or dim found here http://support.apple.com/kb/ts1559
    And if none of that works try resetting the device with this process from iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting found http://support.apple.com/kb/ht1430.
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    Lastly you may need to backup and restore the device with iTunes:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    All the very best,
    Sterling

  • When logging in into yahoo mail after typing in password Firefox is adding something, login fails all the time. At yahoo mail Notepad does not work because it is impossible to close the list of items and they cover information, so I have to go to IE.

    When logging in into yahoo mail after typing in password Firefox is adding something, probably remembered password and login fails all the time. At yahoo mail Notepad does not work because it is impossible to close the list of items and they cover information, so I have to go to IE.

    Only when i go to a different browser (like IE) after i clear it , then all that shows up is the pages i visited in IE , that is what bugs me , why is IE browsing history sowing up in Firefox ??
    Basically , i can clear the history in Firefox , and then for a example , go to Craigslist , using IE7 (launching it from a complete different Icon , in other words at that time i never open Firefox) , then after closing out , or even leaving open as it does not seem to matter , i go into Firefox , and hit History , and there is every place i visited in IE7 , on my History in Firefox

  • I am trying to set an open DNS using the MacAir. But when I tried to flush the existing one at utilities/terminal, it will not work.  I am using Yosemite.  May I know what should be the command line so that I can shift to an open DNS?  Thanks

    I am trying to set an open DNS using the MacAir. But when I tried to flush the existing one at utilities/terminal, it will not work.  I am using Yosemite.  May I know what should be the command line so that I can shift to an open DNS?  Thanks

    >SystemPreferences>Network>DNS

Maybe you are looking for

  • I am on Mac OS 10.6.7 and Java Plug-in 2 for NAPI will not work in FF4.0?

    When trying to attend a webinar which uses the Java 2 NAPI plug-in I get an error message in FF 4.0 saying I need to install thiis plug-in, which is already installed. I have gone to the add-on manager and disabled this plug-in restarted and enabled

  • Is record changed in ADF BC.

    How can we find a database record is changed or not in ADF BC application developed at JDev 11g R1 ? Thanks.

  • ADS Error : SOAP runtime exception

    Hi, Wish u a happy new year.... Iam facing a problem in Adobe document services while executing the progeam SOAP runtime exception: CSoapExceptionTransport : (100101). please try to solve this.. Thanks,

  • Importing MPEG1 files into Motion?!

    Hi, it seems that I can't import MPEG1 files into motion even if they play perfectly well in QT player, hence are perfectly supported by Quicktime. Any help on that?   Mac OS X (10.4.5)  

  • Do I get a backup file?

    I am going to purchase Photoshop Elements 10 but have downloaded the trial version. I am sure this is the same file but when I purchase it the serial number will activate the license. If my hard drive fails at some point and I need to reinstall it, w