A curious "anomoly" with the NATURAL JOIN  compared to the JOIN USING

The following query returns what I expect from the HR schema [106 rows]:
select last_name, department_name from employees JOIN departments USING (department_id);
However, when I do the full natural join with this, I only get 32 rows.
select last_name, department_name from employees  NATURAL JOIN departments;
Is the full NATURAL JOIN not using DEPARTMENT_ID to join on? But if not what else would it use? I just ran into this and am mostly curious as I do not use the natural join syntax in production but instead prefer the JOIN ON.
Thanks.

Just expanding on user2361373's point a bit, the EMPLOYEES and DEPARTMENTS table both have a DEPARTMENT_ID column and both have a MANAGER_ID column. So the natural join will join on both columns.
This is why the natural join is evil and ought never, ever, ever, ever, ever to be used in real production code. It violates fundamental tenants of building maintainable applications because it creates the potential that adding columns to an existing table will cause existing code to return incorrect results. If you decide that you need to add a CREATE_DATE column to a few tables, for example, to track when a row was inserted, suddenly, all your natural joins may decide that they need to add the CREATE_DATE to the list of columns to join on and your app starts behaving incorrectly. Or your initial DEPARTMENTS table doesn't have a MANAGER_ID column and you decide to add that later on-- all the existing natural joins between EMPLOYEE and DEPARTMENT start returning incorrect results.
Justin

Similar Messages

  • My Viewsonic monitor won't work with the Imac using the Mini Port to DVI adapter.

    My Viewsonic monitor won't work with the Imac using the Mini Port to DVI adapter. I also tried the HDMI to DVI adapter ane the Mac-Mini with same result. The monitor does work on my older Macbook Pro that has the DVI connector. Is it a Software/Driver issue ?

    Should be extremely simple, please carefully read Connect multiple displays to your Mac. If you still have problems then it's probably a cable issue that would be resolved by replacing the adapter cable. You should be using this adapter. If you are using a third party adapter that might be your problem!

  • HT203311 I am use homesharing, but cannot sync the main library from the secondary computer to an iphone.  It shows the entire libaray on the computer, but only shows a few songs when I try to sync iphone with the computer using homesharing.

    I am use homesharing, but cannot sync the main library from the secondary computer to an iphone.  It shows the entire libaray on the computer, but only shows a few songs when I try to sync iphone with the computer using homesharing.

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • Performance issue with the table use vrkpa

    Hi.
    here is the selection criteria that i am using and the table use vrkpa i only used to map the table kna1 and vbrk.vbrk and kna1 doesnot have the direct primary key relationship.
    please check and let me know wht this vrkpa is taking time and how can i improve the performance as from kna1,i am fetching data very easily while fetching nothing from vrkpa and fetching fkdat from vbrk.
    the idea behind using these tables is just for one kunnr (from kna1)getting the relevant entries based on the fkdat(selection screen input field),please suggest.
        SELECT kunnr
               name1
               land1
               regio
               ktokd
               FROM kna1
               INTO TABLE it_kna1
               FOR ALL ENTRIES IN it_knb1
               WHERE kunnr = it_knb1-kunnr
               AND ktokd = '0003'.
        IF sy-subrc = 0.
          SORT it_kna1 BY kunnr.
          DELETE ADJACENT DUPLICATES FROM it_kna1 COMPARING kunnr.
        ENDIF.
      ENDIF.
      IF NOT it_kna1[] IS INITIAL.
        SELECT kunnr
               vbeln
               FROM vrkpa
               INTO TABLE it_vrkpa
               FOR ALL ENTRIES IN it_kna1
               WHERE kunnr = it_kna1-kunnr.
        IF sy-subrc = 0.
          SORT it_vrkpa BY kunnr vbeln.
        ENDIF.
      ENDIF.
      IF NOT it_vrkpa[] IS INITIAL.
        SELECT vbeln
               kunrg
               fkdat
              kkber
               bukrs
               FROM vbrk
               INTO TABLE it_vbrk
               FOR ALL ENTRIES IN it_vrkpa
               WHERE vbeln = it_vrkpa-vbeln.
        IF sy-subrc = 0.
          DELETE it_vbrk WHERE fkdat NOT IN s_indate.
          DELETE it_vbrk WHERE fkdat NOT IN s_chdate.
          DELETE it_vbrk WHERE bukrs NOT IN s_ccode.
          SORT it_vbrk DESCENDING BY vbeln fkdat.
        ENDIF.
      ENDIF.

    Hi,
    Transaction SE11
    Table VRKPA => Display (not Change)
    Click on "Indexes"
    Click on "Create" (if your system is Basis 7.00, then click on the "Create" drop-down icon and choose "Create extension index")
    Choose a name (up to 3 characterss, start with Z)
    Enter a description for the index
    Enter the field names of the index
    Choose "Save" (prompts for transport request)
    Choose "Activate"
    If after "Activate' the status shows "Index exists in database system <...>", then you have nothing more to dotable is very large the activation will not create the index in the database and the status remains "Index does nor exist". In that case:
    - Transaction SE14
    - Table VRKPA -> Edit
    - Choose "Indexes" and select your new index
    - Choose "Create database index"; mark the option "Background"
    - Wait until the job is finished and check in SE11 that the index now exists in the DB
    You don't have to do anyhting to your program because Oracle should choose the new index automatically. Run a SQL Trace to make sure.
    Rgds,
    Mark

  • Palm 680 Issue - "Connecting with the deskop using Cradle" msg

    I have a curious problem with my 680 Smartphone.  When not connected to the cable it is continously and spontaneously attempting to connect with the desktop.  Is this some sort of HW short or malfunction?  The phone is unusable.  Everytime I clear the msg it goes back into synch mode.
    Even stranger, if I connect the cable from my PC to the phone, it will become usable again.  I can clear it out of synch mode and use all the features of the phone. 
    Has anyone ever experienced this?  I have done all the suggested troubleshooting on the support site.
    Post relates to: Treo 680 (AT&T)

    Hello GlennPalm1000, Welcome to the Palm Support Community.
    This issue seems to appear when the bottom Hotsync connector gets wet or otherwise contaminated.  You might try cleaning it with isopropyl alcohol or contact cleaner from an electronics store.
    Any chance the phone got wet?
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Deploying the SCCM 2012 Client to WES 7 devices that are locked down with the FBWF using 2007 task sequence via WEDM.

    I'm wondering how people are migrating their embedded devices that are using the FBWF. I've done some googling and it seems like most people are just re-imaging the devices and after migrating a single device i see why. Its not a pretty process. This will
    be a long description but ultimately my question stems more from trying to find a better way to execute the device migration from 2007 to 2012.
    Some back ground on my situation might be in order here. I'm in the process of wrapping up our 2007 to 2012 migration. We have a 2007 infrastructure that was a central server with 2 primaries and 286 secondary site servers. I've consolidated that to a single
    2012 primary site server that hosts all the main roles. There are 2 more servers in the data centers both operating solely as push distribution points I'll refer to them as 2012 01 02 and 03. I'm over half way through the migration and so far haven't needed
    to offload any site roles. There are almost 10,000 clients now reporting to the 2012 site server and almost a 100 field servers pulling content from 2012 02 as their source dp as pull dp is the only way forward for this many devices. I've read the horror stories
    of trying spin up 200 plus push dps. We are running PKI. I'm at the point now where i need to start migrating the Windows Embedded Seven Standard clients that have the 2007 sccm client on them with WEDM for write filter handling.
    What i'm wondering is if anyone has any pointers for me regarding migrating the WES 7 devices. My plan that i've come up with is to somehow script the process using a 2007 WEDM Task Sequence to try and migrate them over to 2012. Things are complicated as
    I need to somehow script the install, the policy checkin, hardware inventory, software inventory, and validate the SCEP client installs before I reboot the device one last time to enable the FBWF. How I handled the SCCM 2007 client install on these devices
    when they were provisioned was to just create a batch file that would sleep for ten minutes then check to see if the inventoryagent.log file had been created yet. I realize now that is inefficient as i can kick off the inventory using a WMI method once the
    client has installed. Also I need to make sure the machine gets its first policy as that is how it creates the communication using PKI through that first policy transfer and that also finalizes the client install. The biggest piece i'm uncertain about in this
    regard is the SCEP client.
    I had to change the SCEP client install from yes to no in the default client settings as we have some Mcaffee servers that can't have the SCEP client on them. I have incremental updates enabled on the collection that has the policy that installs the SCEP
    client but this will take an unknown amount of time unless i force the environment to update as the device starts in 2012 install, or if I could kick off the SCEP isntall... IDK. I'm also wondering if i should keep the device in the migration process until
    i validate it has its proper scep policy applied which I believe can be validated by a registry key somewhere.
    Once the 2012 client gets installed will that cause it to lose its place within the 2007 Task Sequence? Considering its going to take a minimum of 2 reboots I'd normally use the task sequence to handle its progression through the process.
    I'm also considering trying to use an Orchestrator runbook, as that would be a good way to keep track of the migration process as each device migrates. Especially since this might take several seperate scripts.
    I'm going to take a stab at scripting the migration process, but if anyone has any pointers that might make this a less complicated I'd really appreciate it as I've got about 3000 of these devices that need to be migrated over. The other things i've learned
    the hard way is any time you have something this complicated over the course of 3000 devices you will run into unknowns and the failure rate increases. I'm in the precarious position of having to not only build this process out but in some situations have
    it complete in the shortest amount of time possible as we have sites running 24x7. I know the end users behavior all to well and they will just keep hitting the power button sometimes even though their not supposed to so they can get their device functional
    again. In those situations i'd end up, if i'm lucky with a device that no longer has a healthy SCCM client in either environment and the write filter disabled.
    So like i said any pointers anyone could throw my way i'd really appreciate. I manually went through the migration process on a single device for proof of concept and ended up with almost 2 pages of pseudo code for my migration script/scripts.
    Thanks,
    -K.R.

    Hi,
    In R2 there are some new variables you can use to solve this,
    http://ccmexec.com/2014/12/smstsmplistrequesttimeout-value-in-milliseconds/
    In Sp1 though adding a step to sleep for 2-5 minuter after reboot and before the application install step is a common workaround.. a powershell command with "Start-Sleep
    -s 120" should do it. 
    /Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • I'm running 5.0.1 which isn't compatible with the website used by my graduate studies program. In lieu of switching to IE 9 to access this site, is there any way to gain access to Firefox 4.0?

    The website used by my graduate studies program doesn't yet support Firefox 5.0. In lieu of switching browsers, I would like to get an older version of Firefox (4.0) to support my studies.
    Thanks.

    You can install the portable Firefox 3.6.19 version to access websites that do not work with Firefox 5+.
    *http://portableapps.com/apps/internet/firefox_portable#legacy
    *http://portableapps.com/apps/internet/firefox_portable/localization#legacy36

  • Error while connecting with the url using odata...please help

    hi All,
    I was trying to do one basic ODATA example which i got from the threads.
    <!DOCTYPE html>
    <html><head>
      <meta http-equiv='X-UA-Compatible' content='IE=edge' />
      <meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
      <title>Table with OData Binding</title>
         <script id='sap-ui-bootstrap' type='text/javascript'
            src='https://sapui5.hana.ondemand.com/resources/sap-ui-core.js'
            data-sap-ui-libs="sap.m,sap.ui.commons,sap.ui.table"
      data-sap-ui-theme="sap_bluecrystal"></script>
      <script>
      // the root URL of the OData service - prefixed with a local URL to a proxy which forwards the request,
    circumventing cross-domain restrictions
      // IMPORTANT: this proxy must be available for the code example to run!
      var url = "http://services.odata.org/Northwind/Northwind.svc";
    // create an ODataModel from URL
      var oModel = new sap.ui.model.odata.ODataModel(url, true);
      var oTable = new sap.ui.table.Table("sampleTable");
      oModel.read("/Customers",null,null,null,function(){
      var metadata = oModel.getServiceMetadata();
      var entityCustomerRef = metadata.dataServices.schema[0].entityType[2];
      var listOfProperties = entityCustomerRef.property;
      for ( var i = 0; i < listOfProperties.length; i++) {
      oTable.addColumn(new sap.ui.table.Column().setLabel(
      new sap.ui.commons.Label({
      text : listOfProperties[i].name,
      })).setTemplate(
      new sap.ui.commons.TextField().bindProperty("value",
      listOfProperties[i].name))) }
      oTable.setModel(oModel); // set model to Table
      oTable.bindRows("/Customers");
      oTable.placeAt("content"); // place model onto UI
      </script>
      </head>
      <body class='sapUiBody'>
      <div id='content'></div>
      </body>
    </html>
    but when i try to execute the same it is not loading any data and showing the error as :
    2014-07-21 16:04:05 (default) : https://sapui5.hana.ondemand.com/resources/ - sap.ui.ModuleSystem sap-ui-core.js:80 
    2Failed to load resource: the server responded with a status of 501 (Not Implemented) http://services.odata.org/Northwind/Northwind.svc/$metadata
    XMLHttpRequest cannot load http://services.odata.org/Northwind/Northwind.svc/$metadata. Invalid HTTP status code 501 odata.html:1
    2014-07-21 16:04:16 The following problem occurred: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://services.odata.org/Northwind/Northwind.svc/$metadata'. -  sap-ui-core.js:80
    Failed to load resource: the server responded with a status of 501 (Not Implemented) http://services.odata.org/Northwind/Northwind.svc/CustomersXMLHttpRequest cannot load http://services.odata.org/Northwind/Northwind.svc/Customers. Invalid HTTP status code 501 odata.html:1
    2014-07-21 16:04:17 The following problem occurred: HTTP request failed0,, -  sap-ui-core.js:80;;
    But i can launch the url with metadata through browser..kindly help???

    Hi Arun,
    replace the following line in your code:
    var url = "http/services.odata.org/Northwind/Northwind.svc";
    with the following:
    var url = "proxy/http/services.odata.org/Northwind/Northwind.svc";
    It will either work fine or this error will be skipped.

  • Bizarre situation with the "Where used list" for a table updated by FB50

    Hello all,
    I use the "where used list" (all check boxes selected) function in SE11 to find out where and how the table FMGLFLEXT (General Ledger Public Sector: Total) is being used and updated. All I get is a reference to a function module, namely   “G_POSTING_FMGLFLEXT”. When I do a "where used list" (once again, all check boxes selected) for the FM, I get the message: Function Module G_POSTING_FMGLFLEXT not found in selected search area Message no. ES120“ despite the fact that all check boxes are selected.
    Yet this table contains data which were put in there via transaction FB50 (G/L Acct Pstg: Single Screen Trans.). So somehow, somewhere this data was created and put into the table.
    I don’t get it! What am I missing?
    Thank you for your help

    There could be several reasons for this, including:
    - The cross reference tables (used by the "where used" functionality) have not been updated in the system you are logged into - check with your Basis team on this as the programs that do this (a) run for hours and (b) take up a fair chunk of database space.
    - The data may be stored via dynamic SQL (e.g. "insert into (g_tab_name)") so the table reference doesn't show up
    - The function module may be called dynamically so the FM where used doesn't reflect this
    You could try, instead, using the ST05 SQL Trace to track what code is updating the table when you run FB50.
    Jonathan

  • Help needed to sync cache with the database using CacheStore

    Hi,
    I need to have my cache in sync with the database. I followed the tutorial to create a DBCacheStore class which will act as a CacheStore between Cache and my Oracle database. My Cache-Config file contains
    <backing-map-scheme>
                        <read-write-backing-map-scheme>
                             <internal-cache-scheme>
                                  <local-scheme></local-scheme>
                             </internal-cache-scheme>
                             <cachestore-scheme>
                                  <class-scheme>
                                       <class-name>com.coherence.cacheUtil.DBCacheStore</class-name>
                                       <init-params>
                                            <init-param>
                                                 <param-type>java.lang.String</param-type>
                                                 <param-value>{cache-name}</param-value>
                                            </init-param>
                                       </init-params>
                                  </class-scheme>
                             </cachestore-scheme>                         
                        </read-write-backing-map-scheme>                    
                   </backing-map-scheme>
    Now, what I am trying to achieve is,
    1. Load the cache with values when the cache server is up, without any need to run separate program
    2. Integrate all read/write cache operations with the database
    I am aware that CacheStore class implements store, storeAll, erase, eraseAll, load, loadAll methods from undelying interface and I need to write corresponding code to add/remove/update records in the database.
    But, I am really not sure how and when to include the logic to load the cache with the data from the database when the server is up.
    Thank for the help. Much appreciated!

    Could you try something like this to load the cache?
    HashSet buffer=new HashSet();
    s = conn.createStatement();
    rs = s.executeQuery("select key from table");
    while (rs.next())
    String key = rs.getString(1);
    buffer.add(key);
    // this loads 1000 items at a time into the cache
    if ((count++ % 1000) == 0)
    cache.getAll(buffer);
    buffer.clear();
    if (!buffer.isEmpty())
    cache.getAll(buffer);
    This web page also gives a good example:
    http://www.oracle.com/technology/pub/articles/vohra-coherence.html
    -Luk

  • How to use DG Gryphon Toolkit to communicate with the vehicle using ISO 9141-2 protocol

    Hi All,
    I am trying to use the Dearborn Group's Gryphon Toolkit to communicate with the vehicle & read some parameters. I have downloaded the toolkit from here. I have got the DG's S3 device. This device supports different protocols. But I could not proceed with the protocol selection using the Gryphon LabVIEW Toolkit. It would be nice to get some guidance here. Is there anyone who had worked with the toolkit? Any help would be greatly appreciated.
    Thanks,
    Priyadarsini S

    Is there anybody who had had exposure to this toolkit? How do we use the toolkit, for eg. to read Engine Coolant temp? I do not see a place where I can specify the PID number. Also is it really important to know a protocol completely by which Gryphon toolkit will communicate with a vehicle - Or just the knowledge of the Gryphon Communication protocol enough? It would be great to have the answers as soon as possible.
    Thanks in advance,
    Priyadarsini S

  • Communicate with the scanner using LabvIEW

    Hello,
    Anyone can help me or show me how to communicate with the USB devices like scanners?
    Is there extra library needed for this to work?
    Thanks...

    Hi simply_ynan,
    What is the application you are trying to implement with this device?  If you plan to use this scanner with our Vision Acquisition Software (IMAQdx driver), then the scanner would have to be DirectShow compliant.  This Knowledge Base may be helpful to you. Thanks!
    Kim
    Applications Engineer
    National Instruments

  • Problem activating the back and exit button with the ALV using OO

    I have wrote my first alv using Methods.My problem is that i can't activete the BACK and  EXIT button in the standart toolbar .
    Look my code please .....
    Without PF-STATUS can i do it ?
    *& Report  YDP_DOUBLE_ALV
    REPORT  YDP_DOUBLE_ALV.
    TABLES : YQM_CERT , MARA , YOUTPUT_APPL.
    DATA : ALV_GRID TYPE REF TO CL_GUI_ALV_GRID,
           CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
           FIELD_CAT TYPE LVC_T_FCAT,
           LAYOUT TYPE LVC_S_LAYO.
    DATA : ALV_GRID2 TYPE REF TO CL_GUI_ALV_GRID,
           CUSTOM_CONTAINER2 TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
    *       FIELD_CAT TYPE LVC_T_FCAT,
    *       LAYOUT TYPE LVC_S_LAYO.
    DATA: DYNNR TYPE SY-DYNNR,
          REPID TYPE SY-REPID.
    DATA: OK_CODE TYPE SY-UCOMM.
    DATA : BEGIN OF ITAB OCCURS 0.
            INCLUDE STRUCTURE YQM_CERT.
    DATA   END OF ITAB.
    DATA : BEGIN OF ITAB1 OCCURS 0.
            INCLUDE STRUCTURE YOUTPUT_APPL.
    DATA   END OF ITAB1.
    *  MODULE DISPLAY_ALV OUTPUT
    MODULE DISPLAY_ALV OUTPUT.
      SET PF-STATUS 'ZST9'.
      PERFORM DISPLAY_ALV.
    ENDMODULE.                    "DISPLAY_ALV OUTPUT
                       "DISPLAY_ALV OUTPUT
    *& Module USER_COMMAND_0100 INPUT
    * text
    MODULE USER_COMMAND_0100 INPUT.
      CASE OK_CODE.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    START-OF-SELECTION.
      LAYOUT-ZEBRA = 'X'.
      LAYOUT-GRID_TITLE = 'YQM_CERT'.
      LAYOUT-CWIDTH_OPT = 'X'.
      LAYOUT-SMALLTITLE = 'X'.
      SELECT  * FROM  YQM_CERT INTO ITAB.
        APPEND ITAB.
      ENDSELECT.
      SELECT  * FROM  YOUTPUT_APPL INTO ITAB1.
        APPEND ITAB1.
      ENDSELECT.
      CALL SCREEN 100.
    END-OF-SELECTION.
    *&      Form  DISPLAY_ALV
    *       text
    FORM DISPLAY_ALV.
      IF ALV_GRID IS INITIAL.
        CREATE OBJECT CUSTOM_CONTAINER
          EXPORTING
    *      PARENT                      =
            CONTAINER_NAME              = 'CC_ALV'
    *       style                        =
    *      LIFETIME                    = lifetime_default
          REPID                       = REPID
          DYNNR                       = DYNNR
    *      NO_AUTODEF_PROGID_DYNNR     =
    *    EXCEPTIONS
    *      CNTL_ERROR                  = 1
    *      CNTL_SYSTEM_ERROR           = 2
    *      CREATE_ERROR                = 3
    *      LIFETIME_ERROR              = 4
    *      LIFETIME_DYNPRO_DYNPRO_LINK = 5
    *      others                      = 6
        IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CREATE OBJECT ALV_GRID
          EXPORTING
    *    I_SHELLSTYLE      = 0
    *    I_LIFETIME        =
            I_PARENT          = CUSTOM_CONTAINER
    *    I_APPL_EVENTS     = space
    *    I_PARENTDBG       =
    *    I_APPLOGPARENT    =
    *    I_GRAPHICSPARENT  =
    *    I_NAME            =
    *    I_FCAT_COMPLETE   = SPACE
    *  EXCEPTIONS
    *    ERROR_CNTL_CREATE = 1
    *    ERROR_CNTL_INIT   = 2
    *    ERROR_CNTL_LINK   = 3
    *    ERROR_DP_CREATE   = 4
    *    others            = 5
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CALL METHOD ALV_GRID->SET_TABLE_FOR_FIRST_DISPLAY
          EXPORTING
    *      I_BUFFER_ACTIVE               =
    *      I_BYPASSING_BUFFER            =
    *      I_CONSISTENCY_CHECK           =
             I_STRUCTURE_NAME              = 'YQM_CERT'
    *      IS_VARIANT                    =
    *      I_SAVE                        =
    *      I_DEFAULT                     = 'X'
           IS_LAYOUT                     = LAYOUT
    *      IS_PRINT                      =
    *      IT_SPECIAL_GROUPS             =
    *      IT_TOOLBAR_EXCLUDING          =
    *      IT_HYPERLINK                  =
    *      IT_ALV_GRAPHICS               =
    *      IT_EXCEPT_QINFO               =
    *      IR_SALV_ADAPTER               =
          CHANGING
            IT_OUTTAB                     = ITAB[]
    *      IT_FIELDCATALOG               =
    *      IT_SORT                       =
    *      IT_FILTER                     =
    *    EXCEPTIONS
    *      INVALID_PARAMETER_COMBINATION = 1
    *      PROGRAM_ERROR                 = 2
    *      TOO_MANY_LINES                = 3
    *      others                        = 4
        IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ELSE.
        CALL METHOD ALV_GRID->REFRESH_TABLE_DISPLAY
    *       EXPORTING
    *         IS_STABLE      =
    *         I_SOFT_REFRESH =
    *       EXCEPTIONS
    *         FINISHED       = 1
    *         others         = 2
        IF SY-SUBRC <> 0.
    *      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
    ENDFORM.                    "DISPLAY_ALV

    Hi
    U need  to active them in your status ZST9.
    Max

  • Problems with the scaling using  a tachometer

    Hi all,
    I have the following problem: i have a query that shows me a % of Card make in one day, i need to fix the scaling from 0% to 100% but it always get fixed automatic. I go to edit the Axis and then i set Minimum Value = 0 and Minimum  Calculation = user Defined and Maximum Value = 100 and Maximum Calculation = user Defined but it always get fixed with automatic scaling. What can i do?
    Thanks a lot
    PS: I´ll wait for the response and then i´ll give some starts !!!
    Regards,
    Roberth

    Hi Roberth,
    Please check out OSS note 959964 - Chart: User-defined values of axis range are ignored. We were facing the same issue and this note fixed it for us.
    Symptom
    The axis range of the chart ignores the user-defined settings. Instead it uses the automatic calculation of the axis range.
    Other terms
    Minimum Maximum calculation gfwchart xmlchart chart engine
    Reason and Prerequisites
    You use SAPGUI 6.40 >= patch 18 and an IGS 6.40.
    Solution
    Please install IGS 6.40 >= patch 16.
    Hope this helps...

  • I'm having trouble connecting my Intel iMac with the internet using wifi router

    I'm having trouble configuring my iMac to accept a connection with my Telstra Elite mobile broadband Wifi router.
    The iMac's Wifi is turned on and the elite router is selected in the Wifi list with a tick.
    The router is turned on, and connected to the internet.
    I'm able to surf the net and collect emails using my MacBook Pro ( what I'm using now) and my iPad with no hassles by connecting them to the Telstra Elite Wifi router. But I'm unable as yet to get a connection using the iMac.
    The Telstra router accepts up to 5 simultaneous connections.
    At present the display on the router says that three devices are connected. They being the iPad, the MacBook Pro and the iMac.
    Can anyone help me out?
    Gregory

    hburgess3 wrote:
    I'm having trouble connecting my apple tv to the wifi on my campus. To connect to this wifi on a computer or iphone you have to install a program.
    Why?
    Contact the school IT department,

Maybe you are looking for