Multilpe offsets on the same variable in the same selection

Hello,
I'm trying to get the total rolling 12 value in a single column of a query based on cube 0PCA_C01. I have a regular selection variable called VAR_001 which I would like to manipulate with offsets for this purpose..
I can add several offset values on the same variables by drag-and-drop in the selection pop-up, but I can't save it.. Whenever I click OK and go back into the selection, all offsets created on the variable except one are gone..
Why is this? Should it work to add many offsets (with different values) in the selection on 0FISCPER. I.e:
VAR_001 (-1)
VAR_001 (-2)
VAR_001 (-3)
VAR_001 (-4)
VAR_001 (-5)
VAR_001 (-6)
VAR_001 (-7)
VAR_001 (-8)
VAR_001 (-9)
VAR_001 (-10)
VAR_001 (-11)
VAR_001 (-12)
Since there is no selection for value range on offsets, I guess this would be the way to do it?
Regards,
F C

FC
Select a range between with your variable VAR_001 for 0FISCPER. You should see a range with the same variable entry:
(VAR_001) - (VAR_001)
Then select offset. You will enter two entries, first on is -11 and leave the second to 0.
You should end up with something like this:
(VAR_001)-11 - (VAR_001)
This will create your rolling 12 where the report user will just have to enter the end date.
Regards,
Andy

Similar Messages

  • Using offsets in the query

    I am using a custom calendar which will always have 52 weeks. Now i need to display 5 weeks past and 5 weeks future(forecast) data in my query.
    While using offset query is taking the system weeks.
    For eg. When i enter current week as 01.2005
    Current week -1 ( with offset -1) should be 52.2004 in my case but it is showing 53.2004 and no data in front of it.
    Is it possible to have 52 weeks for all the years as per my custom calendar and implement offsets for the same ?

    Hi,
    Sorry for the late Reply for a better solution..
    Do this..
    Create a Variable zcalweek as reference of 0calweek (standard one). Now you are saying that you are facinf problem at year starting and year end(if offset +1). To cater that..you can do this..
    Create a USer-entry variable for ZCALweek.
    Now create a custome exit variable on zcalweek and derive normal value from zcalweek while using offset...the problem is at start of year and end of year...
    so Add this code in your custom exit..
    If week+4(2) = '01'. '01.2005
    'week+4(2) = '52'.
    or better solution is do this..
    Select single max(week) from /bic/odsname00 where year = week+4. 'this will give either 53 or 52 as per max value in that year
    week+4(2) = week. '522005
    week0(4) = week0(4) - 1. 'week = 522004
    else.
    week - 1. 'if week not eq to 01.2005..directly apply minus 1
    endif.
    Hope i m clr.
    Regards,
    San!

  • Only page 1 prints well. Page 2 is offset to the right and information is lost at the page break. FireFox 8 and 9, Mac OS 10.5.8

    This is very similar to a previous post with a later version of OS X, but the fix that worked for the original poster does not work for me.
    Mac OS 10.5.8 FireFox 8 and 9. If I print a web page, either just print or save as PDF, only the first page prints well. Page 2 is offset to the right such that the information is cut off at the right edge. Information is lost at the page break, several lines of text will be lost.
    I use several add-ons for work that are only on Firefox, so using another browser doesn't help much.

    Somebody had a similar problem and was advised to start in safe mode or create a new profile. (Here: https://support.mozilla.org/en-US/questions/906274?s=firefox+print+first+page&r=2&e=sph&as=s). Starting in safe mode disabling all add-ons does not fix the problem for me. When I try to follow the instructions here (https://support.mozilla.org/en-US/kb/Managing-profiles) to start the profile manager, Terminal gives me an error message after I enter the line of text: "The application firefox-bin quit unexpectedly." I have tried it with and without the "-bin" (the error message is the same - just with or without the "-bin"), with a capital or lower case P at the end. Nothing works. Please help.

  • Hiding variable values in the input selection screen.

    Hello Experts,
    We have an authorisation relevant characteristic on which we have built a variable. We have restricted few values for this characteristic through the analysis authorisation.
    The business requirement is that these values which are maintained in the analysis authorisation should not be populated in the input selection screen for that particular variable. In other words we have to hide these values but the variable should a part of input selection screen.
    Can anyone please guide on how can we hide these variable values inspite of maintaining them in our analysis authorisations.
    Thanks..
    Best Regds,
    Suyog...

    Hi Suyog,
    Have you got any solution on this issue.  I have same kind of issue in BI7.  When running the RSRT transaction manager has to give some comments for a document option.  but the subordinates should not modify or see the comments.  Is there any way to restrict this access to certain users.  Our requirement is to either disable the document option or should not appear in the list.
    please give your inputs to find a way to solution.
    Thanks in advance.
    Regards,,
    Appala Raju

  • Is it possible to add some offset on the Y-Scale of a graph when autoscale mode is enabled.

    Hi All,
    I am plotting  on a waveform graph with autoscale mode enabled. I want to have some offset on the upper and lower side of the Y-Scale. Is there any way of implementing this.
    Thanks in advance,
    Cooldude 
    Solved!
    Go to Solution.

    The only way that came to my mind is to do the autoscale by your own:
    -Find the min and max (ready vi for that) 
    -Add a percentage of the range to min and max
    -Optional coerce the new min,max accordingly to a round number (depending on log(range) ) 
    -Set Scale with properties
    Another way:
    Add a plot with same data (or only the min and max point) with tranparent colour and multiply that data with 1.xx (xx percentage additional range)
    Message Edited by Henrik Volkers on 09-18-2009 12:40 PM
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • How can i  display output in the same selection screen?

    I've a requirement. Suppose in my selection screen there are three input fields. On the basis of this selection screens input It will  display the output in the same selection screen. Can it be possible? .
    Can it be possible to modify the default screen no for the selection screen 1000?
    Thanks in advance.
    Abhijit

    Hi Abijit,
    Whatever changes made in STANDARD SELECETION SCREEN 1000 or screens generated using 'SELECTION-SCREEN' statements, are not permanent.
    It will get back to its original appearance, while you execute again or some time later.
    Whenever you get into 'CHANGE' mode of these screens, an information will be displayed as follows ;
    Selection screen: Report generation makes screen
    changes ineffective
    Regards,
    R.Nagarajan.

  • Only page 1 prints well. Page 2 is offset to the right and information is lost at the page break. FireFox 8 and 9, Mac OS 10.6.8

    Mac OS 10.6.8 FireFox 8 and 9
    If I print a web page, either just print or save as PDF, only the first page prints well. Page 2 is offset to the right such that the information is cut off at the right edge. Information is lost at the page break, several lines of text will be lost. If I need to print a page, I open Safari, which does a very nice job of formating the page for print. But I want to use FireFox. Can you help me?

    Does the issue still occur if you start Firefox in Safe Mode? http://support.mozilla.com/en-US/kb/Safe+Mode
    How about with a new, empty profile? http://support.mozilla.com/en-US/kb/Basic%20Troubleshooting#w_8-make-a-new-profile
    If it does happen in both safe mode and with a new profile, please post the contents from about:support

  • Alv is not appearing in the same Selection Screen

    Hi people..
    First time using  cl_gui_docking_container.
    I have a problem, my alv is not appearing in the same Selection Screen.
    is there somethign wrong with my code? it doesnt even show a dump or catch.
    Regards
    DATA: lo_dock TYPE REF TO cl_gui_docking_container,
           lo_cont TYPE REF TO cl_gui_container.
    DATA: gr_table      type ref to cl_salv_table,
           gr_functions  type ref to cl_salv_functions,
           gr_display    type ref to cl_salv_display_settings,
           gr_columns    type ref to cl_salv_columns_table,
           gr_column     type ref to cl_salv_column_table,
           gr_sorts      type ref to cl_salv_sorts,
           gr_agg        type ref to cl_salv_aggregations,
           gr_filter     type ref to cl_salv_filters,
           gr_layout     type ref to cl_salv_layout,
           color         type lvc_s_colo,
           key           type salv_s_layout_key.
       SELECT * INTO TABLE tbl_datos_items FROM zsd_micros_bd.
    CHECK lo_dock IS INITIAL.
      CREATE OBJECT lo_dock
           EXPORTING
             repid = sy-cprog
             dynnr = sy-dynnr
             ratio = 70
             side  = cl_gui_docking_container=>dock_at_bottom
             name  = 'DOCK_CONT'.
         IF sy-subrc <> 0.
           MESSAGE 'Error in the Docking control' TYPE 'S'.
         ENDIF.
    TRY.
    lo_cont ?= lo_dock.
    cl_salv_table=>factory(
    exporting r_container      = lo_cont
                 container_name = 'DOCK_CONT'
                 list_display   = if_salv_c_bool_sap=>false
    importing r_salv_table = gr_table
    changing t_table = tbl_datos_items  ).
    CATCH cx_salv_msg .
    ENDTRY.
    gr_functions = gr_table->get_functions( ).
    gr_functions->set_all( abap_true ).
      gr_display = gr_table->get_display_settings( ).
      gr_display->set_striped_pattern( cl_salv_display_settings=>true ).
      gr_display->set_list_header( 'Items de Ventas' ).
      gr_table->display( )

    Hi ,
    First you have to create you own screen ( dynpro )  with a screen number ( 0101 for exemple )  , you need to pu a custom control in it , name the custom control ( lo_cont )
    For the screen created you need to create a module for the PBO , in this module you sould put you code for displaying the liste :
    Module STATUS_0101 output.
    TRY.
    lo_cont ?= lo_dock.
    cl_salv_table=>factory(
    exporting r_container      = lo_cont
                 container_name = 'DOCK_CONT'
                 list_display   = if_salv_c_bool_sap=>false
    importing r_salv_table = gr_table
    changing t_table = tbl_datos_items  ).
    CATCH cx_salv_msg .
    ENDTRY.
    gr_functions = gr_table->get_functions( ).
    gr_functions->set_all( abap_true ).
      gr_display = gr_table->get_display_settings( ).
      gr_display->set_striped_pattern( cl_salv_display_settings=>true ).
      gr_display->set_list_header( 'Items de Ventas' ).
      gr_table->display( ).
    Endmodule.
    and give the screen number when calling  lo_dock 
    CREATE OBJECT lo_dock 
           EXPORTING
             repid = sy-cprog
             dynnr = '0101'.
    tested
    Regards

  • I can't burn my playlist on several CDs anymore without stopping the process and going to the next selection of songs. First I could, now it re-burns the same selection of songs over and over again.

    I was able to burn the whole contents of a playlist on several CDs in a row. When I do it now however it will re-burn the same selection over and over again without moving to the next. What can be done?

    See Empty/corrupt library after upgrade/crash...
    tt2

  • Populate variable 2 according to the value selected in variable 1

    Hello BW Experts,
    I have two variables sales area vsarea and sales org vsorg.
    eg: data:
    sales area area1 contains
        1) sales org org1
        2) org2
    sales area area2 contains
        1) org3
        2) org4
    req:
    first the user selects the values in the vsarea area1. then when he comes to select the variable vsorg it should show only show org1, org2. it should not show org3 and org4.
    possible solutions:
    -- 1) is this possible using the variable exit ?
    please suggest any solutions for the above problem.
    Thanks,
    BWer

    thanks for the suggestion.
    however what I wanted to do is somewhat different.
    variable selection sequence:
    sales area then sales org
    1) variable 1: sales area: user selects 1000 for sales area
    2) variable 2: sales org: I should only show 1001, 1002, 1003 sales org, which belong to 1000 sales area
    please suggest if there is already a solution for this.
    Thanks,
    BWer

  • The offset in the file is too big"? Other than, hey it's FAT formatted, etcetera!

    Does anyone have an answer for "The offset in the file is too big" error while creating a file using QT API "writeToFile"?
    I mean something other it's FAT formatted, not enough space, et cetera. Anyone?

    First how much free space do you have on your boot drive.  For normal use it's recommended to have a minimum of 10 GB free space.  If you use iDVD up that to 20-25 GB.  Lots of cache and swap space is needed.
    Create the slideshow in iPhoto, set the disiplay size ratio to 4:3 and export it out of iPhoto at the medium or large size. 
    Open a new project in iDVD and add the QT file to the iDVD menu being careful to avoid any dropzones.
    With a 90 minute slideshow you can use a single layer DVD disk. iDVD doesn't care about the file size of the media added to a project, only the playing time of the project, including menus.
    Follow this workflow to help ensure the best quality final product:
    Once you have the project as you want it save it as a disk image via the  File ➙ Save as Disk Image  menu option.  This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image and launch DVD Player and play it.  If it plays OK with DVD Player the encoding was good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    You shouldn't try to create the slideshow in iDVD with still photos if the number of still photos is larger than 99.  That creates a pause or stall when playing back on many set top players. 
              OT

  • Image offset to the right

    Why is the image offset to the right when I try to print in landscape mode? On a print the title block is mostly off the page to the right and it prints like this on both of my printers.

    Okay, I figured out a fix. Here's the deal:
    The Tablet PC Settings control panel has radio button options for Right-handed and Left-handed menu appearance - the menus are supposed to appear to the left if you're right handed, and vice-versa if you're left handed. I had changed the setting to match my right-handedness. The default setting was Left-handed.
    Apparently, the CS4 Photoshop, InDesign and Illustrator interface isn't compliant with this handedness feature of the tablet UI. Acrobat Pro and Bridge work fine with handedness settings and I haven't checked the rest of the suite applications.
    If someone running Vista with a Wacom tablet can check this out with the right-handed menu setting to confirm it's not just my system, I'd appreciate it.
    BJ

  • Order of the variables in the initial selection screen.

    Hi all,
    How can I change the order of the variables in the initial selection screen.
    Thanks in advance.
    Regards,
    Kumar.

    In the query designer goto query properties screen.. In the first screen you will see the order and you can move up and down the variables there as per your need ..
    Regards.

  • The same selection doesn't return the same result in 2 identical systems

    Hi,
    After a copy we have 2 systems with same data.
    In a program the same selection doesn't returns the same result, it seems that the sort is different.
    I have checked indexes but they are ok in both systems.
    Here is the selection:
    SELECT but000~partner
    INTO TABLE lt_partner
    *UP TO 50 ROWS
    FROM but000
    JOIN but020
      ON but020partner = but000partner
    JOIN adrc
      ON adrcaddrnumber = but020addrnumber
    JOIN but100
      ON but100partner = but000partner
      WHERE but020~addr_valid_from LE '20100727000000'
      AND   but020~addr_valid_to   GE '20100727000000'.
    Is there a customizing point to define how the database must be sorted ?
    Thanks.
    Edited by: julien schneerberger on Jul 27, 2010 4:18 PM

    Hi,
    Thank you for your answer.
    Result is the same and I don't sort data after the selection.
    Do you think the system copy has "broke" the records order in database ?
    If it is the case it will be impossible to reproduce the same sort, is it right ?
    Edited by: julien schneerberger on Jul 27, 2010 5:19 PM
    Edited by: julien schneerberger on Jul 27, 2010 5:20 PM

  • Can I Control the Pulse offset using the Counter Out?

    Hello Everyone.
    I am trying to generate the Pulse as below;
    I have seen and understood an example to generate a pulse waveform "GenDigPulseTrain_Continuous".
    However, I can not control the offset of the pulse train.
    Although the function gives me "initial delay(The amount of time in seconds to wait before generating the first pulse)",
    I can not shift "t_dead" cycle.
    /*01.Frequency Control*/
     // The units to use to define pulse frequency.
      m_pTaskWrite->COChannels.CreatePulseChannelFrequ​ency(vecstrings[0]/*LPCTSTR counter*/,
       "PWM_C0_CH_HIGH"/*LPCTSTR nameToAssignChannel*/,
       DAQmxCOPulseFrequencyUnitsHertz,
       DAQmxCOPulseIdleStateHigh,
       dDeadTime, 
       m_nFncFrequency/*frequency*/,
       prDuty.second/*dutyCycle*/);
      // The units to use to define pulse frequency.
       m_pTaskWrite->COChannels.CreatePulseChannelFreque​ncy(vecstrings[1]/*LPCTSTR counter*/,
        "PWM_C0_CH_LOW"/*LPCTSTR nameToAssignChannel*/,
        DAQmxCOPulseFrequencyUnitsHertz,
        DAQmxCOPulseIdleStateLow,
        dDeadTime/**2 + (prDuty.second *dCycleTime)*/, 
        m_nFncFrequency/*frequency*/,
        prDuty.second/*dutyCycle*/);
    Please let me know how I solve this problem.
    Thank you

    Dear Zl,
    Counting pulses is much easier with the FP-QUAD-510 or FP-CTR-500, but can be done with the FP-AI-110.  You can't directly count the pulses with a FP-AI-110, but you can do it in software. Bring in the data by doing a normal read. Then, using shift registers, if the previous voltage is less than .8V (low) and the current voltage is more than 2.5 (high), increase the pulse count. I have attached a program that shows what to do with the data once you bring it in. I took the data from an array outside the while loop, but your data will be brought in one point at a time inside the while loop. One thing to take note of, since Fieldpoint brings in data at 1 kS/s, this will only work with pulses slower than 500 Hz. The farther the duty cycle is away from 50% duty cycle, the slower the signal must be in order to catch the pulses correctly. Please let me know if you have any questions. Have a great day!
    Sincerely,
    Marni
    PS- Please only post question once.
    Attachments:
    pulsecount.vi ‏22 KB

Maybe you are looking for

  • How can I get iPhoto to open?

    Suddelnly, after working perfectly since I bought this iMac, iPhoto won't open.  It's there in the dock but it simply won't open.  I am very worried about my photos and ensuring that they are there AND that I can access them.  Online forum don't give

  • Problem with loading pictures

    Hi. I've built an application which, among other things, loads pictures in some thumbnails. The people for whom the application was have been changing the pictures for several times. Now they've done that again, but despite that they have changed the

  • SQLSever2000 Migration hangs

    I am trying to migrate sql2k database to O9i using OMWB 2.0.2.0.0 Before I ran sp_changedbowner('sa') on the sql server I was getting many errors in capturing the system tables. Now it just hangs on 'Capturing Loading SS2K_SYSCOMMENTS' with jwre usin

  • FRM-92160 web version too old

    Hi guys, I had installed oracle 9i and developer6i on the server and configue IIS .When i access through client,if win 98 is installed on client it gives FRM-92160 web version too old error but on client where win2000 is installed ,it works.Any help?

  • I just updated to 7.1 on my 5S and now my finger print doesn't work.  Anyone else have that problem?

    I just updated to 7.1 on my 5S and now my finger print doesn't work.  Anyone else have this problem?