Why shall we go for views?

What are the situations where we can go for views instead of joins and why?
Regards,
MD.

Hi MD,
Views are motly advisable to use regarding the performance issue.
Joins reduce the performance because it takes lot of time to retrieve the data.
Its advisable not to use JOINS for more than 2 or 3 tables. 2 tables itself would reduce the performance.
Instead, use for all entries and you can sort the table and use the Read..table to read the entries.
If you are using FOR ALL ENTRIES and need to exclude some entries, then instead of using the Negative stmts like , >=, <= , select all entries and then you can delete the entries which do not match your criteria from the internal table.
Inner Join VS Outer Join:
TABEL1 inner join TABLE2:
only entries found in TABLE1 and TABLE2 are the result.
TABEL1 outher join TABLE2:
all entries found in TABLE1 and, if found the corresponding data from TABLE2 are the result.
For inner and outer join see the below thread:
difference..inner join and outer join
Views : Data about an application object is often distributed on several tables. By defining a view, you can define an application-dependent view that combines this data. The structure of such a view is defined by specifying the tables and fields used in the view. Fields that are not required can be hidden, thereby minimizing interfaces. A view can be used in ABAP programs for data selection.
For View see the below thread:
Regarding Creating views
Reward Points if Useful

Similar Messages

  • TS1702 Why is the icon for street view not showing up on the left side of the location on the maps app?

    Why is the icon for street view not showing up on the left side of the location on the maps app?

    Because the included Maps app no longer gets the maps data from Google, so no more street view.
    You can get a free Google Maps app from the iTunes App Store.

  • Why there iare no accounting views for KMAT material ?

    Hello PP members
    Why there are no accounting views for KMAT material, in a Standard SAP sytem
    Is is because KMAT material cannot be valuated
    Please clarify

    Baskaran, PP consultant, Rajesha:
    Thank you for replies
    Round Robin of discussions
    Valuation is done at quantity / value level (KMAT - No valuation is done at either Qty/value level)
    KMAT is neither valuated or stocked for that plant when GR is done, the only thing it will do update the sales order
    As KMAT is configurable material, the system calcuates the material cost dynamically as per the customer selection
    Accouting view is used to select the correct G/L account during stock postings
    The above can be viewed in OMS2
    Due points have been assigned

  • Why shall i buy an i mac instead of windows?!, why shall i buy an i mac instead of windows?!

    why shall i buy an apple software instead of windows software?!

    Daniel,
    You don't say what you use a computer for...that might help others here point you in the right direction.
    I think some of the main advantages of a Mac over a PC are:
    Application integration is much, much better on a Mac.  For example, iPhoto integrates very well into Apple Mail and all of the iOS devices like iPods, iPads, iPhones, etc.
    Get a bunch of photos sent to you in your email?  Just click on QuickLook to view them all full screen...no need to double click each one to look at it.
    Adding a printer to a Mac is usually just a matter of hooking it up, turning it on, then going to System Preferences and adding it. The driver is loaded automatically for you.
    Spyware, trojans, viruses and other assorted "malware" normally don't affect a Mac at all. (In fact, I've used a Mac since 1984 and can't think of a single virus that infected Macs in that period of time). Because of this, most of us here don't run anti-virus software on our Macs. On a PC, though, running that software is almost essential, and can really slow the PC down.
    Launching a program is easier from a Mac.  Just click on it in the Dock.
    As Chessie mentioned, you can check out the Macs at your nearest Apple Store, and ask questions of the staff that actually know the answers (unlike the "big box" stores where the employees quite often don't know any more than you do).
    You have the support of Apple behind the product. Have a problem with your Mac?  Let the Genius Bar at the Apple Store take care of it for you.  No need to send it in to the manufacturer.
    There are other advantages, too....(for example...this forum, where you can ask for help on nearly any function of your Mac you can think of).
    Others may chime in here, but above are the advantages that come to mind right away.

  • Why shall we choose Z10 ?

    1. Z10 is NOT cheap
    2. Z10 is NOT solid with plastic
    3. Z10 is NOT mature enough(new OS, few apps...)
    4....
    So, why shall we choose Z10 ? What's your special ? Message Hub?
    As I think, Z10 has to do something that others can never do.
    In my mind, smart phone is not a phone any more, it will be a tiny PC in the future. That means we just need is a display, a keyboard and a phone on the desk. We work on it ,and play with it. We can take the phone with our own data to anywhere in our pockets. And it becomes to an full-featured desktop PC, when connected to the display and keyboard.
    Actually, in hardware, Z10 has HDMI for display already, and we can connect the keyboard with Bluetooth. So, what we need is software part. Such as desktop UI and some drivers.
    If Z10 can be a PC, most people will pay for it undoubtedly.

    Hi MD,
    Views are motly advisable to use regarding the performance issue.
    Joins reduce the performance because it takes lot of time to retrieve the data.
    Its advisable not to use JOINS for more than 2 or 3 tables. 2 tables itself would reduce the performance.
    Instead, use for all entries and you can sort the table and use the Read..table to read the entries.
    If you are using FOR ALL ENTRIES and need to exclude some entries, then instead of using the Negative stmts like , >=, <= , select all entries and then you can delete the entries which do not match your criteria from the internal table.
    Inner Join VS Outer Join:
    TABEL1 inner join TABLE2:
    only entries found in TABLE1 and TABLE2 are the result.
    TABEL1 outher join TABLE2:
    all entries found in TABLE1 and, if found the corresponding data from TABLE2 are the result.
    For inner and outer join see the below thread:
    difference..inner join and outer join
    Views : Data about an application object is often distributed on several tables. By defining a view, you can define an application-dependent view that combines this data. The structure of such a view is defined by specifying the tables and fields used in the view. Fields that are not required can be hidden, thereby minimizing interfaces. A view can be used in ABAP programs for data selection.
    For View see the below thread:
    Regarding Creating views
    Reward Points if Useful

  • How to install an external editor in version 2.1.1.64 for viewing XMLType

    I have a question about viewing XMLType in version 2.1.1.64
    If you want to view the content of an XMLType column in a data-tab, you can double click on the particular XMLType field and the edit button appears at the end. Push this edit button and an "Edit Dialog" popup appears with the data presented as one line.
    Push the External Editor button and you get a dialog that informs you about the not supported mime type of the selected object. You can find the complete list of supported mime types in Tools->Preferences->External Editor panel. I like to use an external XML editor for viewing an xmltype column, can anyone put me on the right track? Change the Editor Location for the .xml file extension didn`t work.
    Kind regards,
    Erwin Snippert

    This is the case:
    SQL Developer version 2.1.1.64
    Oracle client 11gR2
    Oracle Database 9.2.0.6.
    Under the table tree, on the left side of the screen, a table is selected with 3 columns. One of them is a XMLType column.
    Click on the data tab on the right side of the screen and a part of the xml-data is visible of that XMLType column.
    Perhaps my expectations are too high, i want to see the all XML data in a structured and readable way.
    I have tried to accomplish this by double clicking on the particular data in the XMLType column. This results in an pencil icon on the right side of the data.
    Click on this icon and a popup window appears with the 'Edit Value' titel. This windows shows the xml data as one string, not very readable.
    I have the oppurtunity to click on an 'External Editor' button. It seems to me that i can use this button to see/edit the data with an external editor.
    If you click on this button, a dialog appears with the following message : 'The Mime Type of selected object is currently not supported. Please see the complete list of supported Mime Type and extension in Tools>Preferences>External Editor panel.'
    I have 2 questions, perhaps you can put me in the right direction :
    - Why can't SQL developer standard display XML in a structured/readable way?
    - How must SQL Developer be configured to use an external editor for displaying XML data from XMLType columns?
    Kind Regards, Erwin

  • Cannot preview filetype please download the file for viewing and garbled text on a downloaded image

    Dear Madam or Sir,
    When I click on a file titled "Subject Access Request Letter re Account Number 12527629 Sort Code 60-10-34 24022015.pdf", which is stored in my Account on Acrobat.com I get the response "Cannot preview filetype please download the file for viewing". This file was created from an OpenOffice .odt document of the same title. Please advise.
    I downloaded an image, which purports to be a .pdf, from the Royal Mail Track & Trace web facility using my Samsung S5. The text that I expect to see might as well be hieroglyphics for all its similarity to text. Please advise.
    Regards,
    Ron Platt
    PS I have tried to attach both files (.pdf) but am advised "That image type is forbidden". Please advise.

    Hi Laura,
    I have found the solution to be:
       1. Not to upload to "Document Cloud" from the .pdf stored on my PC and
       open on screen.
       2. To login to Acrobat.com from the .pdf stored on my PC and open on
       screen, select "Document Cloud" and the sub-folder required and then upload
       the file
    I have a feeling that there is a glitch somewhere, because after I have
    opened a number of .pdf files stored on my PC, and irrespective of whether
    I have closed them prior to opening the next .pdf file or left them open,
    Acrobat Reader will display (Not responding) in the window title bar. The
    "number of files" equates to less than 10. I, then, click on the X at the
    right of the window title bar and I am given the option of "Close the
    program" or "Wait until the program responds" (or words to that effect). If
    i choose the latter, nothing happens and I am back at the unhappy status
    quo. If I choose the former, I am told that Windows is searching for a
    solution, which it never finds. I, then, have to shut down the PC and then
    start it up, again. Clicking "Restart" does not solve the problem.
    I have described the above before and received the usual "it cannot be
    Acrobat, it is perfect" response. I could, I suppose, screenshot/snip every
    sequential screen but why should I have to when I have described the
    sequence as fully as I can. So I have found a "workaround" that does not
    solve the "Not responding" problem but does solve the problem of not being
    able to upload from the open .pdf file to the sub-folder in "Document
    Cloud". I am, on occasion, working through the myriad of .pdf files that
    are in the root folder of "Document Cloud" and putting them in the correct
    sub-folder(s).
    I have today read that Google is starting a cellphone service in the USA in
    which a monthly "access" rental (US$20) is paid plus a GB capacity usage is
    elected for at a rate specified, e.g. US$10.00/GB. If the subscriber  does
    not use the elected GB capacity Google refunds the US$value of the unused
    elected GB capacity.
    Suggestion: Adobe applies that kind of policy to its online software
    package usage rates, e.g. I elect to subscribe to a particular level of
    online software package usage monthly, but, if I do not use all of the
    programs included in that online software usage package, I am credited back
    for not having used the softwares, that I did not use, that were inclusive
    in that online software package offer.
    Regards,
    Ron

  • Why not use interfaces for constants?

    Hi,
    I have been getting conflicting views about why not use interfaces for constants?
    Can anyone shed some light on it?
    Piyush

    How so?
    If the constants are only used in a single classhow
    does it help to put them in a separate structute?
    (Ignoring the a type safe enumeration of course.)Well, mainly for readability. Suppose that you have a
    web application which has a servlet class
    "RedirectServlet", which takes a variable to redirect
    to a given JSP file. In the JSP files, you want to
    create forms which take this servlet as their action.
    You could of course put all these "redirect"
    constants in the RedirectServlet itself, but then
    it's kind of weird that you have to import a
    servlet in your jsp file to include these constants
    and to be able to write
    <form action="servlet/RedirectServlet?key=<%=
    RedirectServlet.HOMEPAGE %>> or so.
    Instead, you could create an interface called
    "RedirectConstants", and then your servlet
    RedirectServlet could implement this interface. Then
    your JSP can also access these constants via this
    interface.
    But then again, this is merely a matter of style, I
    fully agree that there is never a real _need_ to put
    constants in a separate structure if they're only used
    in a single class.Are you claiming that your example above is a single class?

  • I want to download free apps for iphone 4s but when downloading it is asking for payment info. the application are free but why it is asking for purchase details...please help me...

    I want to download free apps for iphone 4s but when downloading it is asking for payment info. the application are free but why it is asking for purchase details...please help me...

    In iTunes, click "Store", sign in with your Apple I.D. After singing in, click "Store" again, select "View my Account", re-enter your password and your account info will be displayed.
    Click "Edit" in front of "payment information" and select "None"

  • OS X Mavericks is offered as a free download, why is apple asking for a credit card number?

    Can someone tell me why apple is asking for a credit card number to download the Free OS X Mavericks?

    Yes.  This is what it says.
    Resolution
    You might not be able to see or select the None payment option for one of these reasons. If you don’t want to use a credit card, you can use another form of payment, such as a gift card.
    If you have an unpaid balance or payment due
    You can't select None as your payment type until you pay your balance. To see which order you need to pay for,view your purchase history on a Mac or PC. When you sign in to the store, you might see a message that there was a billing issue with your last order. Click the Billing Info button to see the order.
    After you pay for the order, you can change your payment information to None.
    If you’re using the iTunes Store or App Store for the first time
    If you’re using the store for the first time with an existing Apple ID, you must provide a payment method. After you create the account, you can change your payment information to None.
    If you’re creating a new Apple ID, you might be able to create an account without entering your credit card details.
    If you changed your country or region
    When you change the country or region of an existing Apple ID, you must provide a payment method and update your billing options. If you want to remove your payment method after you change the country or region, you canchange your payment information to None.
    She hasn't changed countries nor regions, she's not using the either store for the first time, nor does she owe anything.  She doesn't have a gift card.  She's just a person without a credit card.  She did have one, and now she doesn't. 

  • Why plugin/addon concept for Runtime Shared Libraries not implemented in Flex?

    Hi All,
    I am posting my refined query here in continuation to my post Fundamental and crucial drawback with Flex in Flex India Community as my last refined query was left unanswered though I feel there is a definite sense of purpose to it.
    Why plugin/addon concept for Runtime Shared Libraries not implemented in Flex?
    Here is why I feel it should be implemented in Flex.
    Though Runtime Shared Libraries SWF file can be cached in the client browser and just need to be loaded only once when the user access a Flex application for the first time,
    "40-60% of daily visitors to your site come in with an empty cache. Making your page fast for these first time visitors is key to a better user experience."
    Qouting from 'Best Practices for Speeding Up Your Web Site' as described in Tenni Theurer's blog post Browser Cache Usage - Exposed!
    While still retaining the cacheability of RSL's for compatibility reasons, flex should give the flexibility and thereby enhance performance by offering RSL's as a plugin/addon.
    Looking for your comments and insigts on the same.
    Thanks,
    Ram Manoj Kongara.

    I finally skimmed through the links you posted.  The terms plugin and addon
    are not in either of the articles so I'm unclear what you are suggesting.
    The topic seems to be about application performance.  The Flash Player
    supports a cross-domain cache of actionscript libraries separate from the
    browser cache.  Each official release of Flex contains a set of these
    libraries.  As new Flash Player versions or new Flex versions are released,
    and users visit sites utilizing those new versions, the browser picks up the
    latest Flash Player and the Flash Player picks up the latest Flex libraries.
    These days, it only takes a few months for a new Flash Player to achieve
    major saturation in browsers although it still takes a bit longer for Flex
    libraries to achieve saturation.
    Adobe will soon be hosting these libraries so if you build your application
    to leverage these libraries, you will find that the total download from your
    server will be minimized, limited to only your application code and assets,
    although you might want to serve the libraries in case they are not already
    in the cache if you see high latency to the Adobe servers on a cache miss.
    The SWF or SWFs you do serve off your servers should be optimized through
    normal good application development practices.  Flex provides features such
    as deferred instantiation in its ViewStack and Accordion containers to defer
    the creation of objects until viewed.  Flex has a ModuleManager to allow you
    to not download parts of your application until they are needed.  A
    model-view or MVC architecture will make it easier to create modular
    boundaries within your application and leverage these features.
    If I have not addressed your concerns please describe your issue in more
    detail.
    Alex Harui
    Flex SDK Team
    Adobe System, Inc.
    http://blogs.adobe.com/aharui

  • Excel Database ready for viewing

    Hi all hope you can advise me.
    I have an Excel Database that I want viewers of my website to
    be able to search.I found the
    http://www.wrensoft.com/zoom/index.html
    to use for the searching.
    I want to know how best to structure the database for viewing
    purposes on the web.What format etc.
    What I am after is to have a "search the database page" that
    when a search is done elements of the database is brought out in
    the results.I would like each search result to have it's own page
    so that only the specified search results comes up and not any
    other.
    I'm not quite sure that what I want can be done from this
    excel doc.My thoughts are and I may be wrong is that this being a
    simple .xls doc. (Excel doc) doc the results will bring out
    highlighted parts that were relevant to the viewer's search.
    Any help/advice would be great.
    Thanks Mark

    > I have XP Home 5.1.2600 service pack 2
    XP Home does not include a webserver. If you wanted to
    locally test
    server-scripted pages, you would have to install Apache.
    > Do I actually have to have this on my PC.Why do I need a
    web server on my
    > PC ?
    If you want to locally test pages that interact with a
    database (whether
    Excel, Access, or MySQL), you would need a local webserver.
    Without one,
    the best you could do would be to upload pages and browse to
    them. If your
    pages are static HTML only, then your local preview will work
    fine, and you
    would have no need for a local webserver.
    > I want a database full on information.Tha database will
    sit hidden from
    > web
    > visitors.I will put a search Form on the web page for
    people to search the
    > Database.
    Unless you want to work in PHP and install Apache and MySQL
    locally, then
    you are hosed. This is not a hard thing to do. It's how I am
    configured.
    > Can I have a few
    > levels in the database I.E. a more detailed page as I
    could in HTML. using
    > links. from page to page.
    Sure.
    > The rason I'm not using HTML. in the first place is
    because the Data will
    > be
    > quite vast and I don't want to get lost in thousands of
    links.
    You couldn't practically use HTML for this anyhow.
    > Am I going down the right path with PHP / MYSQL and so
    on.
    Yes. Get David Powers' excellent book on DWCS3 and PHP/MySQL,
    and get busy.
    He gives complete instructions for setting up your system.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "markie12345" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi Murray
    >
    > I have XP Home 5.1.2600 service pack 2
    >
    > Do I actually have to have this on my PC.Why do I need a
    web server on my
    > PC ?
    >
    > To tell you what I'm doing again just to make sure I am
    going down the
    > right
    > road for what goal I am aiming to.
    >
    > I want a database full on information.Tha database will
    sit hidden from
    > web
    > visitors.I will put a search Form on the web page for
    people to search the
    > Database.
    >
    > The goal is to have the results come up in another
    page.Can I have a few
    > levels in the database I.E. a more detailed page as I
    could in HTML. using
    > links. from page to page.
    >
    > The rason I'm not using HTML. in the first place is
    because the Data will
    > be
    > quite vast and I don't want to get lost in thousands of
    links.
    >
    > Am I going down the right path with PHP / MYSQL and so
    on.
    >
    > Kind regards mark
    >

  • Why Should I go for 11g

    Since my database and application running well for long time and not major problems then why should I go for 11g. Why not stick to 10g more 2 to 4 years.
    Share your ideas....

    Hi there,
    I dont think that it matters on this too much that your applications and db are running ( or not running ) fine ovr a version x so you should migrate to y version.I have seen shops still running on 817 also and there are many who have opted for 11g also. There are alot of factors which effect the decision.I wont recommend anyone at the moment to go for 11g as its the first release and the R1 product is not usualy so stable.If I really wish to upgrade , I shall wait for atleast 11gR2 to come.
    If you are happy with the performance of 10g and are stable than I dont thikn that you have any drastic need for upgrade to 11g any time soon.
    Just my 2 cents....
    Aman....

  • Why doesn't Mail for IOS show sent items?

    Why doesn't Mail for IOS show sent items with an IMAP server account. Everything else works okay but there is two sent directories and no contant in any of them ...
    Trouble is the same in both iPhone4 and iPad.
    Exactly the same account shows everything on my Macintosh. Including Sent items.

    Using the method described above I see outgoing messages that were sent from Mail on my iMac in the correct mailboxes for 2 different MobileMe accounts.
    You seem to be having and issue where your database/setting are corrupted if your messages are in the wrong outbox. I would suggest deleting the accounts from your iPad and the reconfiguring them.
    While viewing an email at the top of the screen, left of the trash icon, you should se a Folder icon. Click on that to send the message to another folder. Page 59 of the manual http://manuals.info.apple.com/en_US/ipad_2_user_guide.pdf
    Message was edited by: J D Knight III (fixed page number)

  • Why can't I create view in Analytic Workspace?

    Why can't I create view in Analytic Workspace?

    Hi There,
    1) This is the OBIEE forum, by the sounds of your question, which doesnt have much detail, Im guessing you want the OLAP forum for AWM related issues.
    2) Trying to help, I guess your trying to create the AW cube views, what version of AWM are you using ? It was first provided as a plug in but Im pretty sure the latest version of AWM ships with the functionality.
    BTW I'd try posting in here : OLAP

Maybe you are looking for