Difference between logical and physical SQL

Hi all,
I created a dashboard prompt and added some columns from the dimensions and one column from the fact table.
When I run the report in the dashboard and filters using the prompts,I see in the logical sql that all the filters have been applied to the report, but when I check the physical SQL only the filters on the dimensions columns have been applied.
I don't see the filter on the columns from the fact table.
Is there any reason for that?
Regards

I could figure out what was the issue.
My fact table was using a different MV as source table.The fact table column I was using in the prompt was not mapped correctly to the one in the MV.
Regards

Similar Messages

  • Diff between logical and physical file path

    Hi ,
    Could you please explain difference between logical and physical file path's and their importance in ABAP.
    Thanks and regards,
    shyla

    Hi
    The function module FILE_GET_NAME convert a logical path into its corresponding physical path.
    The advantage of using logical pathes within your applications is obivous:
    If you need to change the physical path you just adjust it within transaction FILE yet no changes are required to your application.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/ab3a57df3b11d189fc0000e829fbbd/frameset.htm
    The file names that you use in ABAP statements for processing files are physical names. This means that they must be syntactically correct filenames for the operating system under which your R/3 System is running. Once you have created a file from an ABAP program with a particular name and path, you can find the same file using the same name and path at operating system level.
    Since the naming conventions for files and paths differ from operating system to operating system, ABAP programs are only portable from one operating system to another if you use the tools described below.
    To make programs portable, the R/3 System has a concept of logical filenames and paths. These are linked to physical files and paths. The links are created in special tables, which you can maintain according to your own requirements. In an ABAP program, you can then use the function module FILE_GET_NAME to generate a physical filename from a logical one.
    Maintaining platform-independent filenames is part of Customizing. For a full description, choose Tools ® Business Engineer ® Customizing, followed by
    Implement. projects ® SAP Reference IMG. On the next screen, choose Basis Components System Administration ® Platform-independent File Names.
    For a more detailed description of the function module FILE_GET_NAME, enter its name on the initial screen of the Function Builder and choose Goto Documentation. On the next screen, choose Function module doc.
    Another way of maintaining platform-independent filenames is to use the Transaction FILE. The following sections provide an overview of the transaction.
    To create a logical filename, choose Logical filename definition, client-independent from the Navigation group box in Transaction FILE, then choose New entries. You define logical filenames
    You can either define a logical filename and link it to a logical path (as displayed here), or you can enter the full physical filename in the Physical file field. In the latter case, the logical filename is only valid for one operating system. The rules for entering the complete physical filename are the same as for the definition of the physical path for the logical file. To display further information and a list of reserved words, choose Help.
    If you link a logical path to a logical file, the logical file is valid for all syntax groups that have been maintained for that logical path. The filename specified under Physical file replaces the reserved word  in the physical paths that are assigned to the logical path. To make the name independent of the operating system, use names that begin with a letter, contain up to 8 letters, and do not contain special characters.
    Save your changes.

  • Diff  between logical and physical page ?

    hi
    what exactly difference between logical and physical pages?
    where to set page size in report designer?
    after seting paper size in report designer can i readjust in print dialogue box?
    which is will be effected?
    please explain

    A logical page can contain several physical pages. Assume you want to create a format which is larger then your printer is able to print, then you can define a logical size, which contains n pages horizontally and m pages vertically.
    To set the page size for your report have a look at the properties in the main section of your paper layout.
    Regards
    Rainer

  • Difference between logical and virtual terms

    Hello,
    This is not purely oracle question; but in documentation so many times we find 2 terms:
    A. Logical
    B.Virtual.
    So what is the principle difference between logical and virtual? As I know physical is that which I can see and touch; while logical/virtual is that is imaginary. We say tablespace is logical not virtual; while Java Virtual Machine; not Java Logical Machine. So I want to know; what is the principle difference; why two words for an imaginary thing. Before posting question; I searched in google as “Difference between virtual and logical” but I couldn’t found the answer.
    Please quote your comments.
    Thanks & Kind Regards
    Girish Sharma

    Girish,
    I wont say that I am correcting you as this is like that half glass full/empty thing.May be what I see is half empty , you would see the same as half full.
    Well now coming to the explanation.I am saying honestly , I got more confused after reading your definitions.What do you mean by saing that tablespace is not virtual.I see it as purely virtual.We don't say it as virtual tablespace or logical tablespace but it is actualy logical/virtual, having no existance but just the definition right?
    How can you say that the size of virtual is larger than logcial?The size of tablespace is actualy the sum total of size of datafiles.So it actualy becomes very larger right?Much larger than JVM which is of few megs only.
    The point 3 totally knocked me out.I have no idea what you said.
    Ok I tell you this.Just remember the definition that Hans gave already.If you ask me than its the best definition that we can have. Just remember this and if some one asks you more further than give them your point 3 definition and tell them understand this ;-).Please don'tmind I am just kidding. Its just semantics.Don't get lost into it.You will find many people using both the terms interchangibly. So its ok.I shall stick with Hans's defintion,simple and concise.There are lot more other topics to dig upon in oracle.I can mail you lots of them.Spend time on those.Don't think that I am demotivating you.I understand you asked only because you have a doubt.But we got a good resolution of it and beyond that, its not of much use to dig it atleast not in the technial terms.
    Cheers
    Aman....
    PS:Are you on oraclecommunity.net?

  • What are the Basic Differences between Oracle and  MS-SQL server Database?

    Hello,
            anybody pls Guide me about the Differences between Oracle and MS-SQL server Database.and also IBM Databases also
    Regards,
    Balaram

    SQL Server only works on Windows-based platforms, including Windows 9x, Windows NT, Windows 2000 and Windows CE.
    In comparison with SQL Server , OracleDatabase supports all known platforms, including Windows-based platforms, AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, Linux Intel, Sun Solaris and so on.
    The SQL Server  advantages:
    SQL Server  holds the top TPC-C performance and price/performance results.
    SQL Server  is generally accepted as easier to install, use and manage.
    The Oracle  Database advantages:
    Oracle  Database supports all known platforms, not only the Windows-based platforms.
    PL/SQL is more powerful language than T-SQL.
    More fine-tuning to the configuration can be done via start-up parameters.
    Samrat

  • Diff between logical and physical block corruption

    What is the difference between Physical and Logical block corruption.
    Dbverify utility, analyze command is used to check the logical block corruption not the physical one am i correct??
    When i get
    ORA-01578: ORACLE data block corrupted (file # 9, block # 13)
    ORA-01110: data file 9: '/oracle/dbs/tbs_91.f'
    ORA-01578: ORACLE data block corrupted (file # 2, block # 19)
    ORA-01110: data file 2: '/oracle/dbs/tbs_21.f'
    How to conform that this a logical or physical block corruption???
    please through some light regarding this....
    kumaresh

    the following link may help u
    http://download-east.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc1012.htm

  • Time zone difference between primary and physical standby

    Dear Team,
    We have Primary database server (with EST Time zone) and physical standby (with PST time zone), in case of switch over/fail over to physical standby
    what are the major impacts.
    Is it mandatory to be in time sync?
    Thanks in advance
    Aj

    CURRENT_TIMESTAMP
    04-FEB-10 10.22.20.444692 AM +05:30
    ( above is same on primary and standby)
    SQL> select systimestamp from dual;
    SYSTIMESTAMP
    03-FEB-10 08.52.46.934125 PM -08:00
    (above is 3hr diff from primary and standby)It is 13hrs difference
    One is around Indian subcontinent and other should be in US western region ?
    Systimestamp is the timestamp of the OS of the server and hence the difference and the sysdate value will be from systimestamp and if the applications uses SYSDATE then there can be an issue...

  • Speed Difference  between SQR and PL/SQL

    Hi
    I have converted a whole SQR report code into PL/SQL. The code includes extracting data from tables and then writing them to the extract files. What we've done is we've put the entire logic into PL/SQL within stored procedures and only write to the extract files within the SQR by calling the procedures through SQR. Now the problem we are facing is the timing issue whereas the whole idea was to increase the perfomance.
    What takes maybe3 hours to finsh the job in SQR is taking the double time in PL/SQL. I just have a question that before i insert into my rpt tables from where i extract data in the SQR to be written to the extract file, i am doing a lot of manipulation on the variables. Like i have about 10-12 NVLs, RPADs, TRIMS going on just before inserting those variables in the table . I just want to find out is that what is taking so long. We've checked the indexes, used the Hints, the speed is still the same.
    Any help right now will be greatly appreciated.
    Thanks to all.

    Download an app such as Speedtest to your iPad.  Test both ways and see the results for yourself.

  • What is the difference between logical ROWID and physical ROWID

    hello
    can u please explain the difference between logical ROWID and physical ROWID
    regards,

    from the docs (a 30 sec search)
    Physical rowids store the addresses of rows in ordinary tables (excluding index-organized tables), clustered tables, table partitions and subpartitions, indexes, and index partitions and subpartitions.
    Logical rowids store the addresses of rows in index-organized tables.

  • Difference Between Logical Screen and Active/Physical Screen

    Hi All,
    Could someone tell me what is the Diffrence Between Logical Screen and Active/Physical Screen and what is the reason for having two screens instead of one.
    Thanks in Advance,
    Joseph Reddy.

    Hi Marilyn,
    Thanks You. I have found the answer to this.
    All,
    If you go to the SPRO>Logistics Execution>Mobile Data Entry-->Define Screen Management. Here you have two screens one is Logical Screen and another actual Screen and a program associated to this.
    Here the Logical Screens are used within the program and Actual screens are the screens which are visible to the User. The Link between Logical and actual screen is present in the table T3130C. Program recognises logical screens.
    Now suppose say certain functionality/create new transaction code for RF Device is not there in SAP and you want to Include/Create your own code in any of the User-Exits. Then you have to rename the actual screen to 9***. So that the system recognises the change in the screen and related User-Exit is executed.
    Hope this is Clear.
    Thanks & Regards,
    Joseph Reddy.

  • What is the difference between Logical Disk and Physical Disk?

    Hi.
    When I do Performance Monitor, I got Logical Disk Avg. Disk sec/Write counter and  Physical Disk Avg. Disk sec/Write counter.
    But I can see the different Avg. value and Max. value. 
    Even if Logical and Physical Disk are one-to-one mapping.
    Why did i get the result?
    One the other hands, I got a same result that Logical Disk Avg. Disk sec/Read counter and  Physical Disk Avg. Disk sec/Read counter's Avg. value and Max. value.

    Physical Disk refers to an actual physical HDD (or array in a hardware RAID setup), whereas Logical Disk refers to a Volume that has been created on that disk.
    So if you have one disk with one volume created on it then the values are likely to be 1 to 1, but if you have multiple volumes on the disk, for instance a physical disk with C:\ and D:\ volumes running on it, then the logical disks relate to c:\ and d:\
    rather than the disk they're running on.
    See
    http://blogs.technet.com/b/askcore/archive/2012/03/16/windows-performance-monitor-disk-counters-explained.aspx for a more in depth explanation.

  • What is the difference between != and Logical NOT operator

    kindly,tell me what is the difference between Not Equality operator and logical negation operator.
    Edited by: user13414134 on Dec 3, 2010 8:59 AM

    what is the difference between != and Logical NOT operator The NOT operator is transformed into the inequality operator (<>), as can be seen from the Predicate Information of the explain plan:
    SQL> explain plan for select * from dual where  :x != :y
    Explain complete.
    SQL> select * from table(dbms_xplan.display())
    PLAN_TABLE_OUTPUT                                                              
    Plan hash value: 3752461848                                                    
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |    
    |   0 | SELECT STATEMENT   |      |     1 |     2 |     2   (0)| 00:00:01 |    
    |*  1 |  FILTER            |      |       |       |            |          |    
    |   2 |   TABLE ACCESS FULL| DUAL |     1 |     2 |     2   (0)| 00:00:01 |    
    Predicate Information (identified by operation id):                            
       1 - filter(:Y<>:X)                                                          
    14 rows selected.
    SQL> explain plan for select * from dual where not :x = :y
    Explain complete.
    SQL> select * from table(dbms_xplan.display())
    PLAN_TABLE_OUTPUT                                                              
    Plan hash value: 3752461848                                                    
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |    
    |   0 | SELECT STATEMENT   |      |     1 |     2 |     2   (0)| 00:00:01 |    
    |*  1 |  FILTER            |      |       |       |            |          |    
    |   2 |   TABLE ACCESS FULL| DUAL |     1 |     2 |     2   (0)| 00:00:01 |    
    Predicate Information (identified by operation id):                            
       1 - filter(:Y<>:X)                                                          
    14 rows selected.

  • DIFFERENCE BETWEEN SUM AND COUNT IN SQL

    DIFFERENCE BETWEEN SUM AND COUNT IN SQL
    WHAT IS THE DIFFERENCE VERIFY IN DETAIL/

    21031980, I suggest you upgrade your computer sothat you can access google.
    lol.
    wtfpwnd.Google is also helpful for understanding the strange
    acronyms that show up around here lately (yes, I did
    find and understand this one). :-)Haha, sorry!
    It's the inner-gamer in me rearing its ugly head...
    :-)

  • What is the difference between "= NULL" and "IS NULL" in SQL?

    Hi,
    I believe there is a difference between "= NULL" and "IS NULL" comparsion, but I couldn't find it. Anyone knows the difference?
    Thanks,
    Denny

    Aha, thanks:
    SQL> create table william_test_tab (col binary_double);
    Table created.
    SQL> insert into william_test_tab
      2  select rownum / (rownum - 1) from user_tables where rownum < 4;
    select rownum / (rownum - 1) from user_tables where rownum < 4
    ERROR at line 2:
    ORA-01476: divisor is equal to zero
    SQL> insert into william_test_tab
      2  select 1d * rownum / (rownum - 1) from user_tables where rownum < 4;
    3 rows created.
    SQL> select * from william_test_tab;
           COL
           Inf
      2.0E+000
      1.5E+000
    3 rows selected.
    SQL> select * from william_test_tab where col is infinite;
           COL
           Inf
    1 row selected.
    SQL>

  • Difference between logic pro 7 and 8

    I'm just wondering if there's a difference between the Logic Studio ($500), and Logic Pro 8..or does Logic Pro 8 simply come within the Logic Studio package? Is there a big difference between Logic Pro 7 and 8? Also, is it worth the $200 upgrade?

    Hi,
    Logic Studio: Logic Pro 8, Soundtrack Pro and MainStage.
    So yes, Logic Pro 8 is part of the 'Logic Studio' package, which also contains the two other apps.
    http://www.apple.com/logicstudio/
    Take a look at the Logic Pro 8/Logic Studio forum. There are mixed opinions on whether it is worth upgrading yet or not.
    Good Luck!
    Steve

Maybe you are looking for

  • Preserving folder organization (directory structure) when importing...

    Hello. I've spent years meticulously organizing a growing collection of about 10,000 photos. There are many subfolders (nested up to 4 deep). I'd like to start using iPhoto while preserving this organization. The catch is, I do not have enough free s

  • What is the pop-up page and how do you disable it?

    When I read through documents in Acrobat XI, a small, miniature version of the page pops up on the upper right hand corner. It is surrounded by a dark gray border with a white box inside that shows me where I am on the page, and the message "page X o

  • Parent Control Issues

    My wife and I just purchased an Ipad mini for our 8 year old son as a reward for a summer reading goal.  We have read about parent controls and restrictions but can not seem to find the kind of app or setting that will allow us the sort of restrictio

  • Sender File ContentConversion for 5 levels.

    Hi Friends, I got a peculiar requirement. My scenario is flat file to Idoc. The main problem is on the source side we have 5 levels to handle. Pls give some suggestions how to handle if we have more than 3 levels. Regards, Jeevan.

  • Printhead will not move on officejet 6500

    Used the printer this morning to print a b/w copy.  It worked fine.  Later in the day wife tried to print a copy and error message said there was a paper jam.  We have done all the steps to check for paper jams to no avail.  The print head is locked