Set offset on 0FISCPER

Hi,
I would like to display values for months from Jan - Dec.
I am using Fiscal Year/Period. Which is restricted to and user entry variable. So when the user selects any perticular period the first column should display Jan, 2nd Feb and so on.
I am intending to hard code the months as I have other columns which should not be split by months.
Please suggest.
Thanks
NewBW

yeah you need to harcode the months according to the 12 columns. But the problem would be you cant allow the user to pass a variable for fiscalyear/period. Infact you need to create a variable on fiscalyear. so that way, if the user enters a year, he would get numbers for all the months.
if thats not possible to change the variable, you need to create a customer exit on fiscalyear which will take the input from fiscalyear/period to derive just the year part ignoring the period part.

Similar Messages

  • BEx report issue on setting offset value

    Friends,
    I have got a Bex reporting requirement as follows.
    Given a Calendar week I have to show data for 5 Key figures for the next 3 calendar weeks.  For ex: if I enter 05/2006 I have to show data for 05/2006, 06/2006 and 07/2006. 
    I thoght of using the Off Set parameter for all the Key figures, and for testing I did for 2nd set of Key figures with off set (1)..but these key figures are not showing any data.. Is it I am missing anything here ??
    Please comment if you have any better thoght of doing this..
    Thanks
    Mavi

    Hi,
      The format of period you gave refers to month i believe. If it is right, check the offsets once again. If the user enters fiscal year period, it should be converted in to week period using an customer exit variable(if you don,t have 0CALWEEK) and set offsets.
    Check this link, you may get some idea from that.
    Re: Aging Report

  • "Set offset for Variable" is disabled

    Hi,
    I need to use this option but it is disable (inactive) and I am not able to set offset.
    I am using it for single value variable.
    Please help,
    Thanks

    Hi,
    Can you try create a variable as interval option and offsetoption  will enable.
    Regards
    sivaraju

  • Optical Flow and setting Offset make Not an Image

    Hi all,
    What I'm trying to accomplish is taking only a few hundred rows from a camera sensor to improve frame rate and moving the offset around based on movement in the image.
    I am utilizing configure grab and grab in a loop to improve refresh rate.
    I set up a test where the offset in Y was just incremented each loop and displayed the image. This is no problem. I have the incrementor as a remainder output and it will loop all day without error, and the image 'scrolls' across the available sensor space.
    When I use optical flow (or point LK algorithm), with no incrementation, and just moving the camera around, optical flow has no problem. It will run all day. Also, the output is correct when I take care to set up the algorthim.
    However, when I put the incrementation of the offset and the optical flow together, there is a problem. I expect the optical flow to return a vector similar to my incrementation. Instead, the program exits with a 'Not an Image' in the input of the optical flow block. Indeed, if I put a probe down the image does not appear.
    The weird thing is this: for some increments it runs no problem. If I increment 10 rows at a time, no problem. If 8 or 9 or 1 for example, it crashes with 'Not An Image'. If I feedback the output of the optical flow vector into the offset change, the program will run until the distance of the vector in one of the X or Y directions happens to be one of these 'unhappy' numbers.
    I also don't understand why 'Grab.vi' is returning an empty image when connected to optical flow, but with an image output without optical flow the image is never empty.

    Hi,
    Please share your code if possible. This would be helpful to better understand your code flow and make recommendations accordingly.
    Also for your reference, here is also a link to a forum regarding optical flow:
    http://forums.ni.com/t5/Machine-Vision/Displaying-​Optical-Flow-from-AVI-file/m-p/2738890
    Luis S
    Application Engineer
    National Instruments

  • Query Designer: "Set Offset For Variable" not available

    Hi,
    I want to restrict a character by using a variable with offset, but the needed function is disabled in context menu for different variables (customer exit, single value, multiple values, etc.). I have found a hint here, that this function only works with interval variables. Is this correct?

    Hi,
    1) For Customer Exit Variable: Offset Functionality will not work,
    2) For Manual input  Interval Varable: you can have the Offset, but the offset will work on upper limit only
    Ex: if u execute the quey by giving the interval like 2 - 4; then in the report output u can see only 2, 3 months data means the offset is working on 4 i.e upperlimit,
    3) For Multiple Single Values:  No offset Functionalty
    Thanks,
    Regards
    ReddYA

  • 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.

  • Setting offset in text variables

    Hi,
    I had a requirement to get the header values to be dynamically populated based on a value from the table.
    I need this value to be decremented locally for each and every column heading. Each column involves some calculations from RKFs . Is there any way to have the offset for text variable locally so that I can avoid writing code to populate each and every column header.
    Thank You for your help in advance.
    K.Manikandan.

    Hi,
    create your text variable with processing type of customer exit and NOT ready for input.
    In CMOD, code the following being given ZTEXT your text header showing the period and ZINPUT representing the variable input by the user
    DATA: loc_var_range LIKE rrrangeexit.
      WHEN 'ZTEXT'.
        IF i_step = 2.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZINPUT'.
            CLEAR l_s_range.
            "loc_var_range-low will be like 'yyyymm'
            CONCATENATE
                loc_var_range-low+4(2)
                loc_var_range-low(4)
            INTO  l_s_range-low.     
            l_s_range-sign     = 'I'.
            l_s_range-opt      = 'EQ'.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
        ENDIF.
    You can even make it nicer by doing something like mm.yyyy
            CONCATENATE
                loc_var_range-low+4(2)
                loc_var_range-low(4)
            INTO  l_s_range-low.    
    or anything else of your creativity
    hope this helps...
    Olivier.
    Message was edited by:
            Olivier Cora

  • What do I set offset to?

    I'm new to Indesign and have created a business card 84mm x 55mm with 4mm bleed (spec asked for by the printer). Only problem is I've no idea what to enter in the offset field when exporting to PDF for print? Can anybody help give me a figure for this please?

    Just make sure it's slightly larger than the bleed and you should be okay.
    Bob

  • 0FISCPER - dynamic 12 months

    note to remeber i do not have posting period or calmonth in the cube.
    If the user enters 0FISCPER how to get all the 12 months in the query and Sum of 12 months dynamically
    example - user enters 11/2007 ,it should populate 01/2007 to 12/2007 12 columns in a query and then SUM of 12 columns in query.
    WHat ar the ways of achieving it with Bex and with user exits??
    thanks

    Milt,
    Put all filters and free chars as per your tech spec.
    Again put what all chars you need against which the key figures should be displayed.
    Now coming to columns:
    In a new selection restrict fiscper with the variable which the user enters. u can use any key figure here. Just hide this column.
    Create a new selection. In that selection create a new variable on 0FISCPER which is not ready for input and processing type as "customer exit". These are all the options to be used while creating a formula variable.
    While writing code in CMOD read the variable value eneterd the user and then populate the required date. Suppose the user enters 07/2006, then in the code read the year and attach it to the output which should be 01/2006. Now this column will have restriction value for 01/2006 month.
    Again use the same variable in the second new selection. right click on that variable and set offsets +1. This will get the restrcition value 02/2006.
    Repeat the same for all 12 columns.
    For 13 th column, create a new formula and add up all the 12 columns which will give you the sum of all 12 months.
    This wil give you the output as desired.

  • How do i put the results from a calculation as the offset value

    hi .. i am trying to set the value of the mask offset from the results i get from a calculation.
    this is what i am trying to do
    i want to get a ROI from an image, so i used thresholding to separate it form the background
    then i find the centroid of the image. i then create a mask a little
    larger than the ROI to get rid of the background in an unthresholded
    image but the position of the mask is at origin(0,0)
    i need the centroid of the mask to be the same as the ROI. so i
    subtract the x and y values of the ROI centroid with the centroid of
    the mask to get the offset.  which is done manually. but i want to
    do it for ROIs in different positions, so i want to get the value of
    the subtraction staight into the VI .. how can i do that..?? i tried
    wiring the value of subtraction into the input of the "set offset" node
    but it does not work .. can anyone help me ??thanks very much

    i managed to get it done...i did not know how about the cluster to element function .. could you comment on my program?
     i'm trying to construct a sign language translator.  for the
    signing. i am using yellow colored gloves with colored finger tips. the
    yellow region is to help me detect the position of the gloves during
    thresholding.
    1st of all .. i do thresholding to separate the ROI from the
    background.. then i put a bouding box around the region of interest. is
    there any better and easier way to do this??
    could anyone point me in the right direction ?
     i am very new to LV and image processing. i always have problem
    using some functions especially when it requires lots of settings.
    sometimes the help file does no help much ..
    my next problem after creating the bounding box is how do i extract
    only the colors from the image? i tried color thresholding but the
    result is gray scale. how do i extract only the yellow region of the
    gloves and the finger tips to be further processed? in MATLAB , color
    segmentation is used.. but i can't figure how it works in LV .. please
    help me .. thanx
    Attachments:
    color threshold_andreas_centroid_mask.vi ‏263 KB

  • Off set for component requirement  in PM order

    Dear Experts,
    In my PM order,  offset date for component requirement date is working only for the first component. for the next component it is taking basic start date( i e order generated date by default) as the requirement date even though i entered offset for some days.
    Experts, please explain me how to come out of this problem.
    Thanks & Best regards,
    Praveen

    Dear Praveen,
    Its working Praveen.
    Please check this way: 1st operation>double click operation no.>put component>double click item no. of component>now set offset
    2nd operation>double click operation no.>put component>double click item no. of component>now set offset
    Now suppose you taking two component for same operation then for the second you can have different offset by clicking item no. of that componet.
    Please check and let us know again.
    Regards,
    Kaushal Rai

  • Query offset value

    Hi query experts,
    in query properties there is an OFFSET value char is there?
    wat is the use and function and application of OFFSET value?
    could u explain with one example?

    Hi,
    Offset is used to define the time gap between the present time and time variable.
    For Eg:Requirement is like i want to display the values for the current month and for previous month in 2 columns then,
    If i enter calmonth 06.2010 for variable CALMNTH in query i want to show 2 columns -one with 06.2010 data(col1) and another with 07.2010 data(col2).
    So in col1 i restrict 0calmonth with CALMNTH and for col2 i restrict with CALMNTH-1.to get CALMNTH-1 i right click on the variable CALMNTH and set offset as -1.
    [Examples of Offset|http://blog.csdn.net/lvzhqi/archive/2008/05/05/2394168.aspx]
    Hope this helps
    Regards
    Kp

  • Can I use Variable Offsets or Formula definition  for my problem?

    Hello,
    how can i get my BEx report to show me cash weeks 28 to 35 when i enter 27 as the variable selection? What i need are the next 8 weeks ahead of the week that i entered.
    Thanks,
    SD

    Hi Sebastian,
    Create a new selection in a structur in columns.
    In that selection, use characteristic 0CALWEEK and restrict it by single value, ready for input variable.
    When you restrict the characteristic 0calweek in the selection(right click and restrict), choose the option value range.
    Now in the left part of the window you would see 2 fields, for low and high vaue.Click on F4 help. Put in the same single value variable created before in both the low value and high value field.Now transfer your selection to the right side of the window.
    Then right click on the selection on the right side of the window and  choose set offset value.
    Put 1 in the first window and press ok and 8 in the second window and choose ok until u return to query designer.
    You can place the key figure structure below this structure.
    Hope this helps.
    Regards,
    Sunmit.

  • Offset variable to restrict by last 4 quarters on multiprovider (0FIAR_O03)

    I have a requirement where I have to show debit/credit amount for last four quarters. The data granularity is at doc date, posting date level. The time chars in the multiprovider (built on 0FIAR_O03 and 0FIAR_O06) are fiscal year, fiscal year variant, fiscla year/period.
    I plan to use offset variables to get the four quarters data, but I do not know what time char I should use to restrict the debit/credit amount on to get the quarters data. With the available time chars is it possible to do this?
    Any help is greatly appreciated.
    Thanks,
    Vijayini

    Hi,
    Create a Structure in the Columns area.
    Create a new selection(one for each quarter) with the following.
    1. Debit/Credit Amount
    2. Fiscal period/yr - restrict on customer exit variable which returns the last quarter.
    Create the second selection with the following.
    1. Debit/Credit Amount
    2. Fiscal period/yr - restrict on customer exit variable which returns the last quarter and set offset value as -1.
    Repeat the same for other quarters. Hope this helps.
    Regards,
    Suzitha.

  • Offset for calenderyr/month

    Dear Experts,
    I have a report in which there is a characterictic claenderyr/month.
    Input paramter is claenderyr/month which is restricted by a variable of type interval.
    i mean user will calenderyr/month as interval say 04.2009 to 06.2009 ..
    I have included calender yr/month in column  and material and plant in rows.
    report output is like
                                                                            calenderyr/month
                                         opening stock        closing stock                 production
    plant material    
    what i want is for getting closing stock i need  previous month of same year..for that i set offset on calenderyr/month variable by -1 and restrict stock with this variable  but this is not working.
    Please advise how to do this.
    Regards
    Shweta

    Hi,
    I hope you are talking about 0IC_C03 InfoCube and reports.
    Opening Stock Qty
    Create a new selection in Columns like below
    Keyfigure: 0VALSTCKQTY
    Time:         0CALMONTH with User Input Variable i.e. Single Mandotory Input.
                     Input variable must restrict with off Set with -1.
                     i.e. restrict input variable with  <= lessthen or qual to and give offset -1.
    Opening Stock value
    Keyfigure: 0VALSTCKVAL
    Time:         0CALMONTH with User Input Variable i.e. Single Mandotory Input.
                     Input variable must restrict with off Set with -1.
                     i.e. restrict input variable with  <= lessthen or qual to and give offset -1.
    Cloksing Stock Qty
    Create a new selection in Columns like below
    Keyfigure: 0VALSTCKQTY
    Time:         0CALMONTH with User Input Variable i.e. Single Mandotory Input.
                     i.e. restrict input variable with  <= lessthen or qual to. " here no offsets.
    Closing Stock value
    Keyfigure: 0VALSTCKVAL
    Time:         0CALMONTH with User Input Variable i.e. Single Mandotory Input.
                     i.e. restrict input variable with  <= lessthen or qual to  " here no offset.
    Rows: Drag & drop Material, Plant and if you want to give Variables for that.
    Thanks
    Reddy

Maybe you are looking for