Problem with Offset of 0FISCPER

Hi,
     I have a query which accepts a from fiscal period and a to fiscal period. Three columns should be displayed, the first column should display a key figure for the selected range(for this I used teh range restriction) and second column should display the key figure for the last period of the selection(I used the SAP Exit variable 0P_FPER3) and the third column is the one which I need help for. It should display the key figure for last period of the previous fiscal year, I am unable to use an offset for this as it throws an error.
      For ex:
      If i/p is 01/2002 to 05/2006. The first column is showing the range of [01/2002 to 05/2006], second column is showing the last period 05/2006(using 0P_FPER3), third column should show 05/2005.
     Any thoughts ???
FYI: Offset for 0P_FPER3 is not working.
Thank You.

You can find string length first. Subtract length by 4,  Then use like new = str+4(len), use condense if required.

Similar Messages

  • Problem with offset values

    Hi Experts,
    I have a problem with offset values. I have create a variable on OFISCPER, it's characteristic value, indivdual value, mandatory and ready for the input. I need to show the varibel period and the l previous period and so on till 12 periods. I used the offset values (-1, -2, etc.) but when I execute the query I can show just the variable period and the period previous I don`t see. The query is based on multiprovider and don´t has filters. Can anyone help me?

    Leonel,
    You may nt need to have 12 columns in the query designer.
    You could include the keyfigure and restrict it to the variable and create the offset for the 12 periods
    Check this http://help.sap.com/saphelp_nw04/helpdata/en/00/e8d13f7fb44c21e10000000a1550b0/frameset.htm
    -Doodle

  • Problem with offset length

    Hi,
    i have a problem with offset length please see below code and suggest :
    data: content_new                LIKE soli-line.   "It has a length of 255 charecter
    content_new = 'MTE:SD0\nwssd01_SD0_00\CPU\CPU_Utilization'.
    content_new = content_new+4(251).
    it is giving result:
    content_new = SD0\nwssd01_SD0_00\CPU\CPU_Utiliza  "it is removing last 4 charecter of UTILIZATION also
    while i need :
    content_new = 'SD0\nwssd01_SD0_00\CPU\CPU_Utilization'.
    can anyone plz help me?
    regards.
    Moderator Message: Duplicate Post.
    Edited by: kishan P on Oct 28, 2010 9:44 AM

    You can find string length first. Subtract length by 4,  Then use like new = str+4(len), use condense if required.

  • Problem with offset settings CS5

    I have got a large indesign CS5 (Win) document with many photos linked (all in RGB).
    How should I prepare pdf for offset?
    I am not sure the RGB-> CMYK conversion. If I can used conversion from Indesign which settings shoudl I choose.
    I tried Pdf/X-1a 2001 but I am not sure about quality of phaotos and conversion RGB-> CMYK, apart of this text in
    such a pdf is not sharp, seems pixelised.
    Could you help me to solve this problem?
    Is there any difference between external RGB->CMYK conversion with photoshop and those automatic from Indesign?offset, pdf
    Please help

    If I make a page with a frame filled with a color where it's easy to spot a conversion—something like 0/0/10/50—and export it as PDF/X-1a, AcrobatX's preflight tells me the profile is DeviceCMYK not the Fogra27 Output Intent Profile I exported.
    If I open Acrobat's Output Preview, the default Simulation Profile is the output intent profile and the gray shows the same 0/0/10/50 separation as in ID. If I change the Simulation Profile to US Sheetfed the separation panel does not show a conversion—I still get 0/0/10/50.
    If I  print separations to the different destination profiles the results match the Output Preview, in both cases the cyan and magenta plates are blank. I don't see anyway to force a CMYK-to-CMYK conversion from the Print dialog.
    If I export the page again and include a destination profile rather than an output intent (by setting the Standard to None) I get very different results.
    Preflight shows Fogra as the profile. In this case the Output Preview simulation defaults to my Acrobat working CMYK space and I get a conversion (because it is not Fogra). If I select Fogra as the simulation there's no conversion, which is what I expect. Again my printed separations match the simulations—by default I get a CMYK-to-CMYK conversion.

  • Custom InfoObject for date, problem with offset

    Hi all,
    I have a BEx reports presenting 0CALWEEK and another IO I created for dates.
    This IO has the same properties as 0CALWEEK (but it was not created as a reference of 0CALWEEK).
    In my report I'd like to use offsets for both IO's.
    It works perfectly for 0CALWEEK, but it doesn't work at all for the other IO. Actually, only the first offset is shown. For all others weeks, I get "#".
    Additionally, I made some calculations based on the week difference (using formula variables). Of course, every time a "#" appears, the calculation cannot be done (otherwise it works like it should).
    Could anybody help me out with this?
    Thanks in advance

    Hi Jagadeesh,
    did I understand you correctly that:
    1) offsets only work with standard characteristics? (this seems really weird to me...)
    2) if I want to use offsets with with Z_* characteristic, I will need ABAP?
    The problem is that I don't know anything about ABAP.
    Do you know any "typical" code to use to resolve this type of problem?
    Where do I have to use this code: in the query, in the IO, in a start routine somewhere?
    Thanks

  • Problem with variable on 0fiscper on a infoset in a report

    hi ,
    I have an infoset  on two ods's , ods1 & ods2. I have used inner join and the join is on field 0fiscper and fiscal variant. Which are  present in both ods.
    In my query i have created a variable on ods1 0fiscper, the same variable appears for ods2 0fiscper also.
    I have two issues mainly
    1. In the variable entry screen when i click  the button for value selection - i am get a lot of values for 0fiscper , even though my both ods have 6 periods only. I have other reports which use the same variable there i don't have a problem.
    2. And after the query is executed when i try to filter on 0fiscper i get the following error
    <b>System error in program CL_RSMD_RS_SPECIAL and form GET_DIME_VALUES-02 (see long text)</b>
    I am assuming the problem are due to the info set.
    Any help is appreciated.

    FYI, when you create a variable on a characteristic (in your case FISCPER), those variables are not query specific. They are known as global variables and hence are avble in all queries were 0FISCPER is used.
    As for the error message...please look into the SAP Note <a href="https://websmp103.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1006369&_NLANG=E">1006369</a>.
    Hope this helps.

  • Problem with offset value: field type p does not permit subfield access

    Hi experts,
    In my table am having one field ,
    Filed name : planfinish
    data type : dec    Length : 15
    data store in this field is :    12.05.2010 03:59:00 this format.
    i want to remove year 2010 from this above data by using offset.
    i have try with code :   lv_year = lv_planfininsh+6(4).      n also declare lv_year as dec 15.
    still am getting error. field type p does not permit subfield access
    kindly suggest on this.
    thx in advance.

    a packed decimal field (P) is a numeric field that is always 8 bytes long.  The (15) is the DISPLAY or max number of digits characteristic.  Like all true numeric types (not 'N'), offset is meaningless and you do NOT have format 12.05.2010 03:59:00  in a P field!  You have 15 digits and a sign, and any decimal point is implied by your data declaration.
    Look at keyword CONVERT if this is a timestamp field.

  • Problem with Offset account showing Negative Values

    Hi,
    In our system, Offset account is showing Negative amount. We want to ZERO this.
    This account have Price Diff. amount....Now how can do the same...
    Please guide..

    Hi,
    Using F-02 you can transfer the balance.
    e.g.
    Dr Offsetting account
    Cr Price difference/XXXX account
    Rgds
    Murali. N

  • Problem with variable offset for 0CALMONTH

    Hello Community,
    I have a problem with using variables offset for time characteristic 0CALMONTH
    Let's say my current query looks like this:
    ...................01.2006..........02.2006..........03.2006   (0CALMONTH)
    Sales ..............100..................125................200   (Keyfigure)
    What I want do now is to add a previous year comparison. So that it should look this way:
    ...................01.2006..........02.2006..........03.2006   (0CALMONTH)
    Sales ..............100..................125................200   (selected months)
    LY_Sales...........50..................100................100   (selected months - 12)
    (LY_Sales should show figures of 01.2005, 02.2005 and 03.2006 in this example)
    I used new selection for LY_Sales with variable offset for 0CALMONTH -12 but that didn't work. Figures in second line are zero. The desired figures would show up (if I expand the selected time intervall wide enough) in 01.2005, 02.2005 and 03.2005 but that's of course not what I want.
    Please help if you can!
    Regards,
    Ulrich

    Hi,
    We can get an an other way by using CELL editor caoncept.
    First create teh query like this:
    ...................01.2006..........02.2006........12.2006.....01.2005...02.20005...12.2005  Sales ..............100................125..............200.............50...........100.........100 
    Sales ..............100................125..............200.............50...........100.........100
    Then hide the 2005 years' kf:
    ...................01.2006..........02.2006........12.2006
      Sales ..............100................125..............200 
    Sales ..............100................125..............200
    Though the call editor concept overwrite the second rows(selection) content with hidden columns of second row(selection) one by one .i.e first cell of 2nd row will be overwritten by 13 th cell of second column.similarly second cell of 2nd row will be overwritten by 14 th cell of second column........
    First row(selection) : Cal year Charactertic with restriction 2006.
    second row(selection) : Cal year Charactertic with restriction 2005.
    With rgds,
    Anil Kumar Sharma .P

  • Time offset problems with file i/o

    Hello everyone, I'm having a problem with the file i/o VI's. I require my application to save serial data at constant five minute intervals. The problem I'm currently seeing is that on each save to a file a time offset is being added which eventually becomes seconds, then minutes and so on. Since this application is meant to be run for a whole year this is a serious problem.
    Attached is the VI, an Arduino program simulating how the DAQ sends data and a file showing my time offset problem. 
    Any ideas/suggestions/fixes are appreciated.
    Thanks
    Jose Molina
    P.S.
    To run the VI upload the code to an Arduino, select it's serial port in the popup VI then click on Ok. The VI will wait for a time that is a modulo of 5 then create a folder structure inside the same location as the LLB. Inside this folder structure should be a file with the data which should be saved every five minutes if left at the default averaging time.
    Attachments:
    7-8-2012.txt ‏3 KB
    Daq_Simulator.zip ‏1 KB
    Weather_DAQ.zip ‏117 KB

    Sorry I forgot to mention that the averaging time is configurable in the pop up vi at the start. I tried 20 seconds because it's much faster for testing than 5 minutes. Timing is being done by a simple counter that increments each time data is received. So if I receive data the timer increments by 5 because data is sent every 5 seconds. Once the timer is equal to the averaging time the data is sent to the enqueue function and then the blocking dequeue function on the second loop sends the data to the file save vi which then saves the data to the file. 
    Attachments:
    counter.PNG ‏13 KB

  • Problem with SMPTE offset with video

    Hi everyone,
    I'm having a strange problem with a SMPTE offset for a video clip I am working on and I was wondering if anyone can help me out. Here's what I've done so far in Logic Pro (7.2.1):
    1) Set the Sync Mode to Internal.
    2) Set the Frame Rate to 29.97 non-drop.
    3) Imported the video clip that can be found here in case you want to give it a try: http://www.andrew-munro.com/video/video.html
    4) Entered the Movie Start time as 00:00:00:00.
    5) In the Video Song Settings under Synchronization I set it so bar 1 plays at SMPTE 00:00:07:20.
    The problem was that sometimes the SMPTE frame in Logic did not match the burned in time code in the video clip. Sometimes it matched just fine. The other strange thing was that if I saved the song, closed it, then opened it again, I'd have to do the offset all over again b/c it didn't save.
    Does anyone have some suggestions about how to solve this problem, or an alternate way to create the offset?

    Zero out your Video Song Settings offset and instead, try setting the offset either in the Tempo Window or on the movie's "movie start" field. See if that makes a difference.

  • Display offset problems with 1bit RenderedImage

    Hi, I am loading a 1 bit image with JAI and display two versions of it. The first is unmodified and has an IndexColorModel together with MultiPixelPackedSampleModel. The second version has a lookup table applied and therefore has a ComponentColorModel with a PixelInterleavedSampleModel. When I display the complete content of both images everything is fine and they match. BUT when I start to zoom, the first one with the MultiPixelPackedSampleModel has an offset in the x direction if the left edge of the image is not within the view.
    I use Graphics2D.drawRenderedImage(rimg, af). The AffineTransform translates the image in the negative x direction, so the area of interest is displayed correctly. And here it comes: If the x translate value is NOT a multiple of 8 I get the problem with the first image! Second image is always ok.
    It even gets more exciting this applies only for the first tile in the x direction. Subsequent tiles are displayed correctly. The tile offset values for both images are 0 by the way. Since both images are drawn the same way and are only different by their ColorModel and SampleModel, I think this is a bug. Please tell me I am wrong!!!

    And here comes another clue. The width of the image is uneven. If I use the Border operator before scaling to increase the width so that it can be divided by 8, then I have no offset problem - BUT - I have a big slowdown. Is there nobody out have having experienced the same?

  • Problem with currency translation and variable time ref. with 0FISCPER

    Hello,
    We have a problem with a currency conversion with a variable time reference (as iobject we use 0fiscper)
    We created a currency conversion for several key fig:
    Our settings:
    Exchange rate Type: EURX
    dynamic ex rate determination
    Source cur from datarecord
    Fixed Target Curr (EUR)
    Variable time ref.: End of Period
    Special Infoobject: 0fiscper
    When we run the DTP we get the following error:
    <i>Enter rate GBP / EUR rate type EURX for 00.00.0000 in the system settings.</i>
    ending the DTP in a message type X.
    In table TCURR and T009/T009B all necessary information is available.
    After debugging the function module, it looks like the created date (created from the FISCPER) is set to 00.00.0000. This results in the error above.
    Does anybody have experience with this error and more important know how to solve it?
    We also have a 0FISCYEAR available but in the TCURR table al rates are defined per end of the month. When trying to use 0FISCYEAR as InfoObject in the variable time reference, a diffrent error occurs:  Enter rate GBP / EUR rate type EURX for 01.01.1001 in the system settings. While  the 0FISCPER is 2001001.
    Is there a bug in the function module? (couldn't find a SAP note)
    We are working with BI 7.0 and SP12
    Best regards
    Steven

    Please can you give more detail on how you were able to resolve this issue?  How did you add 0fiscper to the transformation?  I am on BW 3.5, how do I fix this same issue on it?  Please help, this is urgent.

  • Problems with Comodo Kill Switch, Windows Services & Bitlocker Encryption on Asus N56VZ

    Hi All,
    So recently I found myself stuck in a different scenario than before, and after many hours researching and efforts to fix this I still find myself stuck  yet with a few options still to fix.
    What is the problem?
    So as a security cautious user when i first got to Windows 8.1 Pro 64Bit I encrypted both the C and D drive (Split the main disk) to protect myself and my family. Unfortunately that has not been very helpful with the way in which booting and running from
    either external USB devices or CD/DVD works, not allowing myself to at all.
    My usual security suit I  use is Comodo Internet Security, which additionally comes with Comodo Kill Switch. Whilst using the application instead of stopping one of the TCP connections I was meant to I accidently stopped an Windows Explorer connection.
    For some reason since then Windows Explorer, nor most windows apps or services themselves will run. For example msconfig will run but sfc /scannow or mmc will not, whether in safe mode or normal mode.
    What Caused the Problem?
    Cannot 100% say
    What I Think Caused the Problem?
    Myself running Comodo Kill Switch stopping a vital server connection with Windows Explorer that messed up alot. Or a potential Virus unknown how cannot fully scan system as wont boot externally or run many apps.
    Additional Info
    Asus Webcam is Disabled on Purpose
    Laptop was fully customized to run latest games full graphics minus Anti Aliasing, works with Evolve + CoD Advanced Warfare
    Laptop does not boot if USB Keyboard plugged in, works with everything else normal (had this on other systems no problem for me)
    Ask me for more info if required to add here, braindead again
    Specifications of my system
    Intel® Core™ i7 3610QM Processor
    Windows 8.1 Pro 64Bit
    Intel® HM76 Chipset
    DDR3 1600 MHz SDRAM, 2 x SO-DIMM 8GB
    15.6" HD (1366x768)/Full HD (1920x1080)/Wide View Angle LED Backlight
    NVIDIA® GeForce® GT 650M with 2GB DDR3 VRAM
    1TB 5400RPM OR 750GB 5400/7200RPM (Cannot remember off top of head, braindead)
    Super-Multi DVD 
    Kensington lock (Security Feature)
    LoJack (Security Feature)
    BIOS Booting User Password Protection (Security Feature)
    HDD User Password Protection and Security (Security Feature)
    Pre-OS Authentication by programmable key code (Security Feature)
    What Can Run and Won't Run?
    ON BOOT:
    Bitlocker Encryption Password & Advanced Settings are accessible
    Bios (password protected) is accessible
    Windows Recovery Mode is accessible (Think it is F9 or F10)
    Windows Logon Password Screen is accessible
    ON NORMAL/SAFE-MODE START UP:
    After Log-In Windows Explorer will not run
    Task Manager will run, also allows me to browse the files when trying to start new task
    Can run Command prompt
    Cannot run any control panel items
    Cannot run services.msc
    Cannot run mmc
    Cannot run sfc
    Every time it metions windows drive is locked
    Start Error's when running certain applications (Will post codes soon)
    Rufus USB Tool does run
    Cannot boot Kali Linux off USB
    Cannot boot Windows 8.1 off USB
    Cannot boot Windows 8.1 off DVDRW
    Fixwin2 will not run
    Apps either work or don't whether in safe mode or normal
    Cannot use Windows Installer
    What Fixes I Have Tried So Far
    Ok so like any normal user I don't want to lose my files. So here are what I have tried so far:
    Repair MBR (Repair Completed, No Luck)
    SFC /SCANNOW (Returns Error 'Windows Resource Protection could not start the repair service')
    Tried sfc /SCANNOW /OFFBOOTDIR=c:\ /OFFWINDIR=c:\windows (Could not access drive)
    Fixwin2 (Will not run in either normal or safe mode)
    Booting using Windows 8.1 via USB (Cannot boot from extermal devices due to Bitlocker Encryption)
    Booting using Kali Linux Via DVD & USB (Cannot boot from external devices due to Bitlocker Encrytption)
    How do I know it is because of Bitlocker, because last time I disabled it, I could run from external devices
    Tried to run bitlocker to change settings (Will not run)
    Have used both password and recovery keys to unlock driver, they work but when applications are running on windows the drive is still locked?
    Tried windows Automatic Diagnostic and Repair (Could not repair anything, did make a log I am still to extract from the syste)
    There are No System Restore Points
    I'm sure there is much more information I could post however I will leave it on an ask to know basis, apart from the log files and further information to gather. Below is my list of trial and error fixes to try for today (need more ideas and help please!):
    Hiren's 15.2 Boot CD via DVD (NOT ABLE TO BOOT)
    Hiren's 15.2 Boot CD via USB (NOT ABLE TO BOOT)
    Research into the Bios and Possible Update in-case of implementation of Virus, can access flash utility (STILL NOT TESTED)
    Try and get a portable version or a working version of windows installer to try and re-install Comodo Internet Security (STILL NOT TESTED)
    Another way to disable Bitlocker
    Anti-Malware / Anti-Virus Scan If Possible to Run One
    Bitlocker Repair Tool, will try this also
    I have posted this as have not found much info online, usually find it and crack on but this time things are a little more tricky, my priority task I really need to do is remove the Bitlocker Encryption, but if the application will not run... what do I do
    then?
    Thanks for your time reading all, Sorry for any poor formatting or spelling.
    Update 1: MMC.exe Error Code
    Ok so now have the computer in safe mode, still same as before, no explorer.exe, no services etc... Just went into the Task Manager > Services (Tab) > Open Services (Option at bottom)
    This is the error I get:
    'The Instruction at 0x785a746c referenced memory at 0x000000a8. The memory could not be read.
    Any Ideas on what this error is and why?
    Update 2: CHKDSK Works with no Fix
    Update 3: Hiren's 15.2 Boot CD - USB Boot still no luck booting around Bitlocker Encryption
    Just to explain again, I already have unlocked the drive with correct bitlocker password or recovery key yet the drive remains locked not allowing windows refresh of files of complete install from the windows recovery menu as keeps saying drive is locked

    Ok so attempt number two to write this update via bloody phone! (Just refreshed page whilst writing!)
    Update 4:
    Problem - cannot run from bootable devices (DVD/USB)
    Cause - bitlocker fully encrypted drive stops this working
    Repair - Boot up holding F9 to enter windows recovery Input Bitlocker recovery keys to unlock drives
    Navigate to Command Prompt in advanced settings Execute following code:
    Repair-bde c: d: -rp 000111-222333-444555-etc...
    (Code found from https://technet.microsoft.com/en-us/library/ee523219%28v=ws.10%29.aspx)
    Note for those using this: It is common while unlocking certain drives to get errors such as: Quote from http://www.benjaminathawes.com/2013/03/17/resolving-partial-encryption-problems-with-bitlocker/
    "LOG INFO: 0x0000002aValid metadata at offset 8832512000 found at scan level
    1.LOG INFO: 0x0000002b Successfully created repair context.
    LOG ERROR: 0xc0000037 Failed to read sector at offset 9211592704.
    (0×00000017) LOG ERROR: 0xc0000037 Failed to read sector at offset 9211593216.
    (0×00000017) …followed by around 20 similar entries that differed only by the offset value"
    Repair Status for Update 4: COMPLETED - However over wrote D drive data so now need to recover that
    Problem 2 - windows services corrupted along with windows files
    Cause - Unknown
    Repair - wait until system is fully decrypted Once fully decrypted ensure boot from USB/DVD
    Re-do fixes that would not work before if this has fixed boot issue Confirm fix / update post Hope anything I put here helps others also

  • Problem with iTunes and sync'n Contacts

    I'm a new user to the iPod and iTunes in general. Unfortunately I've encountered a few problems with putting contacts on my iPod. I have the new video 5th generation iPod and Microsoft Outlook 2003, however when I try and sync the contacts to the iPod - iTunes closes with the message 'iTunes has encountered a problem and needs to close'. The error signature offset is '35f76ad2'. I have absolutely no idea what this means.
    I have tried manually moving the contacts from Outlook to my iPod but this doesn't take the pictures with it.
    I also tried installing a version of iTunes prior to 7.0.0 until I realised my iPod could only use version 7 or later.
    Can someone please help - even if it's just contact information for Apple to help me out!

    Restore your iPhone from a backup of your iPhone. You can restore from either your iCloud or iTunes backup depending upon what you want to do and what backups you have. To restore see:
    iOS: How to back up

Maybe you are looking for

  • Maintaining custom sort order when copying between albums

    Is there any way that you folks have discovered to maintain the custom sort order of the images in an album when copying these images into a another album? Duping the album is not an answer, as I need to collate the contents of a number of albums int

  • PC Computer on list of associated devices

    I have just authorised a Windows computer with my Apple id. The authorization was successful, but when I try to play music, I get an error message that I have the maximum number of DEVICES associated with the account. Now, I know I can AUTHORIZE five

  • How to remove the white tint under the tab bar?

    There is this white highlight on the selected tabs and a strip of white right under the tabs how can i remove that?

  • How to raise exception in bor method without showing runtime error

    I want to raise custom exception in the bor method like below. However, it will show runtime error when executing codes below. Any knows how to raise custom exception in the bor method without runtime error? raise 9021.

  • Xml attachment and email

    HI i have to send xml as attachment in an email. I am able create xml  do is by below sample code:       Creating a ixml factory l_ixml = cl_ixml=>create( ).       Creating the dom object model l_document = l_ixml->create_document( ).       Fill root