View with selection conditions with system fields.

Hi Experts,
I have a view. Now i want to control the data that is selected using 'Selection Conditions'.
here i want to use system field SY-DATUM.
My requirement is  i want to control the output like
Valid_From_Date GE SY-DATUM and
Valid_To_Date     LE  SY-DATUM
which means that i would be showing only active users in this view.
How can i go about this? System is not allowing system fields in comparision value.
Any help on this is highly appreciated. Thanks.
regards,
Simha

Hi,
I am getting a warning first 'enter constant as comparision value'
when i trying to activate the view i am getting the below error.
A join condition on a field of the system table SY (or SYST) was defined.
This is not permitted for database views because the system table is not known to the database
Have tried to activate the view you created?
How to go about this?
Regards,
Simha

Similar Messages

  • Need to update the list item in the same sharepoint list with particular condition with Sharepoint Designer 2013.

    Hi All
    I have one sharepoint list with huge data i.e with 20columns and more than 200 records with the fields .
    Suppose lets consider there are A,B,C,D,E,F,G,H columns.
    Now i want to create one form with the fields A,C,E.
    When the user enter the existing data of list for columns A,C..based on C value the E column value should change and update that particular item in the list.
    Please guide me without visual web part can we acheive this by Sharepoint designer 2013 or what would be the preferable solution.
    Please help me on this as it is very urgent from me..
    Thanks in Advance
    Sowjanya G

    Hi,
    According to your post, my understanding is that you wanted to update the list item in the same sharepoint list with particular condition with Sharepoint Designer 2013.
    I recommend to create workflow associated to the list and then start the workflow automatically when an item is changed.
    In the workflow, you can add condition and actions as below:
    If current item: C equal to Test1
         Set E to Test2
    Then the value of the filed E will be changed based on the value of the filed C.
    In addition, if you create the form using InfoPath, you can add rule to the filed C as below:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • ORA-20001:Error fetching column value:Query must  begin with SELECT or WITH

    Hi all,
    I have implemented an application with a master-detail form using Apex 3.1.2 and I imported that to Apex 3.2 on different server. Everything else seems to be fine except when I add detail record (clicking on Add Rows), I am getting following error.
    =================
    report error:
    ORA-20001: Error fetching column value: ORA-20001: Query must begin with SELECT or WITH
    ====================
    Both the databases have same version 10gR2. I didn't make any change after importing it as well. Can someone let me know what could be the issue? Thanks in advance.
    SHY

    May we know your first name?
    Can you put the application in your workspace on apex.oracle.com so we can take a look?
    Scott

  • ORA-20001: Query must begin with SELECT or WITH

    Hi,
    On a page we have a hidden item :P3_SQL in which we save the dynamic sql query.
    We have a report region of SQL QUERY type whose source is this item :P3_SQL.
    This used to work fine in apex 3.*. We have upgraded our application to 4.0.1 and now we get this error.
    ORA-20001: Query must begin with SELECT or WITH
    I have a workaround for this, but just wanted to make sure somebody recognizes this as a bug in our latest apex version.
    Thanks
    Knut

    Hello Knut,
    I'm not sure if you encountered a bug or an improved validation of your query. If you had just ":P3_SQL" as source, this obviously is neither a correct query nor is it a function returning a query. I guess your workaround is actually encapsulating ":P3_SQL" in a block that returns the value. This is the intended way, not a bug. You just were lucky it was not validated and worked in previous versions.
    If my assumption was wrong, please post both working and non-working solution and a more precise description on when this error actually occurs.
    Thanks,
    Udo

  • Designing View to select Date with Time

    Hi,
    How can we design the view to select the date along with time?
    We know that we can provide drop downs for hours, minutes and seconds.
    Is there any alternative to display UI element to select the date and time. I am in 7.0 SP17
    Thanks

    Hi Tatayya Marni,
    For selecting the Date and Time u can try a workaround. First create a simple type of type date and bind it to an Input Field so that the date can be captured and for the for the time u can use the System Date and using the same SystemDate u can get the Time in Hours, Minutes and Seconds.
    Eg  :- store the SystemDate in a Date variable and to get the hour u can use Date.getHours(), getMinutes
        Date dt = new Date(System.currentTimeMillis());
        dt.getHours(),dt.getMinutes(),dt.getSeconds());
    Hope this works dor u.
    Regards,
    Poojith M V

  • Need help with select distinct with group by

    RDBMS 10gr2
    I am trying achieve having a select distinct with a order by and after looking on the internet and trying different examples, I have been unsucessful.
    Here is the code working (not sorting - I wish to sort by pps.last_name however I can't seem to get it to work).
    select distinct pps.last_name || ', ' ||pps.first_name || ' ' ||pps.middle_initial || '.' d,
           emple_no r
      from cobr.vw_pps_payroll pps,
           projman pm
    where term_date is null
       and department = '0004400000'
       and pm.eid != pps.emple_no

    SQL> SELECT   ename || '-' || empno, sal
      2      FROM emp_test
      3  ORDER BY ename;
    ENAME||'-'||EMPNO                                                                         SAL
    BLAKE-7698                                                                              20000
    CLARK-7782                                                                              20000
    DAVID-7699                                                                              20000
    FORD-7902                                                                                6000
    JONES-7566                                                                               5950
    KING-7839                                                                               10000
    SCOTT-7788                                                                               6000
    7 ligne(s) sélectionnée(s).
    SQL>

  • Selective Condition with in a Report

    Looking for a good suggestion here, don't recall seeing this in the support documents so far.
    When you set the Condition for a Link column in a report, the condition appears to be absolute for the whole column. For example, we have a 'view only' user level, and the Condition checking that value will prevent the column with the 'Add to Cart' buttons from appearing. However, we also need to check the individual items to see whether their status is 'In' or not to determine whether the .gif appears or not. (Another report elsewhere in the website uses a similar function, only showing the button when the entry matches the :APP_USER)
    What are some suggestions for having a Link image appear only under certain conditions within a Report column?
    ...Thanks in advance, all the great support on these forums has been a huge help!

    What are some suggestions for having a Link image appear only under certain conditions within a Report column?If you want to conditionally render individual values rather than entire columns based on the value of other columns, build the logic into the SQL query using <tt>case</tt> or <tt>decode</tt> so that either the value or null is returned depending on the condition, or use a custom report template with conditional column templates, or a custom named column template.
    Thanks in advance, all the great support on these forums has been a huge help!You'll get even more effective support if you provide as much relevant information as possible up front. This should include:
    <li>APEX version
    <li>DB version and edition
    <li>Web server architecture (EPG, OHS or APEX listener)
    <li>Browser(s) used
    <li>Theme
    <li>Templates
    <li>Region type
    where the last includes being clear on whether a "report" question relates to a standard report or an interactive report.

  • To create query with selecting condition have AND options

    Hi All ,
    I want to create a query in SQ01 . I want to get  data from a table whose one specific field have data starting with  Z  AND  Z : * ( not OR )*  .  Is it possible to do any thing in the selection screen or i have to do any other change ?
    Please help me in this.
    Thanks & Regards ,
    Sabu.

    Hi
    Your select statment u can have
    field in ( 'Z%' , 'Z:%')
    you will get all fields starting with z and Z;
    regards

  • Need help Loading images with selection on a form field?

    So I'm kind of a newb.. I can do basic forms but I need to set up a form field drop down box that will give me the ability to load images correlating to the users choice. I'm at a total loss for where to start, so ANY help would be appreciated. If you know of any good books or tutorials on the subject please share.
    Thanks in advance
    Sincerely,
    Stumped4now 

    P.S. I think I'm getting a better understanding of OCGs after lots of research today. However I still seem to be missing something
    var docOCGs = this.getOCGs();
    for (var x=0; x < docOCGs.length; x++)
      if(docOCGs[x].name == "Layer1")
      docOCGs[x].state = !docOCGs[x].state;

  • Issue with Freight condition with scales

    HI Experts
    We have requirement like below.
    When customer send an order
    o     if the order contains materials for a minimum quantity the system should not apply freight condition
    o     if the order contains materials for less than minimum quantity the system should apply freight condition
    For example: sales condition freight has scale
         scale qty     unit     amount     unit
    From     0     PC     18,3     u20AC
         4     PC     0     u20AC
    e.g.1  customer send order that contain 9 PC, so system NOT apply freight condition
    material     quantity
    x1     1
    x2     1
    x3     2
    x4     5
    e.g.2  customer send order that contain 2 PC, so system apply freight condition
    material     quantity
    x1     1
    x2     1
    For this we have maintained Group condition and maintained scales up to 3 Order quantity 18 EUR . If order quantity is greater than 4 condition should not apply.
    But Now our issue is when ever Material determination is occurring in Order our condition is going to fail. For example  order quantity is 2 with TAPA item(parent item) and so substitute Item also 2 quantity (Tan item). In this case system is reading order quantity as 4 and our condition is 0. But actual quantity is 2 condition should apply in Order.
    Could you please suggest us where we can control this kind of scenario.
    Regards, Lakshmikanth

    Done through user exit

  • Problem with Selection Criteria with 2 or statements.

    I have a report with 2 or statements in the selection criteria:
    like "US IT GFS INFOSYS*" or
    like "US IT GFS INFOSYS*" or
    like "US IT GFS INFOSYS*"
    I am just trying to do do a count of records. The details has the record # and am doing a distinct count. If I rearrange this or statement, then I get a different count. The above statement gives me a count of 1136. If I rearrange the statement to:
    like "US IT GFS INFOSYS*" or
    like "US IT GFS INFOSYS*" or
    like "US IT GFS INFOSYS*"
    I only get 192 records. I don't understand why?  Please help.

    Cara,
    When Crystal evaluates an or statement it will stop evaluating after one of the clauses is true. Since the first or clause is returning data, true, it is not evaluating the other 2 clauses. When you change the order I am assuming that the first clause is returning data though different from the original record selection.
    You may want to consider using a command object or stored procedure to generate the filter as SQL should evaluate all the or clauses.

  • Tables holding Data related to selection conditions of each loadin cube,ODS

    Hello Experts,
    Hope you are all are doing Good!.
    I am looking for a way to check the selection conditions of each load in cube & ods through an ABAP program.
    For Eg: we load cubes with selection conditions with (created on date -1 ) and i want to check whether there are all loads for all days....can we do this with abap code right...
    Can u pls help with the related tables i can look for this data...
    Thanks in advance!!!

    Hi,
    check this table for selection criteria:
    RSLDPSEL and RSSELDONE
    thnks.
    Edited by: Sakthi Jaganathan on Jun 18, 2009 4:20 PM

  • Race conditions with UI thread

    Hi community,
    the update to LabVIEW 2014 has caused sveral of my vis to act up - vis that I had coded with race conditions with the UI thread that I was not aware of.
    Maybe they didn't exist previously, maybe I was just ignorant.
    Here is a where I first noticed something was wrong. It has a workaround inside:
    http://forums.ni.com/t5/LabVIEW/How-to-make-sure-plots-in-xy-graph-are-present/td-p/3033109
    Thanks again Norbert for your help with that.
    Now problems are showing up in other places too and it might be the tip of an iceberg. I'm a little afraid right now. It's not just xy graphs. The latest example:
    I have a sub-vi whose frontpanel I open with an invoke node inside that sub-vi. Afterwards, in the caller I register for events of frontpanel objects of the sub-vi. This fails now - apparently the fp of the sub-vi isn't open yet although the sub-vi has finished executing (yes, I use dataflow to ensure register for event is done only after the sub-vi has finished). This has a striking resemblance to my issue in the previous thread. It seems that vis can now be "finished" executing while stuff that was supposed to happen inside the sub-vi is still executing in the UI thread.
    I had not expected this.
    Is this intended behaviour?
    Is this new to LabVIEW 2014?
    Can someone please shed some light on this behavior change (if indeed it is one)?
    Can someone please advise me on a general solution/workaround for the host of problems this is causing me?
    Best regards
    Florian

    Norbert,
    I'm currently unable to reproduce the issue in my code regardless of cpu core affinity (you gotta hate random errors).
    I have attached an example that shows a simplified version of the code that has previously produced the error.
    This example might be flawed since it hasn't produced the error yet.
    The issue would show when the button "open window" is pressed, if it did at all.
    Also there is stuff in there that I just implemented in an attempt to keep the UI thread busy.
    For the core of the issue please disregard the bottom while loop in caller.vi
    I'll keep trying.
    Best regards
    Florian
    Attachments:
    subvi event registration.llb ‏56 KB

  • Table for Selection condition

    Hi Experts,
    Is there a table(s) where I can view the "Selection Condition" / "Filter" / "Restrict" on my all my BW Queries? If so, please let me know the table name(s).
    Currently I am checking RSZRANGE table

    Hi,
    it is a combination of 3 tables,which are
    Use a join on 3 tables RSZRANGE, RSZELTXREF & RSRREPDIR...
    You can get all the hard coded values etc....
    Thanks,
    Teja

  • Dynamic select query with dynamic where condition

    Hi all,
    I want to use the dynamic select query with dynamic where condition. For that I used the below code but I am getting dump when using this code.
    Please advice, if there is any other way to achieve this requirement.
    Thanks,
    Sanket Sethi
    Code***************
    PARAMETERS: p_tabnam      TYPE tabname,
                p_selfl1      TYPE edpline,
                p_value       TYPE edpline,
                p_where1      TYPE edpline .
    DATA: lt_where    TYPE TABLE OF edpline,
          lt_sel_list TYPE TABLE OF edpline,
          l_wa_name   TYPE string,
          ls_where    TYPE edpline,
          l_having    TYPE string,
          dref        TYPE REF TO data,
          itab_type   TYPE REF TO cl_abap_tabledescr,
          struct_type TYPE REF TO cl_abap_structdescr,
          elem_type   TYPE REF TO cl_abap_elemdescr,
          comp_tab    TYPE cl_abap_structdescr=>component_table,
          comp_fld    TYPE cl_abap_structdescr=>component.
    TYPES: f_count TYPE i.
    FIELD-SYMBOLS : <lt_outtab> TYPE ANY TABLE,
    *                <ls_outtab> TYPE ANY,
                    <l_fld> TYPE ANY.
    struct_type ?= cl_abap_typedescr=>describe_by_name( p_tabnam ).
    elem_type   ?= cl_abap_elemdescr=>describe_by_name( 'F_COUNT' ).
    comp_tab = struct_type->get_components( ).
    comp_fld-name = 'F_COUNT'.
    comp_fld-type = elem_type.
    APPEND comp_fld TO comp_tab.
    struct_type = cl_abap_structdescr=>create( comp_tab ).
    itab_type   = cl_abap_tabledescr=>create( struct_type ).
    l_wa_name = 'l_WA'.
    CREATE DATA dref TYPE HANDLE itab_type.
    ASSIGN dref->* TO <lt_outtab>.
    *CREATE DATA dref TYPE HANDLE struct_type.
    *ASSIGN dref->* TO <ls_outtab>.
    * Creation of the selection fields
    APPEND p_selfl1 TO lt_sel_list.
    APPEND 'COUNT(*) AS F_COUNT' TO lt_sel_list.
    ** Creation of the "where" clause
    *CONCATENATE p_selfl1 '= '' p_value ''.'
    *            INTO ls_where
    *            SEPARATED BY space.
    *APPEND ls_where TO lt_where.
    * Creation of the "where" clause
    APPEND p_where1 TO lt_where.
    * Creation of the "having" clause
    l_having = 'count(*) >= 1'.
    * THE dynamic select
    SELECT          (lt_sel_list)
           FROM     (p_tabnam)
           INTO CORRESPONDING FIELDS OF TABLE <lt_outtab>.
    *       WHERE    (lt_where).

    Hi Sanket,
    The above given logic of mine works for you, put the code in the If condition and try-
    just like below:
    IF NOT P_EBELN IS INITIAL.
    lt_where = '& = ''&'' '.
    REPLACE '&' WITH p_ebeln INTO lt_where.
    REPLACE '&' WITH field_value INTO lt_where.
    SELECT (lt_sel_list) INTO CORRESPONDING FIELDS OF TABLE <lt_outtab>
    FROM (p_tabnam)
    WHERE (lt_where).
    ENDIF.
    thanks\
    Mahesh

Maybe you are looking for

  • Scroll all articles vertically instead of horizontally?!

    Hello! I have 5 articles (some with one page, some with more pages) and I can standardly change between them when I swipe horizontally. But I want to scroll them vertically (but not with smooth-scrolling). So all articles should be displayed only amo

  • Configuring RAS with BRI ISDN.

    Hello all, I have maybe very basic question but I have studied a lot of guides about configuring RAS with ISDN interface but Im not still sure how to build some reasonable solution. Could someone help me with this: 1.)what configuration commands I ne

  • Where is my account balance displayed?

    Apple tells me I have credit in my account, and I can get to my Account Information, but I don't see any way to find out how many dollars credit I have.

  • MBA 2013 screen crash and suddenly battery drains

    Hello, I bought MacBook Air November 2013 in India. I am facing the same problem in my MBA after 6-7 days of buying date. Since it is my first device from Apple so I am following all instructions by the reseller and service center persons. First I sp

  • Is it possible to save PNG with transparency to Camera Roll?

    I've had a user contact me saying that the pictures he creates save as JPG and because they are JPG they lose transparency. I looked at the code I'm using and it's CameraRoll.addBitmapData(bitmapData). I could find no other options or parameters. He