Quarter offset for 0I_CUFQU

Hi experts,
I m using 0I_CUFQU to restrict one of my key figures on current quarter.
How do I offset this variable to restrict that key fig for the next quarter and two subsequent ones after?
Would restricting the key figure by 0I_CUFQU1 work or is it 0I_CUFQU3?
We do not have good data in Dev to test this.
Any thoughts please?

I guess, you need to go for a new user exit variable to achieve your requirements. Follow the steps.
1) Get user input for fiscal period (This will be considered as current quarter and remaining quarters will be calculated so that report will be flexible to run for any fisyear).
2) Create a user exit variables ZCURQTR, ZNXTQTR, ZNXTQTR1, ZNXTQTR2 (interval) and assign to restricted key figures accordingly.  (or use one variable and offsettings).
3) In the user exit code, determine the user entered period quarter starting period. For example user enters 5/2008, then you derive 4/2008 is starting period of the quarter. Populate user exit variables as below.
ZCURQTR = 4/2008   (begining interval)
                   4/2008 + 2 (ending interval).
ZNXTQTR =  4/2008 + 2 + 1 (begining interval)
                   4/2008 + 2 + 1 + 2 (ending interval).
etc..
Hope, this helps
Regds
Viswa

Similar Messages

  • 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

  • How to create offset for calendar year/month in BEx Reporting

    HI ALL,
        i have a requirement of creating offset for calendar year/month.Basically i have a characteristic in Rows and volume key figure in Column and i have to put that volume under the calender year /month which is shown below ..
                             Previous Volume           Present Volume
                                     01.2010                             01.2011
    material                    10000                               20000
    how can i create a report for this . by using volume key figure i am creating previous volume and present volume,. how can i put them in key figure do i have to create any structure, selections  for that.... and "" how can i get the present year volume and previous year volume. If i use cal year/month how can i create offset for that.....
    please do let me know in brief...
    Thank you.

    Hi ,
    I think you need data year wise .
    Instead of creating a variable for calmonth and using it in the RKF , you can just drag calyear in columns and keep the Volume keyfigure below it . Keep only one keyfigure Volume and do not restrict it with calmonth or any other variable .
    In this case calyear should not be present in rows or free characteristics .
    You would be able to see the data year wise ..
    Try this and check whether it is according to your requirement
    If You need to show the data as Volume (01.2011)  and Volume(01.2010)
    It means you are only showing data for Jan 2011 and Jan 2010 in the report
    In this case you can retrict Volume keyfigure with a variable and create a customer exit variable
    for 0calmonth as an offset of -1 will bring the data of 12.2010 for Previous Volume(01.2010) key figure which is incorrect .
    For your output you can create 2 customer exit variables :
    One will restrict 0calmonth to current year and another to previous year .
    Check whether this works .
    Also , if you want to show current calendar months data , you can either use a mandatory variable on 0calmonth
    and restrict the same in volume keyfigure or there are std customer exit variable provided by SAP to give current cal month .
    You can restrict the char 0calmonth with this std exit variable if you do not want 0calmonth variable to be mandatory.

  • Variable Offset for Customer Exit??

    Hi,
    is it possible to have a variable offset for customer exit time variables?
    E.g. I have a variable current month but can I also create a one-year offset of that?
    In our system that doesn't work (but also the current month variable doesn't work...)
    thanks
    Sabine

    Hi,
    As it is mentioned by Mr.Voodi,it definately works.
    You only has given the answer for your problem .i.e you need to make sure the Customer exit variable is working proper.So take a look on the code used for it.
    With rgds,
    Anil Kumar Sharma .P

  • Offset for variable not working !

    Experts,
    I have to show sales for last 5 months ( in 5 diff. Columns )
    So, i have written CMOD code, where i am converting System date in to Fiscal Year / Period using FM DATE_TO_PERIOD_CONVERT.
    every thing works good, i do get result. but the problem is the Offset for Variable function doesnt support that.
    I was hoping that, Now i can do Offset -1, -2 , -3...till -5 and i will have all 5 Periods.
    But looks like its not working out.
    What other logic i can use.
    !!!!!!!!!!My Variable is Not ready for Input !!!!!!!!!!! So the only way i found is to convert system date to current Period and then off setting it till last 5 months. And i do need to so last 5 months starting current Period -1, -2, -3, -4 and -5
    is there any other way to get current Period ( i guess only from system date ).
    I think in my logic, when i do offset, its not offsetting the Period, but its off setting system date.
    Please help

    Hi Honar,
    I am pretty sure offset should work, in your customer exit, calculate the current period as using the system date, once you get that, create a variable with the same name as you defined in the customer exit and use that variable in five different restricted key figures with each with (Variable, Variable -1, Variable -2, Variable - 3 and Variable - 4). If you have done so and not working, what are you getting in each of the variables, there might be some notes which could address that issue.
    thanks.
    Wond

  • How to use OFFSET for CHAR type value in Bex query

    infoobject A value = 1102007
    Type = CHAR
    I want to have an offset for this infoobject created in query say 1 to 12 months
    in month of 10/2007 value = 1102007
    remember above 1 is always CONSTANT
    then
    in month of 11/2007 value = 1112007
    in month of 12/2007 value = 1122007
    how to do this since the infoobject is of TYPE- CHAR ,its gives we cannot do the OFFFSET in the query ,for doing OFFSET the infoobject must be of type numeric or NUMC.
    is it possible achieve this in to update rules?? since i cannot change the type of this infoobject now in the middle of production support
    please help
    thanks

    Hi,
    You will have to add a characteristic to your cube.
    The format should be NUMC
    In the update-routine you will have to convert the char value to numc
    Success
    udo

  • How to use offset for select-option parameter ?

    Hi experts
    could anybody please let me know how to use offset for select-option parameter. i can able to use offset for table fields, variabiles and all , but don't know how to use for parameters.
    following is my code
    SELECT-OPTIONS: s_prctr  FOR vbsegs-prctr OBLIGATORY.
    here "prctr"  length is 10.
    i'm using two tables  1. vbsegd-bupla
                                    2. vbsegs-prctr
    here prctr+6(4) = bupla.
    "Bupla" length is 4
    SELECT belnr gjahr bukrs bupla sgtxt buzei FROM vbsegd INTO CORRESPONDING FIELDS OF TABLE it_vbsegd FOR ALL ENTRIES IN it_vbkpf
                                                                 WHERE belnr = it_vbkpf-belnr
                                                                   AND gjahr = it_vbkpf-gjahr
                                                                   AND bukrs = it_vbkpf-bukrs
                                                                   AND bupla IN s_prctr.  
    the above statement is not working as prctr and bupla lenths are different. here i want to use offset.
    SELECT belnr gjahr bukrs prctr sgtxt buzei FROM vbsegs INTO CORRESPONDING FIELDS OF TABLE it_vbsegs FOR ALL ENTRIES IN it_vbkpf
                                                                WHERE belnr = it_vbkpf-belnr
                                                                  AND gjahr = it_vbkpf-gjahr
                                                                  AND bukrs = it_vbkpf-bukrs
                                                                  AND prctr IN s_prctr.
    this is working as prctr and s_prctr lengths are equal.
    could anybody please help me out in this.
    Thanks in advance.
    regards
    satish

    Below code will work for you.
    SELECT-OPTIONS: s_prctr  FOR vbsegs-prctr OBLIGATORY.
    RANGES: s_bupla FOR vbsegd-bupla.
    s_bupla[] = s_prctr[].
    DELETE ADJACENT DUPLICATES FROM s_bupla.
    SELECT belnr gjahr bukrs bupla sgtxt buzei FROM vbsegd INTO CORRESPONDING FIELDS OF TABLE it_vbsegd FOR ALL ENTRIES IN it_vbkpf
                                                                  WHERE belnr = it_vbkpf-belnr
                                                                    AND gjahr = it_vbkpf-gjahr
                                                                    AND bukrs = it_vbkpf-bukrs
                                                                    AND bupla IN s_bupla.

  • Variable Offsets for Weeks

    We have a custom created infoobject for fiscal week, which is basically week number within fiscal variant, fiscal year, and fiscal period. So fiscal period 1 contains weeks 1-4, period 2 contains weeks 5-8, etc.
    Our problem is in the use of variable offsets in query definitions. If we use 0FISCPER, BEx knows that the "-1 offset" for 2005001 is 2004012, not 2004999. Similarly, for 0CALWEEK, the week before 200501 is 200452, not 200499. So for our custom infoobject, how do tell BEx that the fiscal week before 200501 is 200452? Anyone know how we can set this up?
    Thanks in advance for any info you can provide.
    Rachel McGregor

    Yes, we figured we would probably need to do something in the user exit. We did not create the infoobject with reference to anything else since we added some custom attributes.
    What exactly should we do in the user exit? We want to create a structure with a whole bunch of selections for week number, week number-1, week number-2, week number-3, etc. all the way back to week number-104 (i.e. we want 2 years' worth), with a single prompt to the user for week number.
    Any suggestions?
    Rachel

  • Offset for Fiscal Period

    Hi All,
    I have 2 columns in my report. When variable window pops-up, user enters value for 2 mandatory field. (From Fiscal Period and To Fiscal Period). Once i get the value of range, i generate one column based on business logic. Now, in the second column I want to show the results for the same period but for previous yr.
    So, if user entry is 001.2007 to 002.2007, first column would display result for 001.2007 to 002.2007, while second column should display result for 001.2006 to 002.2006. I have 2 saperate variables for user entry and i have restricted my KF based on "Value Range" & "Between".
    When I m trying to give offset of '-12' for second KF, it accepts the offset for both the variable in the range, but it displays the result for 001.2006 to 002.2007. So, basically it manipluates offset for just one variable.
    Can anybody tell me what should i do??

    Hi Danny,
    In the mentioned link, read Selecting value range limits
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a563fe09411d2acb90000e829fbfe/content.htm
    This is what I was thinking of...

  • Edit page offset for specific printer models - SAP Adobe Life Cycle Designer 8.0

    Hallo,
    is it possible to edit the page offset in x-direction? Where? My problem is that any printer models has different page offset settings. For this reason I am searching for a possibility to edit the page offset for each printer model.
    I found some informations about that. But I don´t know where I can adjust it.
    http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=000502.html
    Is it possible to adjust it in the XDC-file? How?
    Thanks

    Hi,
    Check these links..
    http://help.sap.com/saphelp_nw04s/helpdata/en/56/f2c94a069f44a785b85748e11f82a0/frameset.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60afe503-74e0-2a10-59b1-d92ad0dff62b
    Regards,
    John

  • How to find tz offset for a particular day (not today)

    I have DATE values that need to be adjusted based on the tz and dst offset in effect on the date. I'm trying to figure out how to calculate the value to adjust them by.
    tz_offset(tz) returns the timezone offset for the given tz for today. Is there a way to determine the offset for a timezone for another day, so that daylight savings time differences are honored?
    Thanks.

    Just double checked an alternative method, once your data is a timestamp with timezone, you can use the extract function to get just the parts of it you are interested in e.g.
    with sample_data as (select TO_TIMESTAMP_TZ('2007/05/10:06:00:00pm', 'RRRR/MM/DD:HH:MI:SSpm') ts from dual
      union all select TO_TIMESTAMP_TZ('2009/02/22:05:00:00pm', 'RRRR/MM/DD:HH:MI:SSpm') from dual
    select EXTRACT(TIMEZONE_ABBR FROM ts) TZ
         , EXTRACT(TIMEZONE_HOUR FROM ts) TZH
         , EXTRACT(TIMEZONE_MINUTE FROM ts) TZM
         , to_char(ts, 'tzh:tzm') x
         , ts
      from sample_data
    TZ         TZH                    TZM                    X      TS           
    PDT        -7                     0                      -07:00 10-MAY-07 06.00.00.000000000 PM AMERICA/LOS_ANGELES
    PST        -8                     0                      -08:00 22-FEB-09 05.00.00.000000000 PM AMERICA/LOS_ANGELES
    2 rows selected

  • Peek and Lock with Offset for Service Bus Queue in REST API

    In .NET library, the QueueClient has an API
    QueueClient.Peek(Int64), which accept an offset for the queue as starting point.
    Does the REST api
    also can pass this parameter? I didn't find one.

    hi mmsz_jbn,
    Thanks for your posting!
    It seems that REST API Peek-Lock message don't support pass the SequenceNumber.
    http{s}://{serviceNamespace}.servicebus.windows.net/{queuePath}/messages/head
    http{s}://{serviceNamespace}.servicebus.windows.net/{topicPath}/subscriptions/{subscriptionName}/messages/head
    From the API structure, we don't see the sequence number as a parameter.
    But in unlock method, we can use this number:
    http{s}://{serviceNamespace}.servicebus.windows.net/{queuePath}/messages/{messageId|sequenceNumber}/{lockToken}
    I suggest you could submit a feature request in this page:
    http://www.mygreatwindowsazureidea.com/forums/34192-windows-azure-feature-voting.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • End Offset for Grow/Shrink AND Motion Path?

    I make an end offset for my Grow/Shrink ... and the clip stops where it is supposed to. Cool.
    But my Motion Path continues. So the clip stops, but then slides sideways a bit or up and down. There doesn't seem to be a matching End Offset for the Motion Path. I try placing the Motion Path to end BEFORE the end of the clip, but I'm missing something. Can't figure out how to have the two Behaviors end BEFORE the end of the clip (I want the clip to be perfectly still for a long dissolve).
    ? All ears,
    Ben

    Thank you Andy,
    It would have taken me forever to find this in the manual, if it IS in the manual. I'm about to apply it to scores of clips. Long film. All done with still images of ancient symbols and artifacts. The only thing keeping this film alive will be the animated camera moves ... and of course the content, which in this case is extraordinary: the work of David Talbott, a pretty convincing theory that explains the origin of all story on this planet. Stranger than sci-fi.
    Thank you mucho for your help,
    Ben

  • Release Offset for Demand Plans

    Hi,  We are trying to understand and use the release offset for demand plans.  Basically we would like to hide the current period from supply planning.  This seems to work in period one of the forecast.  As time passes and we get to period two we would like the forecast to no longer be exposed to supply planning.  This does not seem to be the case.  We have tried to roll the forecast however that does not seem to resolve it.  I believe we could delete the forecast lines in the "Maintain Demand Plan Screen" and then release the forecast however that is very work intensive.  How should this be done?
    Thanks,
    Dave

    Dear Jeevan,
    Before you can use the invoicing plan with automatic settlement, the Evaluated receipt settlement delivery indicator must be set on the Purchasing Data screen in the vendor master record.
    (If you wish to enter invoicing dates manually, this is not necessary.)
    Purchase Order
    SAP recommends using order type FO (framework order), i.e. a purchase order with a predefined extended validity period and a "reason for cancellation". The invoicing plan can adopt the validity period specified in the PO header.
    PO items for which you wish to use an invoicing plan must have account assignment irrespective of whether a material with a master record, a material described by a short text, or an external service is involved.
    The GR/IR control facility must be set up in such a way that no goods receipt (or, in the case of services, no service entry) is expected - only an incoming invoice. If you wish to have automatic settlement, you must also set the Evaluated receipt settlement indicator.
    Customizing
    Under Purchase Order --> Invoicing Plan --> in Customizing for Purchasing, you can maintain data such as the desired invoicing plan types, date categories, and date descriptions.
    If you want to split it based on periodic than : maintain the invocing plan types :Maintain Periodic Invoicing Plan Types
    Regards,
    w1n

  • How to set the horisontal offset for a node relative its parent in JTree?

    When using large icons for nodes in a JTree the whole tree looks very compact. I found a method setRowHeight(int height) to set the row height that got med some space between the rows. But I couldn't find a simular method to increase the offset between a child node and its parent.
    Any suggestions?

    You can control the offset through the BasicTreeUI, as discussed in this thread:
    http://forum.java.sun.com/thread.jspa?threadID=630707&messageID=3636590
    See reply #8 and #9.

Maybe you are looking for

  • How to use SSHRParams in a custom page

    Hi I have been trying to use SSHRParams in my custom page. I need to use this to get AssignmentId and PersonID. Initially I tried using the SSHRParam package by just importing it. But it did not help. Below is the code that I had in my controller imp

  • Mail Queue question

    I can't seem to get the mail queue to show the email that the server recived I changed the mail store location to another hard drive on the same server. and I moved data base location to the same hard drive as the mail store. Does that have any effec

  • IMovie09 - QuickTime - Youtube problem

    When I had my G5 I could upload videos to Youtube with no problem, but he went into a coma so I got a new iMac with iMovie 09... I made a test video, just 28 seconds, 5 ordinary clips, a little audio added but nothing else and saved as QuickTime movi

  • Enhancing Enterprise Service - Input Message Enhancement

    Hi I am using a standard Enterprise Service and have successfully Enhanced the Output Message (Created a Data Type Enhancement in PI), did the BADI Implementation and mapped the Outgoing Response in Outbound Processing of BADI Implementation and able

  • In 10.10 the "recent documents" pulldown does not display actual recent items--it shows the same items time after time. How can I fix that?

    In previous versions of OS 10, the "recent items" pull down from the Apple icon (top left) actually showed recent items.  In this version, 10.10, the same items display time after time rather than displaying recent items.  How can this be fixed?