How to replicate parentheses using a view?

Hi,
I want to create a view, but I have some problem to replicate some concept that normally I use within SQL here in a R/3 system.
I have created this view inside SE11:
CABN ATNAM LIKE '%_MOD' OR
CABN ATNAM LIKE 'SC4%_102' AND
CABN ATNAM NOT LIKE '%_MOD'
The problem is that I can't use the parentheses inside the transaction
Using the parentheses, I have to create something like this:
CABN ATNAM LIKE '%_MOD' OR
(CABN ATNAM LIKE 'SC4%_102' AND
CABN ATNAM NOT LIKE '%_MOD')
Any idea to solve this problem?
Thank you a lot

Hi.
CABN ATNAM LIKE '%_MOD' OR  " 1
CABN ATNAM LIKE 'SC4%_102' AND  CABN ATNAM NOT LIKE '%_MOD'  " 2
Create one view with first condition and then use created view in another
view with second conditions.

Similar Messages

  • How to create repository using a view in OBIEE

    Hi,
    Can any one explain the procedure how to create a repository using a view. For example
    test_v
    select a.col1,a.col2,b.col1,b.col4,c.col5,c.col6 from table a,table b, table c where a.col1= b.col1 and b.col1 = c.col1
    1. Assuming that i have imported only one view.
    Thanks and Regards,
    Hanuman.

    Hi,
    You can create the vie in the physical layer of your repository, select "Select" from the dropdwan box when you create a new table. Next add the columns. They must have the same names as in your view.
    If you don't have any other tables in your repository, created an alias of your view and make a "dummy" join with the original view. Next create your BM and PL.
    regards
    John
    http://obiee101.blogspot.com/

  • Simple Count using Analytic view and Odata

    Hi Experts,
    I have an analytic view based on one table and Odata services on top of it.
    Now i want to include three measures just simple count with group by,
    just for this i ddint want to go for calc view. Please help me how to achieve this using analytic view and Odata script.
    Thanks,
    Devi.

    Hello George,
    I don't have any personalization set on the info space. Also I am using mapped Account in BI to connect to HANA. The confusing part is that it is able to validate the infospace with the input parameters and index it. However query does not return any results. I even tried running the same query which explorer sends to HANA in the SQL editor and there too the same results,the query does not return anything. The model does return data when I do a data preview and if accessed from other tools like AAO.
    Also when I use SSO connection to HANA, indexing of the infospace fails. Where can I see the error log?
    Thanks,

  • Stop dreamweaver using split view

    Hi all,
    I love the fact that dreamweaver CS4 shows included files such as a style sheet when I open the main HTML file, anyone know how to stop dreamweaver using split view when I click on one of these included files? I never use / like split view.
    Thanks

    That's correct Brad.
    Thanks for the tips, especially right clicking to open as a separate file!
    I never noticed that it was only splitting the screen when I was in design view.
    I do actually use code view more than anything, I write PHP in dreamweaver and that is why I was getting annoyed, sometimes I can have several files included in a single PHP page, and flicking through them was getting annoying if the screen auto split .
    I actually discovered vertical split view and I like it a lot! Works really well on my dual monitor setup;code view on the left monitor, design view on the right.
    Still think there should be an option to disable auto split.

  • How do I merge more than one PDF document into one singular pdf using adobe viewer touch on a microsoft surface?

    How do I merge more than one PDF document into one singular pdf using adobe viewer touch on a microsoft surface?

    Or using the Adobe PDF Pack https://www.acrobat.com/

  • How to Use Transient View Objects to Store Session-level Global Variables

    hi
    Please consider section "40.8.5 How to Use Transient View Objects to Store Session-level Global Variables"
    at http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcstatemgmt.htm#ADFFD19610
    Based on this documentation I created the example application
    at http://www.consideringred.com/files/oracle/2010/ProgrammaticalViewObjectAndRollbackApp-v0.01.zip
    It behaves as show in the screencast at http://screencast.com/t/qDvSQCgpvYdd
    Its Application Module has a Transient View Object instance "MyEmployeesContextVOVI", as master for the child View Object instance "EmpInCtxJobVI".
    On rollback the Transient View Object instance keeps its row and attribute values.
    Also when passivation and activation is forced (using jbo.ampool.doampooling=false ) the Transient View Object instance seems to keep its row and attribute values.
    questions:
    - (q1) Why does the expression #{bindings.MyEmployeesContextVOVIIterator.dataControl.transactionDirty} evaluate as true when a Transient View Object instance attribute value is changed (as shown in screencast at http://screencast.com/t/qDvSQCgpvYdd )?
    - (q2) What would be a robust approach to make a Transient View Object instance more self-contained, and manage itself to have only one single row (per instance) at all times (and as such removing the dependency on the Application Module prepareSession() as documented in "5. Create an empty row in the view object when a new user begins using the application module.")?
    many thanks
    Jan Vervecken

    Thanks for your reply Frank.
    q1) Does sample 90 help ? http://blogs.oracle.com/smuenchadf/examples/
    Yes, the sample from Steve Muench does help, "90. Avoiding Dirtying the ADF Model Transaction When Transient Attributes are Set [10.1.3] "
    at http://blogs.oracle.com/smuenchadf/examples/#90
    It does point out a difference in marking transactions dirty by different layers of the framework, "... When any attribute's value is changed through an ADFM binding, the ADFM-layer transaction is marked as dirty. ...".
    This can be illustrate with a small change in the example application
    at http://www.consideringred.com/files/oracle/2010/ProgrammaticalViewObjectAndRollbackApp-v0.02.zip
    It now shows the result of both these expressions on the page ...
    #{bindings.MyEmployeesContextVOVIIterator.dataControl.transactionDirty}
    #{bindings.MyEmployeesContextVOVIIterator.dataControl.dataProvider.transaction.dirty}... where one can be true and the other false respectively.
    See also the screencast at http://screencast.com/t/k8vgNqdKgD
    Similar to the sample from Steve Muench, another modification to the example application introduces MyCustomADFBCDataControl
    at http://www.consideringred.com/files/oracle/2010/ProgrammaticalViewObjectAndRollbackApp-v0.03.zip
    public class MyCustomADFBCDataControl
      extends JUApplication
      @Override
      public void setTransactionModified()
        ApplicationModule vApplicationModule = (ApplicationModule)getDataProvider();
        Transaction vTransaction = vApplicationModule.getTransaction();
        if (vTransaction.isDirty())
          super.setTransactionModified();
    }Resulting in what seems to be more consistent/expected transaction (dirty) information,
    see also the screencast at http://screencast.com/t/756yCs1L1
    Any feedback on why the ADF Model layer is so eager to mark a transaction dirty is always welcome.
    Currently, question (q2) remains.
    regards
    Jan

  • Using numbers 2.3 how do i split windows to view more than 1 spreadsheet at a time?

    using numbers 2.3 how do i split windows to view more than 1 spreadsheet at a time?

    Hi seth,
    Numbers vocabulary:
    Spreadsheets (aka: Document)
    contain one or more Sheets
    on each of which may be placed one or more Tables
    each of which contains one or more cells
    each of which may contain either data or a formula.
    Spreadsheets open in separate windows. Depending on the contents of each spreadsheet, and the scale at which you want to see it (and the size of your display), you can view more than one spreadsheet in the same manner as you can view more than one of any kind of document—open two documents in separate windows. Resize the windows to allow both to be viewed at the same time. Place and scale the individual documents to permit viewing the desired part of each
    Sheets within the same document cannot be displayed simultaneously. You can make and open a copy of the document, then open and view both copies as described above, but this introduces new opportunities to edit the wrong copy. You could Copy a Table from one part of the document, open Preview and go File > New from Clipboard to create a PDF copy of that table (readable, but not editable), and view the spreadsheet and pdf documents as described above.
    Tables can be rearranged, or have rows or columns (or both) hidden to permit simultaneous viewing of selected parts of both.
    A Table can have Table > Freeze Header Rows and Table > Freeze Header Columns set to keep these rows/columns visible as the rest of the table is scrolled. Or can have a range of rows (or columns) hidden to allow viewing of rows (columns) adjacent to that range visible on the same screen.
    Numbers does not support freezing of rows or columns other than Header rows and Header Columns.
    Regards,
    Barry

  • How could I find which i-views/pages are being used

    Hello
    I am pritty new in portal area. I have to administrate an ESS/MSS portal during hollydays. I am trying to find everywhere the way.
    How could I find which i-views/pages are being used. Let say I can see which group I belong and which roles are behind.
    How could I know in which PCD folder they are taken into account (to e.g give permission to someone not in the group)

    HI,
    the user administration (UME) gives you the information about the user <-> group <-> role assignment.
    When you know the role, search in the PCS for it, open the role and you will see all the pages / iviews assigned to the role.
    SAP Help: Role Assignment: http://help.sap.com/saphelp_nw04s/helpdata/en/59/bf2287b3cb5e48af94f99929ad15b9/content.htm
    SAP Help: Content Administration: http://help.sap.com/saphelp_nw04s/helpdata/en/5a/0339000c0b11d7b84800047582c9f7/content.htm
    br,
    Tobias

  • How to Create a BC4J messageChoice using an View?

    I just started using UIX (today in fact) and would like to know how to use a View Object to populate a BC4J messageChoice.
    I've created an form to update a table. One of the fields is cost center. I store the different cost centers in a seperate table. Then I store the id of the costCenter in the project table. I don't want to hard code the different centers into the application but pull them from the database (using a BC4J view). Can someone point me in the right direction?
    Thanks!

    That worked! But when I hit the update button the messageChoice fields will not update in the database. All the other fields do. No errors are displayed either, am I missing something?
    Here is the code from the messageChoice...
    <bc4j:messageChoice prompt="Status"
    attrName="ProjectStatusId">
    <contents>
    <bc4j:optionList voName="ProjectStatusView"
    attrName="ProjectStatusId"
    textAttrName="Description" />
    </contents>
    </bc4j:messageChoice>

  • How to make Multiple column listbox in CS4 using tree view

    Hi ,
    I am a beginer in Indesign Cs4 plug-in creation.In one scenario i want to create multiple column listbox,i tried with one cloumn using tree view and that is working fine.so suggest how to create multiple column listbox using tree view.
    thanks
    Arun

    InDesign does not have a native multi-column widget. You have three options:
    1) Use the treeview widget and align your widgets in the tree node to create the illusion of columns (stroke panel is an example - the Links panel in CS4 is a better example)
    2) Go the way of the CellPanel SDK example and tweek it to work like a listbox
    3) Create the User Interface in Flex

  • How to use same view as editable and read only in ADF

    Hi,
    how to use same view as editable and read only in ADF ?? How can we achieve this in TF's ???
    -mrudul

    Hi,
    Steven Davelaar wrote a presentation about this "Building Highly Reusable Taskflows"
    Starting slide 14 is where your use case comes into play
    Frank

  • How to use street view in apple maps

    How do I use street view in apple maps?

    You don't. Street View is a Google Maps feature, so you have to use it in the free, downloadable Google Maps app.

  • How to use Database views in XI

    Hi Folks,
    Any idea about how to use Database views for sending and receiving messages in XI ?
    Regards,

    Farooq,
    My doubt is do i have work in the same fashion as if i am working on a Database Table...?
    For Ex :
    Creating Source and Target Data structure for JDBC adapter in the same format....etc
    Regards.

  • How to rearrange the structure of a table by using a view?

    At wits end: I need to reorganize the structure of a table into a new structure - either as a view or actually moving the data from the old structure to the new structure (using a view).
    The old structure is:
    TESTNAME, SCHOOL_ID, PTILE1, PTILE2, PTILE3 ... PTILE99
    Test1,0001,18,19,20...
    Test1,0002,23,24,28...
    Test1,0003,20,21,26...
    Test2,0001,48,52,55...
    Test2,0002,50,54,54...
    Test2,0003,60,62,64
    The new structure is:
    SCHOOL_ID,PTILE,TESTNAME1,TESTNAME2...
    1,0001,Score1,Score2...
    1,0002,Score1,Score2...
    1,0003,Score1,Score2...
    2,0001,Score1,Score2...
    2,0002,Score1,Score2...
    2,0003,Score1,Score2...
    99,0001,Score1,Score2...
    99,0002,Score1,Score2...
    99,0003,Score1,Score2...
    What this data shows are the percentiles for test scores for different tests for each school who took the tests.
    It seems like creating a view to arrange the data through a bunch of selects and unions would work, but I can't figure out how.

    Tricky.
    When confronted with a problem like this I try to write out an algorthm in pseudocode to work out what I want to do. If you have more than 2 or 3 tables to merge I'd consider going with a new structure; otherwise the view approach might be a good idea. Remember that if you go with a new structure you can insert once and update the other values later, something like
    foreach school insert row
    update testname1
    update testname2
    Good luck.

  • How to show madatory fields on form that uses a view?

    Hello everyone,
    I am using a view to create a form. After I have created the form I modified a column in one of the tables so that it is not null. Now that I have already created a form how can I show that it is mandatory.I know that APEX does this automatically if any fields are not null before I create the form. But how can I modify it now since I've already created the form and the not null field is not being shown as mandatory..
    Also is there a custom way to show that the field is mandatory when user doesn't enter any value for that field? Right it shows the oracle error.
    Thanks,
    Nehal
    Edited by: user11122439 on May 14, 2009 9:59 AM

    Hi Nahal,
    It's two-step process:
    Step 1: Change the label template on the field to "Required Label" or "Required Label with Help".
    Step 2: Add an Item Validation on the page for the field, and choose the validation method "Item Not Null"
    --Jennifer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • How to insert and delete a row after filter applied

    I thought I had figured out the solution to this problem but apparently not... How do you insert a new row into a JTable after a filter has been applied? The problem is once the data is filtered when I add a row, I'm getting an ArrayIndexOutOfBoundsE

  • SIP Device Registration Failure

    All, running CM 9.1(2) and trying to add an ALtigen IP phone as a 3rd party SIP device.  Getting SIP REG FAIL on the phone.  I followed the link below but still the same results.  Any ideas on where to start troubleshooting this?   http://www.cisco.c

  • How do i save pics to my computer with windows 7?

    I go on facebook and right click on save image as but it don't save to my pics why won't it save to my pics on my computer it works with internet explorer my computer is windows 7.

  • Where is the Ping button? (trying to get ethernet printer operating OS 10.6

    I am trying to get a Xante Accel-a-Writer 3G to work with OS 10.6.3 on my recently acquired MBP. I've been told by Xante tech support to ping the printer, but he seems unable or unwilling to be sufficiently explicit for someone as dense as me about h

  • What's this thing made of?

    Hello again - I'm getting back into photography after about 35 years of letting life get in the way.  I've purchased an F1N on Ebay, and a murder (the correct term for the group) of FD lenses. I want to get an 85mm FD f/1.8 next.  While all of my oth