Sort variable values in selection box in BEx web report.

Hello friends,
In my BEx web report I have cal/month selection. When I do dropdown to select values it starts with 01/1960 and I have to click 10 times to get to 01/2006, 02/2006 and so forth.
Is there a way to sort these values so I can get most current cal/month in first list?
Thanks in advance.
Regards,
BJ

I would consider changing the read mode for the dropdown box.  Are all of those dates actually relevant?  Check out the properties of the dropdown box in WAD. 
Thanks,
Jeff

Similar Messages

  • BEx web report selection screen entries retain when closing and opening the report again

    Hello all,
    please help me in the below query.
    Till last month the entries we made in BEx web report selection screen are retained in the selection screen even when we close the web report and open it again from portal without logging off. But recently this functionality is missing and the entries in selection screen are not remembered when we close and open the same report again. It is a good feature for the users. Have you come across this issue?

    No...I think i can reframe the question very clearly......For ex:  we are opening a Bex Web report...so initally we would be prompted by the variable selection screen...in which we have to give the entries(Values) for those variables like Cal month, Sales org, Company code, etc.....Later on the report will get open based on the values we have given......
    Now if we close the particular report without logging off then if i try to open the same report that selected values are missing.....earlier it used to remember the values we have given until we log off....But now that functionality is missing....It was very useful feature.....Can you please tel me what can be done to resolve this??
    I hope the explanation would be clear now.

  • Dependent Select Boxes Driven from Web Services

    Here's a little tutorial that I put together that demonstrates a technique whereby a user makes a selection from a select box, triggering a web service invocation which in turn populates a second select box:
    http://figleaf.mmalliance.acrobat.com/p19377307/
    Enjoy!

    Here's a little tutorial that I put together that demonstrates a technique whereby a user makes a selection from a select box, triggering a web service invocation which in turn populates a second select box:
    http://figleaf.mmalliance.acrobat.com/p19377307/
    Enjoy!

  • Launching a Bex web report in KM in a new window

    Hi All,
    I am trying to figure out how to configure KM so that it would launch a Bex web report in a new window
    instead of being displayed in the innerpage area.  The Bex web report is stored in a KM folder.
    Can someone point me in the right direction?
    Thanks.
    Regards,
    Mel Calucin
    Bentley Portal Architect

    Hi Mel,
    If you have already assigned the Bex report to a role, then you can open the  bex iview and edit the property "Launch in New Window" to Display in separate portal window
    If the report is still not created and is existing in the KM you can create a KM navigation iview or KM document iview and specify the document path where the iview is exisiting OR you can open the bex report, capture the URL of it and create a URL iview for the same... you might want to refer to this thread for more details.
    https://www.sdn.sap.com/irj/scn/thread?threadID=1260067&tstart=0
    And when the iview is ready and the content is getting displayed accordingly, if you want to open the iview in a new window instead of the portal content area, you would have to follow the instructions given above ie to edit the property of iview "Launch in New Window" to Display in separate portal window
    Good Luck!
    Sandeep Tudumu
    Edited by: Sandeep Tudumu on Mar 9, 2009 10:57 AM

  • BEx Web report returns 500 Internal Server Error

    Hi all,
    a user says that he can't run a BEx Web report (query BEx embedded in a WAD web template) because it returns the generic error "500 Internal Server Error". In the screenshot below some more informations about this issue:
    Some other informations:
    - says he can run others BEx Web report (which use the same WAD template on different queries)
    - says he can run the query via RSRT (so I guess there are no authorization problems)
    - says he can run this specific report with another user on his PC
    - says he can't run this specific report with his user on another PC
    - I copied his user and I can run this specific report.
    - browser used: internet explorer 8
    Any suggestions?
    Thanks,
    Michele

    Hi Michele
    Could you refer the SAP Notes
    1722983 - Recommendations to resolve 'NO ESID FOUND' error
    1801130 - How to troubleshoot issues in BICS Remote Web Service for Xcelsius/Dashboard Designer
    Regards
    Sriram

  • BEx Web Reports: Print only Results area??

    Hi gurus,
    I know that it is quite messy printing BEx Web reports with 3.5. ....
    Is there the possibility to print only the results area of a BEx Web report, e.g. without the menus (e.g. Rows, Columns, Free Characteristics)??
    Thanks a lot for your answers,
    Sabine

    Try this link:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bc4fa990-0201-0010-588e-ca4e63050d6d">How To Enhance Web Printing</a>
    Rgds

  • Multiple values in select box

    Hi,
    I am trying to create a select box, where if the user chooses
    option "all" several variables are passed as a list to be used in a
    IN statement in my query. Doesnt seem to be working though, I think
    it's something to do with comma seperating the list but I can't
    seem to get it right.
    Any help much appreciated. Thanks. Code Below
    <select name="Faculty">
    <option value="BS,CC,EI,HE,HH,ID,RS">All</option>
    <option>BS</option>
    <option>CC</option>
    <option>EI</option>
    <option>HE</option>
    <option>HH</option>
    <option>ID</option>
    <option>RS</option>
    </select>
    and then the query is:
    select count([06Student]) as stucount, domicileDesc
    from tbl_StudentRecord, tbl_People, LUtbl_Domicile,
    LUtbl_FeeStatus, IMPtbl_Programmes
    where tbl_StudentRecord.[06PersonNo] = tbl_People.PersonNo
    and tbl_People.Domicile = LUtbl_Domicile.DomicileCode
    and tbl_StudentRecord.[06FeeStatus] =
    LUtbl_FeeStatus.FeeStatus
    and tbl_StudentRecord.[06Programme] =
    IMPtbl_Programmes.Programme
    and Faculty in ('#url.fac#')
    and Domicile > '599'
    and Domicile < '900'
    and [06Programme] <> 'IDEPS'
    and (ReturntoHesa = 'Y' or ReturnToHesa is null)
    and [06StudentModuleStatusPAT] ='ST'
    Group by DomicileDesc
    ORDER BY count([06Student]) DESC

    Faculty in ('#url.fac#')
    This is not going to do what you want it to do. First of all
    is there a
    typo? Here you refer to "url.fac", but in the select snippet
    the field
    is named "Faculty" These would need to agree.
    Even then this will return a result like this:
    Faculty in ('BS,CC,EI,HE,HH,ID,RS')
    What you need is this:
    Faculty in ('BS','CC','EI','HE','HH','ID','RS')
    The listQualify() and related functions can help you in this.
    But what I usually do is this in the <cfquery ...> tag.
    This way you do
    not need to maintain a list of all parameters as your data
    may change.
    <cfif url.faculity NEQ "ALL")
    AND Faculty = '#url.faculty#'
    </cfif>

  • BEx Variable default value does not pass thru to Webi report

    Hi,
    It appears that the integration between BEx and BOBJ Webi does not support default values when the webi report is scheduled.  This means that if Webi/Infoview is the delivery method, than clients require 2 reports.  1 for adhoc and 1 for scheduling.  Is there another way around this so 2 reports are not required?  See SAP Knowledge Base Article  https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3030303136363534393826
    Regards,
    Dae Jin

    Hi,
    Yes it is not supported. you can achieve by writing customer exit for this.
    in istep 2,
    check whether the variable value is intial.
    if intial
    pass default value
    if not intial (else)
    dont do any change, just pass the user input to restriction.
    -Sriram

  • User Variables values are not showing in Bex analyzer

    Dear Friends,
    I created a report in Bex analyzer ( Excel).
    Now i want to show the variables values in the report.
    i put text item there and click on it but in filter tab there is no variable is exist.
    Any help will be highly appricated.
    Regards
    Naeem

    dear i know how to display the variable values.
    But unfortunatilly there is nothing appear in filter tab.
    my variables are not in filter tab its empty.
    i already choose the data provider.
    regards
    Malik

  • How to insert variable value using select statement - Oracle function

    Hi,
    I have a function which inserts record on basis of some condition
    INSERT INTO Case
    Case_ID,
    Case_Status,
    Closure_Code,
    Closure_Date
    SELECT newCaseID,
    caseStatus,
    Closure_Code,
    Closure_Date,
    FROM Case
    WHERE Case_ID = caseID
    Now i want new casestatus value in place of select statement caseStatus value. I have a variable m_caseStatus and i want to use the value of this variable in above select statement.
    how can i use this.
    thanks

    Hi,
    I have a function which inserts record on basis of some condition
    INSERT INTO Case
    Case_ID,
    Case_Status,
    Closure_Code,
    Closure_Date
    SELECT newCaseID,
    caseStatus,
    Closure_Code,
    Closure_Date,
    FROM Case
    WHERE Case_ID = caseID
    Now i want new casestatus value in place of select statement caseStatus value. I have a variable m_caseStatus and i want to use the value of this variable in above select statement.
    how can i use this. Do not select Case_Status from inner select, so null will be inserted then after inserting it update the case status with m_caseStatus.
    Regards.

  • How to retreive mutiple values from select boxes in jsp

    <select name="indices" style="width:180" size="6">
                             <option value=F_ARCHIVEDATE> F_ARCHIVEDATE </option>           
                   <option value=F_DELETEDATE> F_DELETEDATE </option>           
                   <option value=F_DOCCLASSNUMBER> F_DOCCLASSNUMBER </option>           
                   <option value=F_DOCFORMAT> F_DOCFORMAT </option>           
                   <option value=F_DOCLOCATION> F_DOCLOCATION </option>           
                   <option value=F_DOCNUMBER> F_DOCNUMBER </option>           
                   <option value=F_DOCTYPE> F_DOCTYPE </option>           
                   <option value=F_ENTRYDATE> F_ENTRYDATE </option>           
                   <option value=F_PAGES> F_PAGES </option>           
                   <option value=F_RETENOFFSET> F_RETENOFFSET </option>           
                   <option value=date1> date1 </option>
    <option value=id> id </option>
    <option value=name> name </option>
              </select>..
    hi iam having a select box with above option values..when we submitt the page i want retreive all these option values in anohter jsp called retreive.jsp..how can i do that..i want to put all these values in array in that jsp page..
    regards,
    sam

    Hi
    In ur code u cant select multiple values. Alter ur code like this
    <select name="indices" style="width:180" size="6" multiple> // multiple added here
    <option value=F_ARCHIVEDATE> F_ARCHIVEDATE </option>
    <option value=F_DELETEDATE> F_DELETEDATE </option>
    <option value=F_DOCCLASSNUMBER> F_DOCCLASSNUMBER </option>
    <option value=F_DOCFORMAT> F_DOCFORMAT </option>
    <option value=F_DOCLOCATION> F_DOCLOCATION </option>
    <option value=F_DOCNUMBER> F_DOCNUMBER </option>
    <option value=F_DOCTYPE> F_DOCTYPE </option>
    <option value=F_ENTRYDATE> F_ENTRYDATE </option>
    <option value=F_PAGES> F_PAGES </option>
    <option value=F_RETENOFFSET> F_RETENOFFSET </option>
    <option value=date1> date1 </option>
    <option value=id> id </option>
    <option value=name> name </option>
    </select>..
    in retrieve.jsp write like this
    <% String[] mv =request.getParameterValues("indices"); %>
    <% for(int i=0; i<mv.length;i++)
    {     %>
    <br>
    <%= mv[i] %>
    <% }
    %>
    I hope it will satisfy u :)

  • To pass new session variable value to stored proc before running a report.

    Hi,
    Below is summary of the report requirement -
    Database level design
    1. Created a view and a global temporary table (GTT)
    2. Created an Oracle package procedure to accept from and to business dates on basis of which it will fetch, process and populate the GTT.
    Repository level design
    1. Created a business model containing the view and the GTT (mentioned above)
    2. Created two SESSION variables "from_dt" and "to_dt" to be initialized by their respective init blocks. Each of the variable is initialized with a DATE column value (of type DATETIME) from a database lookup table. I have also set the option "Enable that variable to be set by any user" for both variables.
    Query for these variables :
    from_dt = select from_date from <table>
    to_dt = select add_months(from_date,12) from <table>
    Presentation level design
    1. Using a text box, i display the default/initialized values of these variables like this -
    Current business date:@{biServer.variables['NQ_SESSION.from_dt']} Future business dt:@{biServer.variables['NQ_SESSION.to_dt']}
    Dates get displayed in YYYY-MM-DD 00:00:00 format
    The text msg displays these default dates and allows the user to specift different date range for which i create prompts as shown below.
    2. Using any random two columns of date type from the business model, i create two date dashboard prompts with labels "From Dt" and "To Dt".
    i select Calender Controls for both; setting Default To = Report Defaults.
    The Set Variable is set to Presentation variables - such that pv_from_dt maps to "From Dt" and pv_to_dt maps to "To Dt".
    3. i create the report using the business model created above. In the report "Advanced Tab" => "Prefix" field i specify the following -
    SET VARIABLE from_dt='@{pv_from_dt}',to_dt='@{pv_to_dt}';
    Note : The logic here is to display the default dates and allow user to specify different date values which will be stored in presentation variables.
    If the user does specify different "from dt" and "to dt" values, then using the presentation variables, i want to "write" back these new values to the corresponding session variables mentioned above.
    If the user does not specify different date range, then the default/initialized dates must be considered.
    I also display the default and new date values in the report title.
    Back to Repository level design
    To execute the stored procedure that will load the GTT before running the report I need to pass two date parameters to the stored procedure on basis of which it will fetch data, process and populate the GTT.
    In the Connection Pool --> Connection Script Tab --> Execute before query, I wrote the below query using the repository variables FROM_DT and TO_DT to execute the procedure -
    DECLARE
    v_from_dt date;
    v_to_dt date;
    BEGIN
    v_from_dt := VALUEOF(From_Dt);
    v_to_dt := VALUEOF(To_Dt);
    package_name1.package_body(v_from_dt,v_to_dt);
    END;
    Now when i try to run the report i get the following error :
    [nQSError: 10058] A general error has occurred. [nQSError: 23006] The session variable, NQ_SESSION.to_dt, has no value definition. (HY000)..
    Need help on this.
    Is it possible to "write back" a new value to a session variable ?
    Any other alternatives.
    Thanks
    Nusrat
    Edited by: user10309945 on Jan 24, 2011 10:08 PM

    Sandeep, I found a several topics where users describe saving values in DB through stored procedure or function. For example, [How to store OBIEE presentation level variable values in DB |http://forums.oracle.com/forums/thread.jspa?threadID=892006] I tried it and get an error
    *10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 14551, message: ORA-14551: cannot perform a DML operation inside a query ORA-06512*
    It's not a BI error. This error are generated by Oracle DB. If I write next:
    SELECT MyPLSQLFunction(p1,p2) FROM DUAL
    I get the same error.
    Oracle doesn't allow DML operations in SELECT.
    Did you relalize this feature yourself? Where did I mistake?

  • How to pass variable value into module pool scren from a report program

    Hi,
    I have created a report program with selection screen parameters. when the inputs are filled and executed it generates the purchase evaluation sequence number. i have created a screen and passed that number to display on it with print option and back option buttons as required. but variable alone is not getting passed from the program to module pool screen. buttons are working fine. value alone is not coming. can anyone please help me.
    regards,
    sudha.

    Hi ,
    you need to declare that variable param at Global.
    sample code...
    report xyz....
    data: g_no type ekko-ebeln.
    start-of-selection...
    g_no = '12345'.
    call screen 0100.

  • How do you pass a custom value on a BW iVew (BEx Web App Query String)

    Hi,
    I am using a <b>BW Report iView</b> to display a report (BEx Web App) on a external facing portal. As part of the BEx Web App Query String, I need to pass the customer number. So, I followed the same procedure as the appIntegrator iView and put in the parameter <Custom.Customer number> as part of BEx Web Application Query String, which is supposed to get replaced dynamically with value from the UME by using the custom 'ParameterProvider' service we had written. But, it's not working here. We are using the same Customer Exits for 'ParameterProvider' on the AppIntegrator and it works there. The BW Report is bit different then the appIntegrator iView and I think I am missing something. Need some help to resolve this please. Thank you.
    Regards,
    Abu

    Any one?

  • Fetch table value in BEX Web report using Javascripts, and assign condition

    Hi Gurus,
    I am currently using WAD 3.5. I need to change the web report to behave like below :-
    1. Default layout (Field A B C) with condition A & B activated.
    2. If the drilldown Field B and C is removed, leaving only field B alone in the report drilldown, deactivate condition A & B, Activate condition C & D.
    3. the above can be reversed where user drilldown field B & C into the layout, the condition A & B need to then be activated back.
    So I believe this can be done using Javascript. So my questions are below
    1.) How do i fetch table value for the navigationblock ? with navigationblock i am able to know what are the columns are in the drilldown (i will not display free characteristics, so ignore this part). how do i read the content of NAVIGATIONBLOCK_1 as shown in following code? using javascript.
    <P><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="NAVIGATIONBLOCK_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="SHOW_FREE_CHARACTERISTICS" value=""/>
             <param name="SHOW_NAVIGATION_ICONS" value=""/>
             <param name="SHOW_FILTER_ICONS" value=""/>
             ITEM:            NAVIGATIONBLOCK_1
    </object></P>
    2.) After question 1.) is done, please advice how do i activate/deactivate the conditions? based on the fields found in above. Maybe I can use IF navigationblock_1 contain field A only, then set condition A & B , etc.
    <p><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="CONDITIONLIST_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_CONDITION"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             ITEM:            CONDITIONLIST_1
    </object>
    I would appreciate if we can solve Question 1 first before proceed to 2.)
    Please advise. Thanks

    Hi JTi,
    what i have understood from your requirement is that you want to access the web item table_1 in javascript, you can get that as below:
    Add
    <span> 
    tag before your web item and set its id to table.
    <span id = "table">
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TABLE_1"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
    <param name="GENERATE_CAPTION" value=""/>
    <param name="CAPTION" value="jezel"/>
    <param name="ONLY_HIERARCHY_NAVIGATION" value="X"/>
    <param name="BLOCK_SIZE" value="0"/>
    <param name="SHOW_PAGING_AREA_BOTTOM" value=""/>
    ITEM: TABLE_1
    </span>
    In javascript access it as :
    var mytable = document.getElementsById("table");
    Hope this helps
    Thanks
    Dipika

Maybe you are looking for