Year Prompt selection

Hi gurus,
I have a requirement that if I select year value from prompt then the report data should filter with selected year and next year of the selected year.
For Ex:
If i select year 2010 then the year values in the report output should be 2010,2011.
If i select year 2011 then the year values in the report output should be 2011,2012.
that means selected year and selected year+1 should be displayed in the report.
How can i achieve this, please help me out with your valuable solutions.
Thanks,
Tinku
Edited by: 934322 on Mar 6, 2013 1:06 AM

Hi,
1) create a presentation variable PRE_VAR.
2) create a prompt on the year column and assign the value to the presentation variable PRE_VAR.
3) create two filters in the report with OR condition like (Year = PRE_VAR OR Year = PRE_VAR + 1)
It may work for your requirement.
Regards,
Lakshmipathi.

Similar Messages

  • Displying Current year and previoues year whlie selecting prompt level

    Hi All,
    we have year prompt and report level year column,fact1,Fact2(year Ago).
    now when we select year value in prompt level we need to display that value and privoues year values.
    Ex: if select 2011 in report level need to diplay the 2011,2010.
    report factcolumn is working fine i need to disply the year values(like 2013,2012)
    Find the image
    http://s10.postimg.org/7jvc9svd5/image.png
    Thanks,

    Hi,
    What is your question? what is not working fine? You mean report or Prompt?
    Thanks,

  • Default Current year in select option field on selection Screen

    Dear Experts,
    I want to set current year as default value in fiscal year select-options field on selection screen.
    for this, i hv written following code
    DATA:VAR_DATE TYPE SY-DATUM.
    DATA VAR(4) TYPE C.
    VAR_DATE = SY-DATUM.
    VAR = VAR_DATE+0(4).
    this retrieves current year .
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-000.
    SELECT-OPTIONS I11 FOR ANLC-GJAHR DEFAULT VAR TO VAR..                            "Fiscal Year
    SELECTION-SCREEN END OF BLOCK B1.
    Now when i am executing program pop-up is raised describing "Specify the range Limits". Please help.
    Regards,
    Apoorv Sharma

    >
    Ganga Bhavani R wrote:
    > Use below lines.
    >
    > SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-000.
    > SELECT-OPTIONS I11 FOR ANLC-GJAHR DEFAULT SY-DATUM+0(4). "Fiscal Year
    > SELECTION-SCREEN END OF BLOCK B1.
    Hi, Ganga,
    I think it will not working properly that way, Please test the bellow Sample Code.
    TABLES: anlc.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
    SELECT-OPTIONS i11 FOR anlc-gjahr .
    SELECTION-SCREEN END OF BLOCK b1.
    INITIALIZATION.
      IF i11[] IS INITIAL.
        i11-low = sy-datum+0(4).
        APPEND i11.
      ENDIF.
    Thanks and Regards,
    Faisal

  • Need to Display columns depending on the prompt selection

    I  need to show the only the columns as per the prompt selection given by the user.
    Suppose there are 5 prompts say (first name, last name, phone number, address, DOJ). All the prompts should be optional. If the user gave input for first name and last name then only this two columns must be displayed in the report.

    Yes it is possible but you will have to write down formulas for these columns.
    First add all required object in your report and format them in your report.
    Now say you want Last name to appear when you user enters last name in prompt.
    Write down following formula
    Report Detail Area
    =If(UserResponse("Last Name"))="USER INPUT" Then [LNAME]
    For column Heading you can use
    =If(UserResponse("Last Name"))="USER INPUT" Then "Column Heading"
    The same pattern may be applied for other columns.
    Regards,
    Bashir Awan

  • Request based on Prompt selections.

    Hi All,
    Please let me know if this requirement is feasible through OBIEE.
    I have a dashboard Prompt which has three columns. These three columns are constrained as per the hierarchy.
    Country
    State
    District.
    I have three requests which show Region, Sales based on the Region
    Request 1 : Shows District level sales
    Request 2 : Shows State level sales
    Request 3 : Shows Country level sales.
    Now the requirement is:
    a) When I select District only( State and Country as All Choices) or State and District or Country and State and District
    then the lowest level only should be shown i.e. Request 1 should show up ( only for District).
    b) When only State is selected ( Country and district as All Choices) or Country and State is selected then show only the State level request (Request 2).
    c) When only Country is selected ( State and District as All Choices) then show only the Country level request ( Request 3).
    That means based on the Prompt selection, only One Request should be shown in the dashboard any time.
    Please let me know if this is achievable.
    Thanks in advance.
    Bhavik

    Hi Bhavik,
    Put each request in a seperate section and control which section is shown via Guided Navigation.
    Good Luck,
    Daan Bakboord
    http://obibb.wordpress.com

  • Date , Year Prompt

    Team,
    We have 2 prompts:
    1 for Date
    2 Year.
    Basically what we need is that when a user click on any date, the year part of the Date prompt should be displayed in the YEAR prompt.
    So is there a way in which we can use a Presentation variable for this
    say, prentation variable for Date prompt is parTestDate
    and if we can use this variable in Year Prompt as Year(parTestDate) then it should suffice.
    But am not able to achieve the desired result or may be my approach is wrong
    Please guide
    Can you please help me with this.
    Thanks
    BG

    Sorry, but this is not working.
    I already tried before
    I wanted to use presenatation variable because to use the variable of one saved prompt in another saved prompt.
    Basically two diff prompts saved in diff shared folders.
    Please advise

  • Swapping of request through prompt selection

    Hi!
    can i swap the request with the help of propmt? My requirment is, in dashbord i have to give prompt selection and according to the prompt valve my request should be changed ,how can i achive it?
    thanks
    Deepak

    Link????
    That article will not talk about link..
    it just displays the requests it self that you added in the dashboard sections, but depends on the prompt value you select the guided navigation properties are changes and will hide that particular section and will only show the section where the condition you specify is met...
    Hope you are clear..
    if not.. give clear idea what you want exactly?

  • How to hide section based on prompt selection

    Hi All,
    I have a requirement to hide the section based on selection of the prompt . My scenario is like i have 1 dimension table and 10 fact table joined to that dimension table. each fact table is having one code of the dimension table.
    I have 10 different reports in 10 fact tables. i have defined a prompt on the dimension table , if i wil select a particular code in the prompt then it will show me that particular fact table report .
    For that i have done 10 reports and i am showing in 10 different section . Now i want to hide the section based on selection .
    If i can put all report in one section and based on selection i can show the report that will be also ok for me ...
    Please help me ...

    Hi ,
    i am able to show the section based on prompt selection . But in my current scenario i have 300 reports based on 300 fact table . If i will put all my report in a dashboard it will fire 300 queries to data base . It will become a performance issue . and one more thing is , does OBIEE support 300 reports in different sections in one page.
    Please help me ...

  • By entering month and year in selection screen

    Hi Friends,
                   My requirement is , when i enter month and year in selection screen and again i press enter now it show me the begin and end date of that month  in selection screen.
    Thanks & Regards,
    Himanshu

    u can use this type of code...
    AT SELECTION-SCREEN.
      DATA it_dynfield TYPE STANDARD TABLE OF dynpread WITH HEADER LINE.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname               = sy-repid
          dynumb               = sy-dynnr
          request              = 'A'
          translate_to_upper   = 'X'
        TABLES
          dynpfields           = it_dynfield
        EXCEPTIONS
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          invalid_parameter    = 7
          undefind_error       = 8
          double_conversion    = 9
          stepl_not_found      = 10
          OTHERS               = 11.
      READ TABLE it_dynfield WITH KEY fieldname = 'month'.
      IF it_dynfield-fieldvalue IS NOT INITIAL.
        month = it_dynfield-fieldvalue.
      ENDIF.
      READ TABLE it_dynfield WITH KEY fieldname = 'year'.
      IF it_dynfield-fieldvalue IS NOT INITIAL.
        year = it_dynfield-fieldvalue.
      ENDIF.
    use FM HR_JP_MONTH_BEGIN_END_DATE..
    get startdate and enddate
    AT SELECTION-SCREEN OUTPUT.
    startdate = <start date from FM>.
    end date = <end date from FM>.

  • Some user cannot save Dashboard Prompt Selections OBIEE

    We are having issue with some users cannot able save dashboard prompt selections of themselves, even though the group they belong to has rights to it.
    This issue happens only for some users, it works fine for other users. They all belong to the same group.
    Access privilege on the Saved Selections is set for "Everyone".
    Any help will be great appreciated

    Verify if the 'My folders' for each user has been enabled or not. Usually , if 'My Folders' is disabled for that user there would'nt be any "_selections" folder created in the individual user catalog folder. Once the "My Folders" is enabled for that user via Manage Previlages , the users should be able to save the dashboard prompt selection 'for themselves and also for other too'.All the selections by the user would be saved to this folder.

  • HT4191 How do I get to "When prompted, select Delete Notes to remove the duplicates from the device."?  I can't get to this!

    I have duplicate Notes on my iphone 4 (upgraded to iOS 5.1.1)  I have followed your instructions to remove the duplicates.  How do I get "select Detete Notes" to appear on my Mac?  I have connected my phone to my Mac and selected it in iTunes.  I clicked the Info pane and deselected the option to Sync Notes.  THEN WHAT should I do?  How do I get the prompt "Select Delete Notes to remove the duplicates from the device.  (I do want to sync them using the over-the-air feature.)

    I would try the following:
    First sync your phone with iTunes to create a new backup (just in case).  When done, disconnect your phone from your computer.
    Next be sure that all of your Notes are on your mac (Don't proceed any further if they aren't).  If so, turn off iCloud syncing for Notes on your phone go to Settings>iCloud and turning Notes to Off.  When prompted choose to delete the notes from your phone.
    Next, without connecting your phone to your computer, open iTunes and go to iTunes>Preferences, on the Devices tab check "Prevent...from syncing automatically".
    Now connect your phone to your computer, click on the name of your phone when it appears in iTunes on the left sidebar.
    Go to the Info tab and under Other check Sync Notes, then further down under Advanced: Replace information on this iPhone, check Notes.
    Click Apply at the bottom right to sync your phone.  This should sync the Notes from your mac to your phone and you should no longer have duplicate Notes.
    Next, on the Info tab uncheck Sync Notes and click Apply, when prompted select to keep the Notes on your phone (haven't tested this step but I believe you will be given the option to keep them on your phone).
    Now disconnect your phone from your computer and check the Notes on your phone to confirm that they are still there and that you don't have any duplicates.
    Next turn on iCloud syncing on your phone again by going to Settings>iCloud and turning Notes to On.
    On your computer, without connecting your phone, go back to iTunes>Preferences>Devices and uncheck "Prevent…from syncing automatically" to re-enable automatic syncing.
    That should do it.

  • Previous 4 months column need to be displayed based on prompt selection

    Hi,
    I have prompt named
    JAN
    FEB
    DEC
    and i have 12 columns from month1 to month 12(jan to dec)
    when i select august from prompt i need to display 4 month previous of august
    so my result should be
    apr,may,jun,jul and august
    if i select february then my result should be
    jan and feb
    basically i need to hide columns based on prompt selection
    can i know how to do this

    Hi
    I think you have to go for Data level Security in this case.
    You have to set that Session variable in the Group/User Permissions tab so that the Group members can see only those regions data only, even if they go for a
    search.
    Otherwise there is nothing to restrict the user in all the directions.
    You have to apply that filter on all the tables in that Subject area.
    Hope this will help you.
    Guys, Please correct me if I am wrong
    thanks
    Anand

  • DM package prompt selection

    Hi All
    Can i create DM package : prompt selection with the selection criteria as a property  for the perticular dimension for (2) pre-filtered dimension members based on a property. Here is the business scenario: we want to allow the users to copy data from trend data points to known data points BUT only allow this functionality for non-driver based accounts. So the idea is to have an indicator property on the account master data and used that property to help us drive the package.
    Appreciate for any answers
    Thanks
    AK

    Hi Nilanjan
    our copy requirement has been changed.
    We are copying from   known to anticipated. for the accounts which has property as account type as "INC" .
    Copy from this data in the cube to (ACCTYPE is the property of the GL Account dimension)
    GLA/c   ACCTYPE    DATATYPE       DATA
    1       INC       KNOWN            100
    2       INC       KNOWN           200
    3       YY       KNOWN           300     
    4       YY        KNOWN           300
    5       YY        KNOWN           300
    To
    GLA/c   ACCTYPE    DATATYPE       DATA
    1       INC       ANTICIPATED     100
    2       INC       ANTICIPATED     200
    I have written this script logic : could you please let me know is there anything im missing.
    How to write the dynamic script logic for this code.  and pass dynamically the prompt values to the code. Like from SELECTION  to TOSELECTION
    *XDIM_MEMBERSET COSTCENTER = <ALL>
    *XDIM_MEMBERSET CUSTOMERTYPE = <ALL>
    *XDIM_MEMBERSET DATATYPE = <ALL>
    *XDIM_MEMBERSET F_DATASRC = INPUT
    *XDIM_MEMBERSET GL_ACCOUNT = <ALL>
    *XDIM_MEMBERSET GROUPS = <ALL>
    *XDIM_MEMBERSET PRODUCTCAT = <ALL>
    *XDIM_MEMBERSET PROFIT_CTR = <ALL>
    *XDIM_MEMBERSET TIME = <ALL>
    *XDIM_MEMBERSET VERSION = <ALL>
    *WHEN GL_ACCOUNT.ACCTYPE
    *IS %ACCTPRPTYFROM%
    *WHEN DATATYPE
    *IS %DATATYPEFROM%
    *WHEN TIME
    *IS %TIMEFROM%
    *REC(GL_ACCOUNT.ACCTYPE = %ACCTPRPTYTO%,DATATYPE = %DATATYPETO%,TIME = %TIMETO%)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *COMMIT

  • Hiding columns in list based on prompt selection

    Hi,
    Question with me here is How to show the details only for selected Years in the prompts.
    Users have to select a range of years for which they want to see the data and based on this selection, the columns should appear. more importatnly, there are other surrounding columns which should appear always on the result screen (that restricts me to use pivot instead).
    e.g. Case 1 - User selected Year Range = 2011 to 2014 -
    Result set columns should be
    ID, CODE, DESC, VALUE_2011, VALUE_2012, VALUE_2013, VALUE_2014, Contact Person, Mail, Phone
    Case 2 - User selected Year Range = 2011 to 2016 -
    Result set columns should be
    ID, CODE, DESC, VALUE_2011, VALUE_2012, VALUE_2013, VALUE_2014, VALUE_2015, VALUE_2016, Contact Person, Mail, Phone
    Did anyone have a solution for such case?
    Thanks in advance.

    user1997473 wrote:
    Limitation I have is - I can not rearrange columns. I have to have initial few columns static, next few based on Years selected and last few static columns in same order. So I can not use pivot per my understanding. Any alternate approach?I don't understand your situation fully, but to answer your requirement, "I have to have...last few static columns in same order.," do this:
    1) Put the dimension columns you need at the end of the report in the Measures section, on the bottom.
    2) Change the Aggregation Rule to Max and the values will appear.
    So you can have dimension columns at the end of a pivot table; you just have to do a little trickery.

  • Issue-Displaying year in selection criteria check

    I am using V3 as fiscvariant. It corresponds to financial year from APR to MAR. It gives proper result in report. But issue is for last three posting periods (JAN,FEB and MAR which corresponds to 010,011 and 012 respectively) when I press check in selection criteria it displays previous year. E..g 011.2008 should display FEB-2009 after pressing check, but it displays as FEB-2008. I have checked table T009B and I can see Year Shift column values as -1 for periods 10, 11 and 12. For all other periods the year shift is 0. Is it the problem? SM30 doesn't allow me to change entries, I am importing them from R/3 as it is.
    Note that as far as query results are concerned it gives proper results, only issue is display during check in selection criteria.

    Any comments/answers? I would like to know atleast which table is read when we press check in the selection criteria after entering the values...

Maybe you are looking for

  • CRM 5.0 ISA insert new price condition from order entry screen

    In CRM 4.0 we wrote a custom field on the order entry screen that shows the list price (sub 1),  we allow the user to change this value (inserts a PB00 price condition in the item pricing) and validates the change is within a certain % of the list pr

  • How to know print margins size

    Hi. I'm developing a print management. I have a problem with impresion margins. I lknow my printer can print with a very little margin (less than one centimeter) but in java, every I print has one inch margins (left, right, upper and lower). How can

  • Permissions unrepaired in 10.5.8

    In 10.5.7 Disk Utility appeared to be repairing the same permissions over and over again. Apple's article TS1148 http://support.apple.com/kb/TS1448 lists these and states they can be ignored. However, far from fixing this in 10.5.8, it seems to have

  • About Materialised Views

    Is it possible to have Primary key contraints and referential integrity in and between Materialised views? Also provide justification, if any. ...Vivek

  • Go to the itunes store and click on itunes radio. I get nothing

    Is the itunes radio site down for some reason. I can to the itunes store and click on itunes radio and it won't load. Any help??