Doubt about preferred or available service.

I have a doubt about preferred or available service.
I have a Oracle RAC with 3 nodes.
I created a service GL, but I didn't setup available instance, only preferred instances with 2 instances (PROD1,PROD2)
srvctl add service -d PROD -s GL -r PROD1,PROD2
My doubt is:
If PROD1 instance dies, I would like to know if rac01 is restored automatically on rac02.
Anybody can help me?
Thanks in advance.
Leonardo.

There are different ways for configure failover... below just an example :
mydatabase.us.com =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.100.124.91)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.100.124.93)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.100.124.95)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = mydatabase.us.com)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
Or... read the document :
http://docs.oracle.com/cd/B19306_01/network.102/b14213/tnsnames.htm
Regards,
Alex Alvarenga.

Similar Messages

  • Doubt about upgration in the service pack

    Hi experts,
    I have one doubt about upgration of the service packs.How to upgrate one sevice pack to another one . Is there any process to this.
    please let me know the things.
    Regards
    babu

    HI,
    There is a procedure to upgrade , first you need to update the kernal,ABAP stack,patches,javastack.
    see the below links
    SAP installation guide
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bd5950ff-0701-0010-a5bc-86d45fd52283
    Post Installation steps for activating Adobe Document Services in SAP XI NW 2004S -/people/sravya.talanki2/blog/2006/11/15/post-installation-steps-for-activating-adobe-document-services-in-sap-xi-nw-2004s
    Regards
    Chilla

  • Doubts about configurate services with JBI

    Hi people,
    I have been looking for a way to develop a wizard for configuration of services in different ESBs from my web application.
    I took a look at some presentations (like http://80.69.93.183/sun-evenementen/pdf/jbi_openesb.pdf and http://mediacast.sun.com/users/~armin/media/SunTechDays2007_OpenESB.pdf), and I would like ask you about possibilities to configure services in a ESB using JBI.
    What I really want to do is allow that my web application connects to some ESBs to configure services into them. It's like to have the web interface that some of them provide to make the configuration from my web application.
    I have been talking about this with some guys and two possibilities that they gave me are:
    1. To develop everything into the web application and send the information through JMX.
    2. To develop a generator of XML content (in memory) and send it the ESB, where it would has another implementation made by me, like a module (one of the guys said me that this could be a JBI Service Engine), which would receive the XML content generated by the web application.
    Using the first one possibility, I would have all solution into my application and developing the other one, I would have one implementation to each ESB that I want to connect to if it wouldn't be done with JBI (I think.. right? Because it seams that it would be the same if I do it with JBI).
    One guy told me that the second one would be the best, because, until he knows (based on the PoCs (proof of concept) he made, with JBossESB, Mule and WebSphere ESB), some of the ESBs he tested require some manual configuration to publish the services to be accessed through the ESB. He didn't do anything with JBI and didn't know anything about this.
    Another thing is that if I deploy only once a JBI Service Engine (SE), I can do the configuration of every service I want to publish in the ESB through this SE. In other words, I won't need to ask to the admin of ESB do the configuration to me (or do it through the web interface of ESB).
    Please, does anybody know if all the ESBs that support JBI give an interface to another application connects to them to configures services?
    I thank you in advance for any information!
    Regards,
    Luiz

    Hi people,
    I have been looking for a way to develop a wizard for configuration of services in different ESBs from my web application.
    I took a look at some presentations (like http://80.69.93.183/sun-evenementen/pdf/jbi_openesb.pdf and http://mediacast.sun.com/users/~armin/media/SunTechDays2007_OpenESB.pdf), and I would like ask you about possibilities to configure services in a ESB using JBI.
    What I really want to do is allow that my web application connects to some ESBs to configure services into them. It's like to have the web interface that some of them provide to make the configuration from my web application.
    I have been talking about this with some guys and two possibilities that they gave me are:
    1. To develop everything into the web application and send the information through JMX.
    2. To develop a generator of XML content (in memory) and send it the ESB, where it would has another implementation made by me, like a module (one of the guys said me that this could be a JBI Service Engine), which would receive the XML content generated by the web application.
    Using the first one possibility, I would have all solution into my application and developing the other one, I would have one implementation to each ESB that I want to connect to if it wouldn't be done with JBI (I think.. right? Because it seams that it would be the same if I do it with JBI).
    One guy told me that the second one would be the best, because, until he knows (based on the PoCs (proof of concept) he made, with JBossESB, Mule and WebSphere ESB), some of the ESBs he tested require some manual configuration to publish the services to be accessed through the ESB. He didn't do anything with JBI and didn't know anything about this.
    Another thing is that if I deploy only once a JBI Service Engine (SE), I can do the configuration of every service I want to publish in the ESB through this SE. In other words, I won't need to ask to the admin of ESB do the configuration to me (or do it through the web interface of ESB).
    Please, does anybody know if all the ESBs that support JBI give an interface to another application connects to them to configures services?
    I thank you in advance for any information!
    Regards,
    Luiz

  • Doubts about use of REPORTS_SERVERMAP with Forms11g HA

    Hi,
    I'm configuring a Linux 64bits Forms/Reports 11g HA environment, the point is that i have two nodes, each one with its Forms and Reports servers, let's say FormsA and ReportsA for the first node and FormsB and ReportsB for the seconde node.
    i want FormsA to be able to call reports from ReportsB and FormsB to be able to call reports from ReportsA.
    I've been reading about REPORT_SERVERMAP
    http://docs.oracle.com/cd/E12839_01/bi.1111/b32121/pbr_conf003.htm#autoId5
    But i have some doubts about its use:
    1. I will not use a shared cluster file system or any way of cache solution, i will only have my rdf files on each node, and i'm wondering if just by configuring this parameter i will be able to get the effect mentioned above ??
    2. The link provided says "Using RUN_REPORT_OBJECT. If the call specifies a Reports Server cluster name instead of a Reports Server name, the REPORTS_SERVERMAP environment variable must be set in the Oracle Forms Services default.env file"
    In fact i'm using RUN_REPORT_OBJECT but
    what is the Reports Server cluster name ?? and where do i find that name ??
    3. Is this configuration well defined:
    REPORTS_SERVERMAP=clusterReports:ReportsA;clusterReports:ReportsB
    4. At forms applications when using RUN_REPORT_OBJECT, can i assume that the report server name will be the cluster name specified at the REPORTS_SERVERMAP ??
    5. Which files should i modify rwservlet.properties or default.env ??
    Hope you can help me :)
    Regards
    Carlos

    Hi,
    1. I will not use a shared cluster file system or any way of cache solution, i will only have my rdf files on each node, and i'm wondering if just by configuring this parameter i will be able to get the effect mentioned above ??
    --> In such case what could go wrong is
    Suppose Run_report_object executed jobs successfully to ReportsA
    But web.show_document command for getjobid failed ( as ReportsA went down by this time)
    --> You will not get the output shown ( though job was successful)
    If shared cache was enabled, then Even if ReportsA is down, other cluster member ( say ReportsB)
    will respond back to web.show_document.
    Point 2,
    --> Under HA is it highly recommended to use web.show_document ( a servlet call) to execute reports. This is to help use all HA features at the HTTP , Webcache or load balancer level.
    However if there is migrated code or Run_report_object is must, then the recommendations as you see in the pointed document is must.
    REPORTS_SERVERMAP setting needs to be configured in rwservlet.properties file and also in default.env Forms configuration file to map the Reports Server cluster name to the Reports Server running on the mid-tier where the Load Balancer forwarded the report request.
    For example FormsA, ReportsA, cluster name say rep_cluster
    default.env file
    REPORTS_SERVERMAP=rep_cluster:ReportsA
    Where "rep_cluster" is the Reports Server cluster name and "ReportsA" is the name of the Reports Server running on the same machine as FormsA
    rwservlet.properties file
    <reports_servermap>rep_cluster:ReportsA</reports_servermap>
    At default.env this is not a valid entry
    REPORTS_SERVERMAP=clusterReports:ReportsA;clusterReports:ReportsB
    what is the Reports Server cluster name ?? and where do i find that name ??
    --> This is created via EM on the report server side.
    Would recommend to refer following documents at the myoracle support repository
         How to Setup Reports HA (High Availability - Clusters) in Reports 11g [ID 853436.1]
         REP-52251 and REP-56033 Errors When Calling Reports From Forms With RUN_REPORT_OBJECT Against a Reports Cluster in 11g. [ID 1074804.1]
    Thanks

  • After start of Grid High Availability Service (HAS) can't umount filesystem

    I have weird problem when I start and stop HAS. File system get's into state, where it does not umount. So filesystem where grid software is running can't be umounted on boot. 9Is there something I do wrong, or don't do right.
    I have fresh install of latest 64-bit UEK2 kernel (2.6.39-400.109.1.el6uek.x86) and Oracle 11.2.0.3 Grid Infrastructure for standalone server. I Installed patch p12983005 (112036_Linux-x86-64) to get ACFS support for kernel. When I start HAS and ASM, file system does not umount anymore. Here's steps. Example is from local disk, but I have same problem with LUN from SAN. I thought it might have something to do with SAN and multipath, but SAN is not to blame cos same happens with local disk. Don't know why local disk seem be mapped by multipath in fstab.
    1. Mount fs
    [root@SERVER ~]# mount -t ext4 /dev/mapper/vg_SERVER-lv_app /u01
    2. Start HAS
    [grid@SERVER ~]$ crsctl start has
    CRS-4123: Oracle High Availability Services has been started.
    3. Stop HAS
    [grid@SERVER ~]$ crsctl stop has
    CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'SERVER'
    CRS-2673: Attempting to stop 'ora.cssd' on 'SERVER'
    CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'SERVER'
    CRS-2677: Stop of 'ora.cssd' on 'SERVER' succeeded
    CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'SERVER' succeeded
    CRS-2673: Attempting to stop 'ora.evmd' on 'SERVER'
    CRS-2677: Stop of 'ora.evmd' on 'SERVER' succeeded
    CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'SERVER' has completed
    CRS-4133: Oracle High Availability Services has been stopped.
    4. Try umount
    [root@SERVER ~]# umount /u01
    umount: /u01: device is busy.
            (In some cases useful info about processes that use
             the device is found by lsof(8) or fuser(1))
    [root@SERVER ~]# fuser /u01
    [root@SERVER ~]# lsof |grep /u01
    Neither of fuser or lsof returns nothing.
    This and the fact that ACFS cannon't be mounted on boot, get's me wondering should I use ASM and Oracle Restart at all at this point. Initial reason is that in future this is likely going to be part of RAC.

    I followed the instructions and copied the edid file I obtained while monitor was connected directly to the specified directory.
    Now I get:
    Jan 17 13:14:09 daniel-think kernel: platform VGA-1: Direct firmware load for edid/medion-edid.bin failed with error -2
    Jan 17 13:14:09 daniel-think kernel: [drm:edid_load] *ERROR* Requesting EDID firmware "edid/medion-edid.bin" failed (err=-2)

  • Doubts about BP number in SRM and SUS

    Hello everyone,
    I have some doubts about the BP number, especially for Vendors.
    I am working with the implementation of SRM 5.0 with SUS in an extended classic scenario. We will use one server for SRM and other for SUS. We will use the self registration for vendor (in SUS). My questions are:
    - Can I have the same BP number in SRM and SUS?? Or is it going to be different??
    - When a vendor accesses at the site to make a self registration in SUS, the information is sent to SRM as prospect (by XI) and there the prospect is changed as vendor? After that, is it necessary to send something from SRM to SUS again? (to change the prospect to vendor)
    - When is it necessary to replicate vendors from SRM to SUS??
    Thanks
    Ivá

    Dear Ivan,
    Here is answer to all your questions. Follow these steps for ROS configuration:
    Pls note:
    1. No need to have seperate clients for ROS and SUS. Create two clients for EBP and (SUS+ROS).
    2. No need of XI to transfer new registered vendor from ROS to EBP
    Steps to configure scenario:
    1. Make entries in SPRO --> "Define backend system" on both clients.
        You will ahev specify logical systems of both the clients (ROS as well as EBP)
    2. Create RFCs on both clients to communicate with each other
    3. In ROS client create Service User for supplier registration service with roles:
        SAP_EC_BBP_CREATEUSER
        SAP_EC_BBP_CREATEVENDOR
        Grant u201CS_A.SCONu201D profile to the user.
    4. Maintain service user in u201CLogon Datau201D tab of service : ros_self_reg in ROS client
    5. Create Purchasing and vendor Organizational Structure in EBP client and maintain necessary
        attributes. create vendor org structure in ROS client
    6. Create your ROS registration questionnaires and assign to product categories- in ROS client
    7. To transfer suppliers from registration system to EBP/Bidding system, Supplier pre-screening has to be
        defined as supplier directory in SRM server - EBP client.
        Maintain your prescreen catalog in IMG --> Supplier Relationship Management u2192 SRM Server u2192
        Master Data u2192 Define External Web Services (Catalogs, Vendor Lists etc.) 
    8. Maintain this catalog Id in purchasing org structure under attribure "CAT" - in EBP client
    9. Modify purchaser role in EBP client:
        Open node for u201CROS_PRESCREENu201D and maintain parameter "sap-client" and ROS client number
    10.Maintain organizational data in make settings for business partner
    Supplier Relationship Management -> Supplier Self-Services -> Master Data -> Make Settings for the Business Partners. This information is actually getting getting stored in table BBP_MARKETP_INFO.
    11. Using manage Business partner node with purchasers login (BBPMAININT), newly registsred vendors are pulled from Pre-screen catalog and BP is created in EBP client. If you you have SUS scenario, ensure to maintain "portal vendor" role here.
    I hope this clarifies all your doubts.
    Pls reward points for helpful answers
    Regards,
    Prashant

  • Doubt about Patch

    Hi everyone!
    I have a doubt about applying patch.
    I just applied this patch (using GUI):
    Oracle® Database Patch Set Notes
    *10g Release 2 (10.2.0.4) Patch Set 3 for Microsoft Windows (32-Bit)*
    Initially, there was an error stating that some other process is accessing one particular dll.
    I ignored it.
    I rerun the patch installation thinking that I need to get that dll as well.
    It gave a list of what has been installed and what can be installed.
    So, I selected all the remainders and installed.
    It was successful. Now, would it have ignored that dll or installed it?
    Please advice.
    Thanks in advance.
    Cheers!
    Nith
    Edited by: user645399 on Nov 26, 2010 10:24 AM

    user645399 wrote:
    Hi everyone!
    I have a doubt about applying patch.
    I just applied this patch (using GUI):
    Oracle® Database Patch Set Notes
    *10g Release 2 (10.2.0.4) Patch Set 3 for Microsoft Windows (32-Bit)*
    Initially, there was an error stating that some other process is accessing one particular dll.
    I ignored it.
    I rerun the patch installation thinking that I need to get that dll as well.
    It gave a list of what has been installed and what can be installed.
    So, I selected all the remainders and installed.
    It was successful. Now, would it have ignored that dll or installed it?
    Please advice.
    Thanks in advance.
    Cheers!
    Nith
    Edited by: user645399 on Nov 26, 2010 10:24 AMEvenif you've stopped all the windows services, sometimes some DLLs remains utilized. What I do is, make all the oracle related services manual and then restart the server.
    You can't ignore any dll related errors. If a dll is in use, oracle patching process will not replace that with a newer version of dll. I'll strongly recommend the use of ' Microsoft Process Monitor' utility to monitor, what is running on my server.
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
    Regards,
    S.K.

  • Why my Playbook says No available services for the stereo bluetooth MOTOROKR-S​305

    I've been trying to connect my MOTOROKR-S305, the audio device- stereo bluetooth, into my Playbook
    It seems connected successfully but doesn't work and also Playbook says 'No available services'
    Can anybody tell me why?
    Solved!
    Go to Solution.

    joshua9906 wrote:
    I've been trying to connect my MOTOROKR-S305, the audio device- stereo bluetooth, into my Playbook
    It seems connected successfully but doesn't work and also Playbook says 'No available services'
    Can anybody tell me why?
    Because the service needed for the audio is not yet available in the Playbook, I have a Seinnheiser MM100 headset that work with just about everything including my laptop, and it tells me the same thing with my Playbook
    Using the Playbook and the Z10 and the Z30 and loving them
    Martin

  • Doubt about scope of instance variable

    Hi All,
    i have a doubt about scope of instance variable.
    if i declare a instance variable in servlet , i want to know whether it can be shared(means everywhere ) or not.
    thanks in advance
    Gopal

    The servlet container will create one servlet object, and run multiple threads through its service() / doGet() / doPost() methods.
    That means that any instance variables of the servlet are shared between multiple requests, and can cause problems with threads accessing the same variable..
    To make your servlets thread-safe
    1 - have no instance variables - only use local variables in the doGet/doPost method.
    2 - use the session scope for storing variables you need over multiple calls.
    Cheers,
    evnafets

  • Doubt about ccm.log error= 0x8004100E

    Hello guys,
    I have a doubt about when ccm.log display error = 0X8004100E.
    So, some my desktops scan by SCCM display error= 0x8004100E but client sccm is installed with sucess. My doubt is what reason display this error?
    Maybe can I don't worry about this,but I need know reasons display this messages.
    Thanks a lot.

    This will be displayed if your site server cannot connect to ccm WMI namespace on the worksation. CCM wmi namespace will only be available if the workstation has ConfigMgr client, hence this will eventualy fail for the workstation that are new to
    ConfigMgr.  I guess sccm uses this to check if the client is already present or not.
    Kindly mark as answer/Vote as helpful if a reply from anybody helped you in this forum. Delphin

  • Doubt about diference between SAPconsole and SAPmobile

    Hello,
         I have been many doubts about diference between sapconsole and sapmobile, if anyone could help me I appreciate.
    1) I have ECC6 instaled, the SAP Mobile is compatible with ECC6 or I need of Netweaver Instaled ?
    2) If Possible to Install Sap Mobile in ECC6 , I have to Buy a license of sap mobile ?
    3) in any product instaled Windows CE have possible to install sap mobile ?
    4) In sap console what is the requirement for to do this configuration?
    I Anybody to know about this informations please explain for me ?
    Thanks

    My apology, 
        The Basic Diference beteween SAPConsole and SAPMobile is :
    SAPConsole ==>  
    1 ) Don' t need a new Hardaware for to configurate
    2 ) Only need a Machine with the IIS service installed
    3 ) The SAPGui CD content the SAPCOnsole.exe for configuration
    4 ) The equipment like Pocket and datacolletor has been to configurated in a Network( but if to have a entrance in the SAPGUi indicate a SAProuter in another factory is possible to have acesses.. ) is a mandatory. Cause the SAPCOnsle folow the SAPGUI entrances and need a LAN or a WAN configurated.
    Advantage
    simple to congurated and chip.
    Easy to create to new window cause the SAPConsole only plubish this window in Browser.
    Disadvantage
    Need a lincense for each Poket or Datacolletor, wherever the equipment you will use.
    Doesn't have a Database  using through Browser (IE6 or IE7) this way , during the processes lost network you go to lost the information not saved.
    SAPMobile
    1 ) Need the a good Machine  with a instance of SAP configurate
    2 ) Have to found the EXE in the MarketPlace
    3 ) is not publish, and yes a client with the database configurate in equipment
    4 ) The equipment like Pocket and datacolletor has been to configurated in a Network
    Advantage
    Need only one SAP License, doesn't metter how many equipment  in use you have.
    As the SAPMobile has a Database in the client , if you lost the network it goes to save in the local database and when the network come back , it will to synchronize. This way you don't need to work online every moment, you get to synchronize after.
    Disadvantage
    You profit in license is your lost in the Machine cause the price of Machine is expensive.
    is configurate only in windows Mobile.
    The window only can be create for a Developement and not in the SAP, have been created in windows Mobile.
    A tip, the both is good but you can do a simple mathematics.
    In the SAPConsole how much money you go to spend is the least of the Machine s Price.
    If yes confurate the SAPConsole , if not configurate the SAPMobile

  • Doubt About ASM

    Hi All,
    I have some doubts about ASM.
    I have installked ASM on my linux box and created two databases which are totaly
    using ASM. I created controlfile on local file system only.
    1. Suppose I want to remove my one database. I just shut abort the database and
    remove the controlfile. Now I need to remove all files belong to DB_1 from ASM.
    I am using one single Diskgroup for both Databases. So, can not drop Diskgroup.
    Now, How can I identify files of DB_1 database ?
    2. If I create a normal redundancy diskgroup using two failgroup. It shows me total_mb
    and free_mb space as available. Whenever my database takes 1 extent of 100mb
    it reduces 200mb from free_mb column which is also understandable.
    But I am not able to figureout about col required_mirror_free_mb. What it is saying.
    I have read oracle documentation but still not able to understand.
    Can some please shed some light on this ?
    Regards,
    Js

    If you are using 10.2 then just use asmcmd .
    It is very similar to a regular Unix command prompt interface, when in fact it runs sql commands against ASM instance.
    If you are using 10.1 then you have ti run those sql commands manually.

  • Doubt about  a null value assigned to a String variable

    Hi,
    I have a doubt about a behavior when assigning a null value to a string variable and then seeing the output, the code is the next one:
    public static void main(String[] args) {
            String total = null;
            System.out.println(total);
            total = total+"one";
            System.out.println(total);
    }the doubt comes when i see the output, the output i get is this:
    null
    nulloneA variable with null value means it does not contains a reference to an object in memory, so the question is why the null is printed when i concatenate the total variable which has a null value with the string "one".
    Is the null value converted to string ??
    Please clarify
    Regards and thanks!
    Carlos

    null is a keyword to inform compiler that the reference contain nothingNo. 'null' is not a keyword, it is a literal. Beyond that the compiler doesn't care. It has a runtime value as well.
    total contains null value means it does not have memory,No, it means it refers to nothing, as opposed to referring to an object.
    for representation purpose it contain "null"No. println(String) has special behaviour if the argument is null. This is documented and has already been described above. Your handwaving about 'for representation purpose' is meaningless. The compiler and the JVM don't know the purpose of the code.
    e.g. this keyword shows a hash value instead of memory addressNo it doesn't: it depends entirely on the actual class of the object referred to by 'this', and specifically what its toString() method does.
    similarly "total" maps null as a literal.Completely meaningless. "total" doesn't 'map' anything, it is just a literal. The behaviour you describe is a property of the string concatenation operator, not of string literals.
    I hope you can understand this.Nobody could understand it. It is compete nonsense. The correct answer has already been given. Please read the thread before you contribute.

  • What does this mean: "The program can't start because MSVCR80.dll is missing from your computer.  Try reinstalling the program to fix this problem"?  I tried reinstalling, but I get an error message saying something about permission to launch services.

    What does this mean: "The program can't start because MSVCR80.dll is missing from your computer.  Try reinstalling the program to fix this problem"?  I tried reinstalling, but I get an error message saying something about permission to launch services.

    Solving MSVCR80 issue and Windows iTunes install issues.

  • Doubt about Select statement.

    Hi folks!!
                 I have a few doubts about the select statements, it may be a silly things but its useful for me.
    what is   difference between below statment.
    1)SELECT * FROM TABLE.
    2)SELECT SINGLE * FROM TABLE
    3)SELECT SINGLE FROM TABLE.
    Hope i will get answer,thanks in advance.
    Regards
    Richie..

    Hi,
    try this and if possible use sap help.i mean place the cursor on select and press F1.
                 Types of select statements:
    1.     select * from ztxlfa1 into table it.
                 This is simple select statement to fetch all the data of db table into internal table it.
       2.   select * from ztxlfa1 into table it where lifnr between 'V2' and 'V5'.
            Thisis using where condition between v2 and v5.
      4. select * from ztxlfa1 where land1 = 'DE'. "row goes into default table work Area
      5. select lifnr land1 from ztxlfa1
            into corresponding fields of it   "notice 'table' is omitted
             where land1 = 'DE'.
              append it.
               endselect.
         Now data will go into work area. and then u will add it to internal table by     
            append statement.
      6.   Table 13.2 contains a list of the various forms of select as it is used with internal tables and their relative efficiency. They are in descending order of most-to-least efficient.
    Table 13.2  Various Forms of SELECT when Filling an Internal Table
    Statement(s)                                   Writes To
    select into table it                                    Body
    select into corresponding fields of table it   Body
    select into it                                    Header line
    select into corresponding fields of it           Header line
    7. SELECT VBRK~VBELN
           VBRK~VKORG
           VBRK~FKDAT
           VBRK~NETWR
           VBRK~WAERK
           TVKOT~VTEXT
           T001~BUKRS
           T001~BUTXT
        INTO CORRESPONDING FIELDS OF TABLE IT_FINAL
        FROM VBRK
        INNER JOIN TVKOT ON VBRKVKORG = TVKOTVKORG
        INNER JOIN T001 ON VBRKBUKRS = T001BUKRS
        WHERE VBELN IN DOCNUM AND VBRK~FKSTO = ''
       AND VBRK~FKDAT in date.
    Select statement using inner joins for vbrk and t001 and tvkot table for this case based on the conditions
    8. SELECT T001W~NAME1 INTO  TABLE IT1_T001W
    FROM T001W INNER JOIN EKPO ON T001WWERKS = EKPOWERKS
    WHERE EKPO~EBELN = PURORD.
    here selecting a single field into table it1_t001winner join on ekpo.
    9. SELECT BUKRS LIFNR EBELN FROM EKKO INTO CORRESPONDING FIELDS OF IT_EKKO WHERE     EBELN IN P_O_NO.
    ENDSELECT.
    SELECT BUTXT   FROM T001 INTO  IT_T001 FOR ALL ENTRIES IN IT_EKKO WHERE BUKRS = IT_EKKO-BUKRS.
    ENDSELECT.
    APPEND IT_T001.
    here I am using for all entries statement with select statement. Both joins and for all entries used to fetch the data on condition but for all entries is the best one.
    10. SELECT AVBELN BVTEXT AFKDAT CBUTXT ANETWR AWAERK INTO TABLE ITAB
                 FROM  VBRK AS A
                 INNER JOIN TVKOT AS B ON
                 AVKORG EQ BVKORG
                 INNER JOIN T001 AS C ON
                 ABUKRS EQ CBUKRS
                 WHERE  AVBELN IN BDOCU AND AFKSTO EQ ' ' AND B~SPRAS EQ
                 SY-LANGU
                 AND AFKDAT IN BDATE AND AVBELN EQ ANY ( SELECT VBELN FROM
                VBRP WHERE VBRP~MATNR EQ ITEMS ).
        Here we are using sub query in inner join specified in brackets.
    Thanks,
    chandu.

Maybe you are looking for