Prompt date value with default max from table1.column1

Hi all,
How do I prompt user for date of report with default date = max(table1.column1) ? Give me some example of syntax pls.
Thanks ahead.

hi,
Default Date for the Date Prompt can be Static but not dynamic in WEBI.
Because we can't specify any object/calculation as default value for the prompt.
I think it's not possible in WEBI.
Regards,
Vamsee

Similar Messages

  • Search Results web part - Custom Query using "Value with a parameter from URL" inconsistent

    I have encountered what I think may be a bug, but I am hoping that there is something that I am missing.
    Within my search site, I have created a new search results page where I want to customize the "Search Results" web part query.  I can add in any number of property and keyword filters (using the "Build Your Query" dialog) without
    issue... until I add a filter that uses the QueryString property (the builder dialog calls this "Value with a parameter from URL").
    If I use {QueryString.MyParameterX} for filtering, it works beautifully in the query builder dialog.  I see the expected results in the search results preview pane, but as soon as I apply the changes things become inconsistent. 
    If I close/reopen my browser and navigate to my page at http://myaddress/search/Pages/testresults.aspx?MyParameterX=test I see results.  If I then refresh the page, I get a "Nothing here matches your search" message.  I can then go to
    the same address but change one character to an uppercase character and get results.  Refreshing that same page again returns "Nothing here matches your search".  I can only get search results one time per uniquely cased URL without having
    to close/reopen my browser.  This behavior was seen on both Firefox and IE.
    Finally, I found that if I instead navigate to http://myaddress/search/testresults?MyParameterX=test, it always returns results.  This, unfortunately isn't the best solution for me... but it is a solution.
    Any insight that anyone can provide is greatly appreciated!  I would really like to be able to depend on this working in all logical cases (especially since the search center of other sites is set using the path all the way down to /Pages).
    Thanks!

    Hi, have you been able to solve this issue? I'm getting the same issue and I cant solve it (required CU is installed).
    Fabio

  • How to bind internal table values with RootUIElement(Table) from select Que

    Hello Friends,
           In my view Layout,there r two Input fields ,Submit button and Table... My concept is when user posting values in two input fields and clicking submit button means the result(more than one values) should be displayed in Table...
         I written coding also but i dont know to bind internal table values with Table... My code as follows,
    method onactionsearch .
       data:
         Node_Node_Flight                    type ref to If_Wd_Context_Node,
         Elem_Node_Flight                    type ref to If_Wd_Context_Element,
         Stru_Node_Flight                    type If_View1=>Element_Node_Flight ,
         itab TYPE STANDARD TABLE OF sflight.
    navigate from <CONTEXT> to <NODE_FLIGHT> via lead selection
       Node_Node_Flight = wd_Context->get_Child_Node( Name = IF_VIEW1=>wdctx_Node_Flight ).
    @TODO handle not set lead selection
       if ( Node_Node_Flight is initial ).
       endif.
    get element via lead selection
       Elem_Node_Flight = Node_Node_Flight->get_Element(  ).
    @TODO handle not set lead selection
       if ( Elem_Node_Flight is initial ).
       endif.
    alternative access  via index
    Elem_Node_Flight = Node_Node_Flight->get_Element( Index = 1 ).
    @TODO handle non existant child
    if ( Elem_Node_Flight is initial ).
    endif.
    get all declared attributes
       Elem_Node_Flight->get_Static_Attributes(
         importing
           Static_Attributes = Stru_Node_Flight ).
    select * from sflight into CORRESPONDING FIELDS OF TABLE itab
      WHERE carrid = Stru_Node_Flight-carrid and connid = Stru_Node_Flight-connid.
    Node_Node_Flight->bind_table( new_items = itab ).
    endmethod.
    Plz reply me asap...!

    Hi,
    What I understood from your coding is...
    * navigate from <CONTEXT> to <NODE_FLIGHT> via lead selection
    Node_Node_Flight = wd_Context->get_Child_Node( Name = IF_VIEW1=>wdctx_Node_Flight ).
    You are reading values from the above node and binding the values to the same node.Am i right?
    Did you take seperate context node for your input fields or binded the above context to the fields.If not then read the context attribute values which are binded to the carrid and connid then pass these values to select query.
    One more thing is select cardinality 1..n for node NODE_FLIGHT since you are displaying more than one record.
    Go through the some basic tutorials.Search in sdn you will it get.Already there is a tutorial in sdn which explains exactly what do you require.
    Go throgh this link
    Web Dynpro for ABAP: Tutorials for Beginners
    Web Dynpro for ABAP: Tutorials for Beginners [original link is broken]
    Edited by: suman kumar chinnam on Mar 26, 2009 10:50 AM

  • Transfer additional data together with a contract from srm to srm-mdm

    Hi All,
    I have a requirement to transfer additional data together with a contract, such as price scales, discounts, and discount scales
    If the contract has condition like
    scale Discount
    0-10 20%
    20-30 30%
    from SRM to SRM MDM Catalog.
    As a standard practice, we use report SRMMDM_CTR_TRANSFER in SRM to send the standard Contracts from SAP SRM system to the SRM-MDM Catalog repository via SAP XI.
    But to transfer additional data , we have to use BBP_SAPXML1_OUT_BADI in SRM 7.0.
    If any body worked on the same, please let me know the step by step procedure how to implement BBP_SAPXML1_OUT_BADI.
    Regards,
    Venkat

    Hi Venkat,
       You can have a look at the Note - 1296876
    It gives the step - by -step procedure on what how to Enhance Contract Data Transfer.
    For this, you may have to do the implementation in BADI BBP_SAPXML1_OUT_BADI
    Change the XI mappings and the MDM Import manager mappings.
    Hope this helps.
    Regard,
    Sherfu

  • How to compare the date value with the date datatype column?

    Hi,
    I am executed a query to get output for the particular date in two different database.
    I got output in one db environment, but in the another environment i didnt get the output.
    APP_DECISION_DATE column contains date datatype
    ex:
    SQL> select DECISIONED_STAGE_ID,DECISIONED_STAGE_USER_ID from naap10_application where APP_DECISION_DATE = TO_DATE('23-JAN-07',
    'DD-MON-YY'); 2
    DECISIONED_STAGE_ID DECISIONED_STAG
    2006060106 SYSTEM
    DATABASE - II
    SQL> select DECISIONED_STAGE_ID,DECISIONED_STAGE_USER_ID from naap10_application where APP_DECISION_DATE=
    TO_DATE('31-JAN-2007','DD-MON-RRRR') and application_id=2007010028552;
    no rows selected
    in the same db i got the output while i used the TO_DATE(APP_DECISION_DATE)
    SQL> select DECISIONED_STAGE_ID,DECISIONED_STAGE_USER_ID from naap10_application where TO_DATE(APP_DECISION_DATE)=
    TO_DATE('31-JAN-2007','DD-MON-YYYY') and application_id=2007010028552; 2
    DECISIONED_STAGE_ID DECISIONED_STAG
    2006060113 SYSTEM
    is it necessary to use TO_DATE function while i am using the data datatype column in the WHERE CLAUSE?
    Thanks in advance.
    siva

    Sorry & thanks sathish,
    Now i got the result.
    SQL> select DECISIONED_STAGE_ID,DECISIONED_STAGE_USER_ID from naap10_application where APP_DECISION_DATE BETWEEN TO_DATE ('31.01.2007 00:00:00', 'DD.MM.YYYY HH24:MI:SS') AND TO_DATE ('31.01.2007 23:59:59', 'DD.MM.YYYY HH24:MI:SS')
    2 and application_id=2007010028552;
    DECISIONED_STAGE_ID DECISIONED_STAG
    2006060113 SYSTEM
    ================================
    But one doubt,
    When i created the column with the date datatype how it gets the time value,
    And in one environment db i got the result but in another environment i dont get,
    Shall i want to change any session status of date?

  • Master data tables with unwanted records from transaction data upload

    Hi Friends,
      I have a master data table for infoobject 'C' with compounding characteristics 'A' & 'B'.  I upload this master data with values given below:
        <i><u> A,              B,              C,           Short text,                        Long text</u></i>
           <b>  <b>P,          10,           BBB,         Apple,                              Big Apples
             Q,             20 ,           XYZ  ,       Tomatoes    ,                    Red Tomatoes</b></b>
      When I load data into ODS from a source system, I may not necessarily have data for all these 3 fields in these transaction record.  Example:
      <i><u>     A,                B,             C,             D,            E</u></i>    
         <b> P                -1            FFF</b>          20           30            
         <b> Q                10           GGG        </b> 10           40
       The problem is when I upload the above transaction data, it populates the <b>master data table</b> too with these two new records <b>1 -1 FFF</b> and  <b>2 10 GGG</b>, which I would like to avoid.
       Is there any way?
       Will assign full points to anyone who helps me here.
       Thanks,
       JB

    Hi JB,
    If you want to load transactional data and still want to prevent the population of the master data table, I don't think it is possible, as it is goes aginst the data consistency in the warehouse.
    However, if you can afford not to load transactional data for such cases, you can activate referential integrity check for the infoobject C. Then neither transactional data nor masterdata enter the datawarehouse until you maintain masterdata yourself for the infoobject C.
    hope this helps.

  • Year to Date Value to be Calculated from Month Numbers

    We have an IP Application running.  We are using a copy of the standard ECCS Transaction Data Cube to do the Planning by Consolidation Item (Profit & Loss and Balance Sheet).
    We have two key figures - Month Value and YTD Value.
    On the planning layout when the user enters the for the month value we need the key figure for the month to be updated as well as the YTD value to be updated based on the entries in the for the month key figure from Jan of the year to the month of entry.
    Is this possible either on the layout or through a FOX function.
    Thanks a lot for your help in advance.

    Would you be able to share some sample code if you have any?
    Thanks

  • To make one column that do not have the same data value with pk

    All right, here's the problem >>
    I have a form on a report with columns and attributes taken from the tables in the database. 5 tables are allocated in the database, but one table is used for this "form on a report."
    I named the report as a Company form, where users can add/edit company's name and details into it. However, without the use of candidate keys, how do you control the columns such that no two values are the same, although there is a primary key which i named it as company_id.
    Regards,
    HTMLDB user

    I suggest to launch an SQL query in a validation process. The where clause would look like this PRIMARY KEY COLUMN LIKE :ITEM%
    If the query retrieve at least one row then your validation process return an error and stop the saving process
    If you want you can also do it asynchronous with a javascript on blur event

  • Report with default adress from Purchase order

    Hi
    I'm loooking for a report which can give me the adress infomation for each purchase order? please notice that I¨'m looking for the default adress and therefore do not have an adress number!

    then you should try to think how SAP could find this address from table ADRC when you open ME23N and you would not have any link in purchase order item table
    ADRNR field in table EKPO cannot be seen in ME23N.
    the address number field in delivery address screen is actually EKPO-ADNR2.
    if both fields do not have an entry, then it is the standard default which I explain earlier. and not manually entered/changed.

  • Derive Expire date value with the next high effective date next row - 1 day

    Hi
    Trying to fiind a way to derive a new date (EXPIRE_DATE) in a SQL query, the data is ordered by EFF_DATE, How do you derive EXPIRE_DATE column ...
    Sample data:
    ID_NO                EFF_DATE         EXPIRE_DATE
    2004 02/03/2011 Null
    3922 06/04/2010 01/03/2011
    4454 20/06/2009 05/04/2010
    4544 17/02/2008 19/06/2009
    4232 13/07/2006 16/02/2008
    Thanks
    Qwestion

    Give this a shot:
    SELECT id_no
         , eff_date
         , LAG(eff_date) OVER (ORDER BY eff_date DESC) - 1  AS expire_date
    FROM   table_x
    ORDER BY eff_date DESC

  • Prompt with Default date (Current Date)

    Hi Experts,
    I have WEBI Report With Calendar Date (0CALDAY) Object on a OLAP Universe (OLAP Universe built on SAP BW BEx Query).
    I need to create a prompt on Calendar Date Object with default value as Current date (systemdate). I need to create this at universe level not at BEx level (No Exceptions).
    Looking forward to hear from you.
    -Thanks,
    Deepu

    Hi Ingo,
    Thanks for your response.
    >
    Ingo Hilgefort wrote:
    > this is because a EXIT VAriable doesn't have a DEFAULT value.
    >
    > Ingo
    But EXIT Variable has a DEFAULT value in BEx Designer. DEFAULT Value (Current system Date) is populated when a BEx Query is Run. How come it is not properly reflected into BOBJ?. It retrieves the data for Current system Date in BOBJ too when WEBI Query is run but it does not show Current system Date in prompt screen.
    I hope you understand my problem.
    -Thanks,
      DEEPU.

  • ADD ROW in tabular form with new max value for a certain field

    All,
    I have a tabular form with an 'ADD ROW'-button.
    When a row is added the field 'TemplateID' should get
    automatically a new value which is MAX from TEMPLATEID + 1.
    I would be very glad, if someone has a hint for me.
    Thanks in advance,
    lucio

    Hi
    the cause of not seeing the 'Default Item Field' is,
    that during creation of a 'Tabular Form' the column with the
    primary key doesn't get that feature, why so ever.
    I still hope that someone could give me a hint why that code isn't working:
    function SetNewID(vDBID)
    v_check = $v('P20_MAX_TEMPLATEID');
    pNd = $u_Carray(vDBID);
         for(var i=0;i<pNd.length;i++){
              var node = $x(pNd);
              node = $x_Check_For_Compound(pNd[i])
              var lTr = $x_UpTill(node,'TR');
    updateRow = lTr.rowIndex - 1;
    document.wwv_flow.f02[updateRow].value=$v(v_check)
    Many thanks in advance
    lucio                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Automatically populate a Descriptive FlexField with Default Value

    I have 2 Descriptive flexfield segments defined, one is "Start Date" using value set "LS_START_DATE" and the other segment is "End Date" using value set "LS_END_DATE".
    Now when I enter the "Start Date", I want the "End Date" to be populated automatically with the value of "Start Date + 365 days".
    For example:
    If I enter "Start Date" = 25-May-2010
    Then "End Date" should be automatically populated with the value "25-May-2011" (i.e., Start Date + 1 year)
    Is that possible ?
    I tried defining "End Date" segment with "Default Type" as "SQL Statement" and Default Value as "SELECT :$FLEX$.Start Date+365 from dual" , but it's not working.
    Can someone please help ?
    Prashanthi

    I did, the value set created for this segment "Start Date" is "LS_START_DATE" and I changed the sql statement in Default Value to "SELECT :$FLEX$.LS_START_DATE+365 from dual" , but still it is not working ....no luck.
    Prashanthi

  • Can I use calculated value as default parameter value?

    Discoverer version:
    Oracle BI Discoverer 11g (9.0.4.00.00)
    Oracle Business Intelligence Discoverer Plus 11g (11.1.1.3.0)
    Discoverer Model - 11.1.1.3.0
    Discoverer Server - 11.1.1.3.0
    End User Layer - 5.1.1.0.0.0
    End User Layer Library - 11.1.1.3.0
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    Java Virtual Machine: Sun Microsystems Inc. 1.6.0_29
    JVM Memory Available: 9286KB out of 43728KB
    Operating System: x86 Windows 7 6.1
    Can I have a pre-calculated value in the value selection box E.g. a date value that is calculated from a function that getting current finanical year from a item.
    That is, when 'Edition Parameter value' window pop up, a calculated value exists instead of a blank field.
    Edited by: 901005 on Dec 8, 2011 6:12 PM

    Hello
    Your friend is wrong - this functionality has never existed. Perhaps your friend is getting confused over the ability to define a fixed default value which has always been there.
    Sorry about this.
    Michael

  • 4.0EA1 Entering date values in table editor

    Hello out there,
    I don't know if that has been reported already. So I'm doing it again.
    I have a table containing a date column and set my NLS_DATE_FORMAT to 'DD.MM.YYYY HH24:MI:SS'.
    In version 3.2, I could enter date values just by giving a date without time e.g. 29.08.2013. In the table editor of version 4.0, I'm forced to enter 29.08.2013 00:00:00 otherwise the field is cleared after leving it by pressing TAB.
    Is there some new preference setting for that? I'm having another table where I want to enter date values with time though...
    If that matters, I'm using SQL*Developer 4.0.0.12.27 with JDK 7.0_17 64bit on OpenSuse Linux 12.3 and connecting to Oracle 12.1.0.1.0 on Solaris 10 Sparc64.
    As I'm writing the JDK version, could it be that a newer JDK solves that issue? I'll try that.
    Regards,
    dhale

    I'm thinking that it should assume all zeros for the time portion in this scenario, since that's how sqlplus (and, I believe, previous SQL Developer releases) handles it.  For example:
    SQL> alter session set nls_date_format='YYYY-MM-DD HH24:MI:SS';
    Session altered.
    SQL> select to_date('2013-09-10') from dual;
    TO_DATE('2013-09-10
    2013-09-10 00:00:00

Maybe you are looking for

  • Problem in client export and import (SCC8)

    Hi, I was asked to copy client 300 data on one AIX server to client 210 on another AIX server. I have done the client export thru SCC8, transferred those files to other server thru ftp, added those requests to the import queue on target server. As an

  • HT201263 Crashed iPad during latest update and unable to restore

    I have followed all of these steps: iTunes has detected an iPhone in recovery mode. You must restore this iPhone before it can be used with iTunes. Use iTunes to restore your device. When I connect to iTunes and the above message appears, I can see b

  • USB/Sync Cable

    My iPhone 3G is not one year old yet, but the USB/Sync cable that came with it is ripping on both ends exposing the wire underneath. Is this covered under warranty?

  • Separate versions of Oracle in a Sun Clustered enviroment?

    Hi, I was wondering if it is possible to have 2 different versions of Oracle (9i and 10g) registered with a Sun Clustered enviroment ? Thanks in advance, Nikesh

  • Intel Core Duo, or 2 Quad cores (Mac Pro)?

    While I like the idea of a portable Mac, I want to know if there will be a big difference between the rendering ability of a Quad Core system (Mac Pro) and a Duo core system (Macbook Pro). I went into an Apple store today & opened up Final Cut Pro on