Difference between View Creiterias and Where Condition when defining a VO

Hi Friends,
I am trying to understand the difference between specifying Where clause conditions in the View Criteria or directly in the VO Query.
both meet the same requirement in executing the Query with the Where Conditions. Is there ay specific diff.?
Thanks,
User

Hi Rade
There are many ways to optimize the performance of your querys or VO, the most importantly is thing is not to make full scans of your table, always use the explain plain testing the query execution, filter using the indexs atributes, VO editor have a tuning SQL execution in the query optimizer hint you can use FIRST_ROWS for example.
More information to tuning your query check this link [http://download.oracle.com/docs/cd/B28359_01/text.111/b28303/aoptim.htm#i1006353]
Good Luck

Similar Messages

  • Difference between viewer 39108 and 41139

    Adobe, please, let us know what's difference between these two version of viewers, which bugs are now fixed in later version. We do need to know if we need to create new custom viewers or if we can live with previous one.
    Thanks, Martin

    The updated viewer includes several MSO bug fixes that were reported soon after the v18 tools were released. These bugs include the failure to stop at the last state even when "Stop at last image" is selected as well as MSO auto start and timing issues. This updated viewer now has identical functionality to the v18 viewers you can create using the Viewer Builder.

  • Difference between Oracle 10g and Oracle 11g when using Distinct in SQL

    Hi All,
    When I use Distinct in Oracle 10g, the result would be sorted in ascending order automatically, while there is no sorting in the result set in Oracle 11g.
    I was using plsql developer to run my sql.
    May I know if anyone have the same experience before?
    Is there any kind of setting in 11g that I can make the result in order? Thanks!
    Edited by: user5810051 on 2011/4/6 下午 8:47

    As acadet says, if you want your result ordered you must specify an ORDER BY clause in your query. Just because previous versions of oracle included some ordering as part of the processing of a query, that was not a guaranteed ordering, but just a side-effect. Now that Oracle have improved the internal workings, they've removed the side-effect, and that's why you're not getting the ordering you want, because you were relying on that side-effect rather than explicitly stating the order you wanted.

  • Difference between unique constraint and unique index

    1. What is the difference between unique constraint and unique index when unique constraint is always indexed ? Which one is better in this case for better performance ?
    2. Is Composite index of 3 columns x,y,z better
    or having independent/ seperate indexes on 3 columns x,y,z is better for better performance ?
    3. It has been very confusing for me to decide which columns to index, I have indexed most foreignkey columns, is it a good idea ? We do lot of selects and DMLS on most of our tables. Is there any query that I can run and find out if indexes are really being used and if they are improving any performance. I have analyzed and computed my indexes using ANALYZE index index_name validate structure and COMPUTE STATISTICS;
    null

    1. Unique index is part of unique constraint. Of course you can create standalone unique index. But is is no point to skip the logical view of business if you spend same effort to achive.
    You create unique const. Oracle create the unique index for you. You may specify index characteristic in unique constraint.
    2. Depends. You can't utilize the composite index if the searching condition is not whole or front part of the indexing key. You can't utilize your index if you query the table for y=2. That is.
    3. As old words in database arena, Index may be good or bad for a table depending on the size of table, number of columns in the table... etc. It is very environmental dependent. In fact, It is part of database nomalization. Statistic is a way oracle use to determine the execution plan.
    Steve
    null

  • Difference between HA00/HB00 and RA00/RB00

    Dear Gurus,
    I am bit confused on this , please give me some idea about the difference between HA00/HB00 and RA00/RB00 when both are manual discount condition types.  Earlier also it was discussed in forum, i have gone through many links available in google but still not clear about it.  please help.
    Regards
    Arunava

    Hi,
    First of all HA00 and HB00 both is Header Condition Type.
    Both will use for the calculating Discount or Surcharge.
    Both are header condition type, Dosen't have Acess Sequence. So, manual price entry will be possible.
    The difference is...
    HA00 is Percentage (%) Condition Type.
    Means Discount or surcharge will calculate based on %.
    HB00 is fixed value condition type.
    Means discount or surcharge will calculate based on fixed amount.
    RA00 and RB00 have the same functionality as like HA00/HB00.
    This both has similar functionality, but not same.
    Both is header condition but the amount we charge as a header will distribute differently from HA00/HB00.
    HA00&HB00 will distribute header charge base on quantity.
    Ex - sales order have 3 line items. (Hb00 - 100, means for 6000 qty charge is 100)
         Qty     HB00
    A - 1000    16.67
    B - 2000    33.33
    C - 3000    50.00
    Where as RA00 and RB00 Amount distribution will be different.
    It will Distribute same charge to all items.
    (Ex - RB00 -100)
    So, it will be same for all qty A - 100, B - 200, C - 100 at line item level.
    Apart from this many corrections are there. Kindly once ready condition type control. Once you clear with all control, you will be able to identify the difference by seeing the condition type control. 

  • Difference between Sales Contract and Sales Agreement

    Hi,
    I am confuse with contract and agreement. Please let me know what is exact difference between Sales Contract and Sales Agreement, when the sales contract will be used and in which real time situation, the sale agreement will come into picture.
    Please do needful.
    Thanks and Regards,
    Venkat

    Hi Venkat,
    See documentation http://help.sap.com/saphelp_crm70/helpdata/en/46/377a08b2ea4bee8eb9f47e5c067064/frameset.htm for details on difference between contract and sales agreement - basically sales agreement dont have a quantity or value whereas contracts do. Agreements are mainly for pricing terms. These pricing terms can then be brought into the sales/service transaction.
    There are standard transaction types for these WK1 WV in ERP and CRM.
    Hope this helps.
    Kind regards,
    Vanessa

  • HT4437 What is difference between air play and home sharing if you just want to show iPhoto's on HD tv through apple tv (just purchased MacBook Air and Apple tv)

    What is difference between air play and home sharing when wanting to show photos on HD tv through apple tv?  Just bought Mac book air and apple tv. 

    You would have to use home-sharing if streaming from a computer. Computer would need to be on and running iTunes.
    http://support.apple.com/kb/HT4352
    Airplay would be useful if streaming from an IOS device
    http://support.apple.com/kb/HT4437

  • Difference between SAP SLD and SAP Management console

    Hello,
    It seems that both System landscape directory and SAP management console have some overlapping features. The services can be started or stopped in both. Is it true? Does anyone know the difference between these 2 and where does Solution manager fit in?
    Thanks
    Shailik

    Hi,
    SAP SLD  is the central information provider in a system landscape.this contains both Component information and Landscape description.COMPONENT Info in sense all the sap products and components along with their versions, And also third party products also.LANDSCAPE desc in sense the description of all the systems in particular landscape.
    Example:This can shows exact idea for you.Components like CAF,Webdynpo(WD-java),BPM etc info.And the host names,Message server ports etc.Here we dont have start/stop functionality.
    SAP MC provides a common framework for centralized system management. It allows you to monitor and perform basic administration tasks on the SAP system centrally, thus simplifying system administration. Using the SAP MC you can
    1.Monitor and control (start, stop, or restart) the SAP system and its instances with a single tool
    2.Monitor system alerts
    3.Display the list of all access points to an SAP system etc.
    We can see difference by looking into http://<host name>:<port>/index.html
    Look and feel are also differ.
    For more info you can go through these links of sap help.
    For SAP SLD:http://help.sap.com/saphelp_nw04/helpdata/en/fe/39ae3d47afd652e10000000a114084/frameset.htm
    For SAP MC:http://help.sap.com/saphelp_nwce10/helpdata/en/44/c707c053550f2ce10000000a1553f7/frameset.htm
    Thanks,
    Murthy.

  • Difference between "print" statements and "select" statements , TSQL

     What is the difference between "print" statements and "select" statements when it omces to debugging and watching varibles in the stored procs .....

    SELECT statement is part of the ANSI SQL language.
    PRINT command is not part of the SQL language, it is used for debugging in T-SQL.
    BOL:" Returns a user-defined message to the client.
    A message string can be up to 8,000 characters long if it is a non-Unicode string, and 4,000 characters long if it is a Unicode string. Longer strings are truncated. The
    varchar(max) and nvarchar(max) data types are truncated to data types that are no larger than
    varchar(8000) and nvarchar(4000).
    RAISERROR can also be used to return messages. RAISERROR has these advantages over PRINT:
    RAISERROR supports substituting arguments into an error message string using a mechanism modeled on the printf function of the C language standard library.
    RAISERROR can specify a unique error number, a severity, and a state code in addition to the text message.
    RAISERROR can be used to return user-defined messages created using the sp_addmessage system stored procedure."
    LINK: http://technet.microsoft.com/en-us/library/ms176047.aspx
    The SSMS (client software) returns SELECT output to Results and PRINT output to Messages.
    The SQLCMD -o (output file) option captures all outputs into one file mixed.
    Kalman Toth Database & OLAP Architect
    T-SQL Scripts at sqlusa.com
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Difference between Idoc Adapter and Proxies..

    HI XI Guru's,
    I am new to XI, I wanted to know what is the difference between Idoc adpater and proxies. When and what should be preffered ?
    Warm Regards,
    - Priya R

    idocs which mean - (intermediate documents)  are standard  document formats which sap systems use to store as well send data from one system to another. If this is the format in which data has to received by R/3 then you will use idoc adapter in XI.  idoc adapter can be used to communicate between systems is with  SAP release higher than  3.1.X. Communication using idoc adapter is always asynchronous.
    proxies are available for communication between  SAP systems with version WAS 6.20 and above. They support both synchronous as well as asynchronous modes of communication. Generally when you are looking at developing new application using WAS 6.20 and above then you can design the interfaces for this new applications in SAP XI and generate the required code for these interfaces automatically in SAP systems using transaction code - SPROXY in the case of ABAP Proxy and in the case of Java proxies the code is generated by SAP XI system itself. You only have to implement these interfaces in your new application. So, basically you have to only worry about building the application and the interface part is taken care by XI itself. you can also look at using proxies when data has to be inserted or fetched from custom/standard tables in R/3 using XI.
    ,idoc adapter can be used for commuincation between ABAP stacks only but Proxy can be used for both ABAP as well JAVA stack.

  • Difference between HTTP adapter and SOAP adapter

    Hi All,
      Can any one tell me abt what is the main difference between HTTP adapter and SOAP  adapter.when we'll use these eactly?
    Thanks
    pullarao.

    Hi Rao,
    Please go through the below links to understand it:
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1442 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    More links for SOAP Adapter:
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/fdca3f01f33e1ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    More links on HTTP adapters.
    /people/siva.maranani/blog/2005/09/15/push-data-to-mvc-architectured-application-using-xi
    /people/prasadbabu.nemalikanti3/blog/2006/02/27/collecting-and-bundling-vendor-records-from-different-multiple-interfaces-file-systempeoplesoft-and-sending-to-sap-r3-system-part-2
    Regards,
    Subhasha

  • What is the main difference between f.13 and f13e

    Hi,
       What is the main difference between f.13 and f13e.
      when clearing the document do they follow deifferent steps in selection?
    Thanks,
    Sravanthi

    Hi,
    The reason "Clearing currency" is provided is because you can clear in any currency apart from local currency. For eg if your local currency is INR and Document currency (Invoice) is USD and the customer pays in EUR, you can still clear them with the Clearing currency EUR. On the date of payment, Open items in USD will be converted into Clearing currency EUR as follows: USD to INR and from INR to EUR. (based on exchange rates between USD-INR and INR-EUR).
    Jayaram

  • Difference between functional task and interface task

    Hi All,
    Kindly let me know the Difference between functional task and interface task when we create a task profile.
    Regards,
    Swetha

    Hi Sweta,
    The diferennce is Like we create different roles like store incharge and Store manager for Store manager there are list of activities that he can do like approve requests from store keeper and so on so these are Interface tasks as there are differences based on the roles of the employee but if a person can only create and not approve the transation then this is functional task difference

  • Purchasing - Difference Between Organisation Classification and type?

    Hi All,
    Whilst setting purchase organisation i was curious to know what is the difference between organisation type and organisation classification when creating organisation within Purchasing?
    Any useful explanation will be welcomed

    Hi Lavanya,
    this choice boils down to the XML definition of Type an Element.
    A type is not something concrete; meaning that it is merely a definition. You'll always need something of that type to put data in. In other words; if I only have a type, I'll need to create an element that is of that type in order to have something to work with.
    For the messages it comes down to this: say, I've declared a type by the name of
    <complexType name="arbitraryType">
    <sequence>
    <element name="contentGoesHere"/>
    </sequence>
    </complexType>
    If I make the message of this type: it will look like this:
    <MessageName>
    <payload>
    <contentGoesHere>
    </payload>
    </MessageName>
    If I define an element as following:
    <element name="arbitraryElement">
    <complexType>
    <sequence>
    <element name="contentGoesHere"/>
    </sequence>
    </complexType>
    </element>
    and I put it in the message, it will look like this:
    <MessageName>
    <payload>
    <arbitraryElement>
    <contentGoesHere/>
    </arbitraryElement>
    </payload>
    </MessageName>
    Hope this clears up a little. Refer to w3.org for an exact definition of the two.
    Cheers,
    André

  • I need to know the difference between planned SKF and Actual SKF from business view and when I can use one of them ?

    I need just to know the difference between plan SKF and Actual SKF in business example and when I use one of them.
    thanks

    Hi Salaam,
    Statistical Key Figure (SKF) is a base to allocate the cost between cost centers. Usually, common cost centers cost should allocate to respective department cost centers on monthly basis.
    Some of SKFs are: Calculating floor rent on SFT, Telephone charges on No. of units, and employees head count is with "Each" in SAP.
    Apart from Ajay's reply, you can consider the Canteen exp in an organization. Assume Admin, Fin and Mfg departments are getting food services from Canteen. Here, total monthly cost of Canteen exp should be allocated to respective departments. Here, we use SKF as total head count of each department and distribute the cost.
    Planned SKF is what you planned on the beginning of a period. (Assume head count was planned as 30 in the month beginning)
    Actual SKF is what exactly you consumed over the period. (Actual employees provided canteen services during the month is 25)
    BR, Srinivas Salpala

Maybe you are looking for