LOV custom sorting in prompts for calender month

Hello Everyone,
I want to do sorting in prompts in webi for Calender Month in the form (Jan,Feb,Mar....)
Whereas, it comes alphabetically As (Apr,Aug and so on....) i want to know that can we find the solution for the same.
I also want to know if yes can we do it in webi itself or we will have to do it on Information Design Tool?

Hi Foram. I, too, am using HANA as my backend. Here's one way you can sort your data-driven prompts that appear in Web Intelligence:
Open your business layer within the Information Design Tool.
Verify that the column to be displayed in the Webi prompt (e.g., "Month") has been defined in your business layer.
Select the "Parameters and Lists of Values" button.
In the "List of Values" frame, press the down arrow and then select "List of values based on business layer objects".
Give the the list an intuitive name; e.g., "Month LOV".
On the Definition tab, press the "Edit Query..." button.
Drag the column to be displayed in the Webi prompt (e.g, "Month") to the Result Objects frame.
Press the "Sort dialog..." button.
In the Sort dialog box, press the "Insert Sort Object" button.
Select the column to sort on; e.g., "Month" and then press the OK button.
Verify the sort type; e.g., "Ascending".
Press the OK button.
Press the Preview button to confirm the results.
Save and publish the universe to your repository.
Open your Webi report.
Enter into Design mode.
Open the Query Panel.
Select the appropriate query.
In the Query Filters frame, select the prompt (e.g., "Month") and press the "Show prompt properties" button.
In the Prompt Properties dialog box, in the Prompt Properties frame, make sure "Prompt with List of Values" is selected.
Press the OK button.
Press the Close button.
Press the Refresh button.
Confirm that the prompt (e.g., "Month") is sorted properly.
Hope this helps!
Chris

Similar Messages

  • Variable for calender month in BEX Query

    Hi all ,
    I am new to BI .
    Can any one please guide on how to create a month year variable that I can get calculated from a date..
    For Example
    if billing date is 01.02.2009 then my variable should have 02.2009 in Query   .
    Regards,
    Shashank

    Hi Shashank,
        You can achieve this by creating a customer exit variable for calendar month.
    Function module :
    READ TABLE i_t_var_range WITH KEY vnam = 'Date variable name ' INTO loc_var_range.
       IF sy-subrc = 0.
        year = loc_var_range-low(4).
        month = loc_var_range-low+4(2).
         CLEAR l_s_range.
         l_s_range-sign = 'I'.
         l_s_range-opt  = 'EQ'.
         CONCATENATE year month INTO l_s_range-low.
         APPEND l_s_range TO e_t_range.
       ENDIF.
    Hope this will help you. Let me know if you have any questions.
    Regards
    Suvarna

  • Custom Report Syntax - Prompt for limiting collection

    I'm building a customer report that will display maintenance windows for multiple devices.  I'd like to be able to filter the number of devices reported by collection (as to not have EVERY device in the console listed all at once).
    I've got the report working for everything except the filtering part.  Do I need to add a new Dataset and then filter it somehow?  Here's my only dataset so far:
    FIELDS: Computername, CollectionName, Next_Maintenance_Window
    QUERY:
    select
    v_FullCollectionMembership.Name as Computername ,v_Collection.Name as CollectionName,
    v_ServiceWindow.Description as 'Next Maintenance Window'
    from v_ServiceWindow
    inner join v_FullCollectionMembership on (v_FullCollectionMembership.CollectionID = v_ServiceWindow.CollectionID)
    inner join v_Collection on (v_Collection.CollectionID = v_FullCollectionMembership.CollectionID)
    order By Computername
    What do I need to add to be able to select the collection 1st then run the query above?

    HI
    Or you could do it like this:
    Create a new dataset and paste in the following Query:
    SELECT
      v_Collection.Name
      ,v_Collection.CollectionID
    FROM
      v_Collection
    Where CollectionType=2
    Insert the following code in your own Query (dataset) right before order by Computername
    Where v_Collection.Name = (@CollID)
    Expand Parameters in Report Builder, you should see a paramter called @CollID
    Right-click CollID and fill in the following information on the general page:
    Name: CollID
    Prompt: Collection
    On the Available Values select Get values from a query
    Dataset: Dataset2 (the new dataset you just created)
    value field: Name
    Label field: Name
    Design your layout in report builder and run the report. You will get a drop-down box with all your device collections.
    This report is not "RBAC" enabled

  • Customer exit in APO for current month in query

    Hi,
    I need to create a customer exit which automatically restricts 0calmonth on the current month in a query.
    How should I do this APO?
    Most important, Which table should I use to find the input, i.e current month and year?
    If possible please provide some code to show the solution.
    Best regards,
    Sebastian

    Use the standard SAP exit 0I_CLMTH.

  • How to create a text variable for Calender Yr/Month depending on the prompt for calendar year

    Hi everyone
    Please assist on this issue:
    i have created a Bex report that has an offset for 12 months from the current calender month, i tried to use text variables to replace the calender months but i just learned now text variables from Bex dont work in BO, so I would like to create a prompt in BO to enter Calendar Year and then based on the input(Calender Year) the Webi report must display a 12 months for that Year.
    Please also indicate where exactly  i have to click in order to get that "Helpful icon "  when the my issues have been resolved, because i searched it and havent seen it anywhere on the communications
    Thanks in Advance
    Ole

    Hi Gill
    In BO I recieve my all months for existing data  and when i create a prompt for Calender Year the months in the report still has those text varibale for exampl if i enter 2011 on the prompt the text remains for the year that was already there wen i created my text variable... so its not dynamic.....
    So if i have text variables in Bex it will display like this in Webi in which it wont change if i put in 2011 as input for the prompt...

  • Custom sorting within "for-each-group:current-group"

    Hi, I need some help in doing a custom sort within a "for-each-group:current-group". My formatting is in a table format but I'm not sure how to post a table here so I'm just arranging the column details out as it would look in a table. I have a column on the left for the YEAR and a second column on the right for the DESCR. Under the DESCR column I've inserted a nested table with four columns: SUBJECT, CATALOG_NBR, DESCR250 and GRADE.
    COLUMN 1:
    <?for-each-group:row_table;./ YEAR?><?sort: YEAR;'ascending';data-type='text'?><?YEAR?>      
    COLUMN 2:
    <?for-each-group:current-group();./DESCR?><?DESCR?>
    NESTED TABLE (with 4 columns):
    +<?for-each:current-group()?><?SUBJECT?><?CATALOG_NBR?><?DESCR250?><?GRADE?><?end for-each?>+
    <?end for-each-group?> <?end for-each-group?>
    I'm able to sort by YEAR in the "for-each-group" on the left column. But I also want to do a custom sort on DESCR in the right column.
    I've seen this blog on custom sorting by Vetriselvan: http://winrichman.blogspot.com/2009/09/custom-dynamic-sort-in-bi-publisher.html and I tried inserting this sort below after <?for-each-group:current-group();./DESCR?> but I get an error message.
    <?sort:(number(DESCR='Status')*1)+(number(DESCR='First Semester')*2)+(number(DESCR='Second Semester')*3);'ascending';data-type='number'?>
    I've also seen this thread: Re: Sort within group and tried inserting <?for-each:DESCR?> before the sort (as below) - this time I can preview the results, but it is not sorting as required.
    <?for-each:DESCR?><?sort:(number(DESCR='Status')*1)+(number(DESCR='First Semester')*2)+(number(DESCR='Second Semester')*3);'ascending';data-type='number'?>
    Can anyone help me custom sort the DESCR column? I'm using Template Builder for Word version 5.6 build 45. Thanks in advance for any help!

    Hi Vetsrini,
    I tried adding <?sort: ./DESCR;'ascending';data-type='text'?> after <?for-each-group:current-group();./DESCR?> but I'm getting an error message.
    The DESCR values are below and I'm trying to sort them in the following order.
    STATUS
    SUMMER SEMESTER
    FIRST SEMESTER
    AUTUMN SEMESTER
    WINTER SEMESTER
    SECOND SEMESTER
    SPRING SEMESTER
    Because I need them in the above order, I can't use ascending or descending, and instead need to use a custom sort order. Do you know how I can go about creating a custom sort order?
    Thanks!

  • Creating prompt for Months

    Hi,
    I need to build a prompt that allows the user to select only Month and not calendar dates i.e Jan 2008 etc. In my report i need to show Transactions by Month.
    I have a dimension table - Dim:Time and one fact table Fact:Transactions.
    In my report I have added month is prompted. In the prompt I have Month 'is between'.
    When I run the report I am unable to get the months between my selection from the prompt. It shows all other months as well. This appears to be since the keys in the dimension are not in the ascending order of the months.
    How can this be taken care of in OBIEE? Any suggestions?
    Thanks.

    For dashboard prompt to work properly you have to sort ascending wise the month column and if it represent text then it will sort alphabeticaly which is not correct in case of month .
    First case will also not work.
    Second Case : Add any date column in the existing request from Time Dim and calculate month number over it using the function MONTH in Calendar/Date category of functions ,sort in ascending order .Create a dashboard prompt of this date column and again apply MONTH function over it .
    Make a note in the Dashboard page for 1=Jan,2=Feb.....
    No other choice as per my perspective.
    If found any other way please post the solution..
    I have checked the prompt will work by this way.
    Regards,
    Amrita

  • Need help in creating prompt for Month To Date Report.

    <span class="postbody"><font size="2">Hi All <br />I need to create a Month To Date Report using month(Start date & End date) as prompts, By default it has to run on the previous month data or if user selects his own range of dates then it has to bring the data for that range of dates ,one more thing is i am not showing the month and date columns on the report.Can any one help me how to create prompt for this in DeskI XIR2</font></span>

    Could you clarify some things? You are saying you are trying to transform the xml output of a webservice with an xsd, but an xsd is a schema that describes the allowed format of a xml file. If you want to transform xml from one format to an other (from one xsd to an other) you have to use a xsl file. You can make and test this with JDeveloper. Are you calling the webservice from esb or bpel?
    Kind Regards,
    Andre

  • Webi 4.0 Custom Sort for SSAS Hierarchy

    Hi,
    I'm using SSAS cube as a source for my webi report .Some report need custom sorting for hierarchy object , we are not able to apply sorting correctly in webi.
    What do i need to do in order to apply the custom sorting for hierarchy object?  Thanks.

    Hi, I've written a post on this:
    http://blog.davidg.com.au/2011/09/dynamic-measures-in-webi-on-any-data.html
    ...and a few people in the comments seemed to have the same problem as you, which seems to be a bug (clicking the ellipsis does not launch the custom values screen).
    Perhaps you could try the solution offered by Gallin, which was to create a second input control, then retry the steps to create another input control and click the ellipsis to enter custom values.
    Hope that helps.

  • My Adobe X! trial expired I paid for a month to month subscription on MArch 13, 2015 but I could not activate it. The prompt is asking me for a serial number (which I wouldnt have since I downloaded the trial from the website. How do I activate it with my

    My Adobe XI trial expired I paid for a month to month subscription on MArch 13, 2015 but I could not activate it. The prompt is asking me for a serial number (which I wouldnt have since I downloaded the trial from the website. How do I activate it with my Adobe ID? "activate with Adobe ID" is not an option on my screen. It only asks me for the serial number.

    uninstall your acrobat XI.
    if win os clean, Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs
    then dl the desktop cc app and use it to install your subscription acrobat XI, Creative Cloud Help | Creative Cloud for desktop

  • Customer Exit for Calendar Month based on the day (system Date)

    Hello,
    I need help in creating a customer exit for Calendar month without the user input. The logic is as follows:
    For the BEx variable created with customer exit option and no user input:
    If the day on the system date falls in between 1 to 14 take the calendar year/month value as previous month.
    If the day on the system date falls in between 15 through 31 then take the calendar year/month as current month.
    eg if report is run on March 24th2009 the calendar year/month variable should be calculated as 03/2009 (March 2009)
    if the report is run on March 1st2009 the calendar year/month should be calculated as 02/2009 (Feb 2009).
    The code should be effective when run in the first 15 days of Jan when the previous month would contain the previous year as well.
    Thank You
    Srishti

    Thanks Shanthi. I am trying to incorporate the logic when the query is run in beginning of Jan when the year should be the previous year.Following is the code.please let me know if it would work. Is there a way I can test it as well?
    CASE I_VNAM.
    WHEN 'ZCURCALMON'.
    IF i_step = 2.
    data: mm(2),
            dd(2),
            yy(4),
            FM(6).
    if sy-datum+4(2) EQ 1.
    sy-datum(4) = sy-datum(4) - 1.
    else.
    sy-datum(4) = sy-datum(4).
    endif.
    if sy-datum+6(2) LE 15.
      mm = sy-datum+4(2) - 1.
      concatenate sy-datum(4) mm into FM.
    else.
      concatenate sy-datum(4) sy-datum+4(2)  into FM.
    endif.
    l_s_range-low = FM.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    append l_s_range to e_t_range.
    Endif.
    ENDCASE.
    Thanks
    Srishti

  • Prompt for Customizing request when saving Sales Employee (VPE1)

    Hi,
    When we try to create Sales Personnel through SD Menu path (VPE1), on saving the system prompts for customizing  request. Since this transaction is a master data and we dont transport this data to our production system. Suggest me a way to avoid this transport request while creating Sales Personnel.
    We are currently using version 3.1i and upgrading to ECC6.0. In 3.1i we use transaction PAL1 to create Sales Personnel However it will not prompt for Customizing request
    Also checked the SAP Note Note 854390 - FAQ: Use of the sales representative in SD without HR
    Help me on how to turn off this customizing request. Basis and Security team could not able to turn this off.
    Regards,
    Pradeep Maddi

    hello, friend.
    you have 2 choices:
    1.  create a transport request, save the data but do not release it for transport.
    2.  when the dialog asks you for transport request, just close this.  the system will give you a message about links.  just ignore it.
    hope this helped.  reward if so.
    regards.

  • How to use LOV on a derived table dependent on a prompt for Webi web intelligence view.

    The semantic layer has not created a defined LOV for the derived table.   This only happens when pulling columns from derived table which depends on a prompt for unique selection.  When pulling from derived table that does not depend on a date prompt does not have an issue in Webi.
    I don't know if this is a universe design issue or WEBI.
    Webi Rich internet application   selects the date prompt first but if click on Storeno in List it returns a LOV with auto refresh.
    Webi Web Intelligence returns  List of Values for current prompt requires values for following prompts:   and when you click to refresh  webi responds with 'undefined'

    Hi…
    Can you check Prompt : Store No is created at universe level and defined the syntax correctly
    @Prompt(1,2,3,4,5)  insert a prompts in SQL. When the user runs the query, the user is prompted to enter a value for a refresh each time.
    1 = 'Prompt Text Message'
    2 = 'Prompt Type'  (i.e. A,N,D,U)
    where A= Character, N= Number, D= Date, U= Unit.
    3 = 'Class Name/ Object Name'
    4 = 'Multi/ Mono'
    Multi means Multiple ( Example = 2004,2005,2011)
    Mono means Single ( Example = 2012)
    5 = Free/Constrain (Type value or select value in LOV/ Select Value)
    Example for creating a @prompt filter is below
    @Prompt('enter year','A','time period/year', Multi', Free)
    Pointer to a “List of Values” from an existing universe object. You invoke the target list of values by double-clicking on the object contain ing the list of values that you want to use in the "Classes and Objects" panel. This gives the Class name and the Object name, separate ed by a backslash. It must be enclosed in single quotes. For example: 'Client\Country'. When you are using “Index Awareness”, and you want to return the key values for an object,set the 5th value to primary_key
    • Hard-coded list of single values or value pairs. The values in a pair are separated by a colon. Each value is enclosed in single quotes. The pairs of values are separated by a comma. The whole list is enclosed in curly brackets. Set the constraint to primary_key
    http://www.businessobjectstips.com/tips/web-intelligence/prompt-functions-the-next-step-optional-prompts/

  • Why is it ok for a verizon wireless service representative to lie to a customer? I went over my monthly data and i called to ask for some help with the overage because i was barely over. They told me they would take care of it and sold me on a shared data

    why is it ok for a verizon wireless service representative to lie to a customer? I went over my monthly data and i called to ask for some help with the overage because i was barely over. They told me they would take care of it and sold me on a shared data plan that would result in 2gb less data but told me i would save 20$ a month. I agreed and recieved my next statement and to my suprise my bill actually went up 15$ a month and i talked to several people and they all told me there is nothing that can be done to get back on the plan i was on and they can not even give me a discount to get me back to what i was paying. They can only offer me a convenience credit. I will be cancelling service.

    ajwest101,
    We do not want to see you go. I truly apologize for any misinformation regarding your plan. Let's investigate into this a little further. What plan were you on? What plan were you switched to? If you look at the detailed billing online of your previous bill do you see any additional charges other then the plan?
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • XI: Alerts - Step by step issue " Prompt for customizing request"

    I am going through Michal Krawczyk's blog XI: Alerts - Step by step
    Michal Krawczyk and between step 4 and step 5 I run up against an issue.  I cannot save it because I get a popup saying "Prompt for customizing request" then I click the list button and it says " You can only include objects of this type in customizing requests only" ( a little redundant I must say ) but anyway - the net result is I can't save and lose all the work I just did.
    Any help would be greatly appreciated!
    Thanks - Andrew

    Scott,
    I have replied in your another thread for this issue. I request you to please make one thread only so that it will not confuse you and the SDNers.
    ---Satish

Maybe you are looking for