Hi All,Pre-requisite of using FOR ALL ENTRIES

Hi All,
         What are the Pre-requisite of using FOR ALL ENTRIES in the select statement .pls its Urgent .
thanks&regards.
Bharat

hi,
For using for all entries in below statement for all entries in itab_mara it will retrieve record corresponding fields of table itab_marc.
In this case if we have duplicate records in mara .For that also it will retrieve the value in itab_marc.
select matnr erdat from table itab_mara where matnr in s_matnr.
if not itab_mara is initial.
select matnr werks from table itab_marc for all entries of table itab_mara
                                                      where werks in s_werks and
                                                                matnr in s_matnr.
Reward with points if helpful.

Similar Messages

  • Pre-requisite packages required for Oracle R11i

    Hi Gurus,
    I am new to DBA.I am working with oracle 11i cloning.In that task is to pre-clone from source system(os:Red Hat-4.0) and do post clone in target system in which I installed new os(os:Red Hat-4.0).
    Here I need your help.What are all the pre-requisite packages required for Oracle R11i before configuring the Target System and how to apply the pre-requisite packages.
    Could you please help me.
    Thanks
    Vinoth

    Hi;
    Here I need your help.What are all the pre-requisite packages required for Oracle R11i before configuring the Target System and how to apply the pre-requisite packages. Imagine you are making new installation on your target server. So you need to check all pre-req which is mention in below notes. You need to have all rmp hosts file edit and some other steps.
    Please see:
    Subject: Recommendations to Install Oracle Applications 11i Doc ID: 294932.1
    Oracle Applications 11.5.10 - Installation Update Notes for Linux x86, Solaris SPARC, MS Windows, HP-UX PA-RISC, HP-Tru64, IBM AIX - B13590-01 [ID 287453.1]
    Oracle Applications Installation Update Notes, Release 11i (11.5.10.2) [ID 316806.1]
    PS: I suggest also see my blog http://heliosguneserol.wordpress.com/2010/05/31/cloning-oracle-applications-release-11-and-12/
    Regard
    Helios

  • Pre-requisite before going for training to customise sap business one.

    what are the pre requisite before going for training to customise sap business one according to our requirements...I am going for training on SAP business one to Germany

    Hi
    In SAP B1 there is only 3 Modules.
    1 Technical Basic Knowldege in Programming in Visual Studio
    2 Accounting
    3 Logistics
    2 & 3 are Functional Consultant. Basic Knowledge in Business Management is Enough.
    SAP B1 is easy to learn and Understand.
    You can Manage. Well
    Regards
    Srini

  • Pre requisites and steps for BI content installation.

    Hi ,
    We need to install Complete BI content in our production system , I am aware of the steps to be exeuted in SPRO but wanted to know the complete procedure step by step .
    1) what are the pre requisites and checks before and after doing activation in SPRO .
    2) If we already have some BI content installed and now we do complete reinstallation, will that create any issue .
    3)Can we do activation directly in Production ?
    Thanks,
    Neetika.

    Hello Neethika, for your second question
    2) If we already have some BI content installed and now we do complete reinstallation, will that create any issue
    If the object which you are going to install is already active and if it is customised, and if you go for reinstallation, new standard object will reinstall the already customised existing oblect. However, if you select the check box MATCH (X) or COPY and do the installation, object will be activated with retainging customisation. so there will be no need to customise it again.
    It is always recommended to go for manual collection of objects rather then automatic collection, because there might be wierd chances that all the objects might not get activated and this will cause a problem while you move the same from DEV to PRODUCTION.
    feel free write if any further clarication need
    Thanks

  • Pre-requisites and steps for uploading chart of accounts in sap r/3

    Hi,
    I am a fresher in SAP FI. I have a completly new set of Chart of Accounts which i need to upload in the system. How do i do it and are there any pre-requisites for the same i.e variants to be defined and assigned completly before uploading the Chart of Accounts.
    I have heard of LSMW , but then how do i use it can anybody help me on the same.
    Thanks
    Poornima

    Hi,
    Yes, you need to define first the chart of account name and it should be assigned to the company code in OBY6.
    Please refer below thread:-
    [Upload Chart Of Accounts - Indian Localisation;
    Regards,
    Gaurav

  • Pre-requisite checker script for EBS R12 and R12.1

    hi
    is it possible to make a pre-requisite checker script (in perl or shell) for EBS R12 and R12.1 in RHEL5 or sun OS??
    can anyone help / guide me to do so??
    rgrds

    I don't know about EBS R12, but apparently the Oracle Universal Installer can use options to just run the prerequisite checks without having to install the product.
    E.g. /runInstaller -prereqChecker or -executeSysPrereqs
    There is also a specific OTN forum available for installing E-Business suite:
    LCM: 11i Install/Upgrade

  • An error occured while downloading pre-requisite files using setupDL.exe within CM2012 R2 ISO Installer

    Downloading offlines files for Configuration manager 2012 R 2 installation,  found this error with Silverlight installation verification.
    INFO: Verifying hash for file 'G:\SCCMDOWNLOAD2\Silverlight.exe'  $$<Configuration Manager Setup><02-28-2014 15:53:26.543-480><thread=45600 (0xB220)>
    ERROR: File hash check failed for G:\SCCMDOWNLOAD2\Silverlight.exe  $$<Configuration Manager Setup><02-28-2014 15:53:26.605-480><thread=45600 (0xB220)>
    INFO: Downloaded file 'G:\SCCMDOWNLOAD2\Silverlight.exe' is not valid  $$<Configuration Manager Setup><02-28-2014 15:53:26.621-480><thread=45600 (0xB220)>
    ERROR: Failed to download required file  $$<Configuration Manager Setup><02-28-2014 15:53:26.621-480><thread=45600 (0xB220)>
    Anybody encountered this issue?  I am using few other machines to download, looks like there is problem with the Silverlight installers file from the internet.
    Thanks in advance
    Newson
    OCS FREAK

    Downloading offlines files for Configuration manager 2012 R 2 installation,  found this error with Silverlight installation verification.
    INFO: Verifying hash for file 'G:\SCCMDOWNLOAD2\Silverlight.exe'  $$<Configuration Manager Setup><02-28-2014 15:53:26.543-480><thread=45600 (0xB220)>
    ERROR: File hash check failed for G:\SCCMDOWNLOAD2\Silverlight.exe  $$<Configuration Manager Setup><02-28-2014 15:53:26.605-480><thread=45600 (0xB220)>
    INFO: Downloaded file 'G:\SCCMDOWNLOAD2\Silverlight.exe' is not valid  $$<Configuration Manager Setup><02-28-2014 15:53:26.621-480><thread=45600 (0xB220)>
    ERROR: Failed to download required file  $$<Configuration Manager Setup><02-28-2014 15:53:26.621-480><thread=45600 (0xB220)>
    Anybody encountered this issue?  I am using few other machines to download, looks like there is problem with the Silverlight installers file from the internet.
    Thanks in advance
    Newson
    OCS FREAK
    Only time I've seen stuff like this is when a proxy "scans" the downloaded .exe-files during download. Could that be the case in your scenario as well?
    Tim Nilimaa | Blog: http://infoworks.tv | Twitter: @timnilimaa

  • Can the SPA112 phone adapter be used for an entry door station?

    I have a client with a large IP phone system and a number of analog door intercom modules that need to be integrated with it. Long story short, they need the analog door stations to be on the IP system so that when the doorbell rings the phones they can see which one was pressed.
    Currently we're using a Channel Vision controller that the incoming analog phone line passes through, the Channel Vision will ring the line into the IP gateway just like any other exterior call. The IP system, on the other hand, needs an extension to be dialed for a "page all" to be sent.
    So my questions are: Can the SPA112 get the analog intercom on the IP system? If so, can the SPA112 be configured to dial the proper extension when there's a "ring" on the analog side?

    Hi David
    Spa112 has 2 FXS port so your system should be able to simply go off hook on the line and with an appropriate dialplan configuration on SPA it could be work.
    Here you can find a configuration sample of SPA 112.
    HTH
    Regards
    Carlo

  • What is the use of for all entries in select statement

    what is the use of for all entries in select statement

    hi,
    FOR ALL ENTRIES is an effective way of doing away with using JOIN on two tables.
    You can check the below code -
    SELECT BUKRS BELNR GJAHR AUGDT
    FROM BSEG
    INTO TABLE I_BSEG
    WHERE BUKRS = ....
    SELECT BUKRS BELNR BLART BLDAT
    FROM BKPF
    INTO TABLE I_BKPF
    FOR ALL ENTRIES IN I_BSEG
    WHERE BUKRS = I_BSEG-BUKRS
    AND BELNR = I_BSEG-BELNR
    AND BLDAT IN SO_BLDAT.
    *******************************8
    look another example
    what is the use of FOR ALL ENTRIES
    1. INNER JOIN
    DBTAB1 <----
    > DBTAB2
    It is used to JOIN two DATABASE tables
    having some COMMON fields.
    2. Whereas
    For All Entries,
    DBTAB1 <----
    > ITAB1
    is not at all related to two DATABASE tables.
    It is related to INTERNAL table.
    3. If we want to fetch data
    from some DBTABLE1
    but we want to fetch
    for only some records
    which are contained in some internal table,
    then we use for alll entries.
    1. simple example of for all entries.
    2. NOTE THAT
    In for all entries,
    it is NOT necessary to use TWO DBTABLES.
    (as against JOIN)
    3. use this program (just copy paste)
    it will fetch data
    from T001
    FOR ONLY TWO COMPANIES (as mentioned in itab)
    4
    REPORT abc.
    DATA : BEGIN OF itab OCCURS 0,
    bukrs LIKE t001-bukrs,
    END OF itab.
    DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
    itab-bukrs = '1000'.
    APPEND itab.
    itab-bukrs = '1100'.
    APPEND itab.
    SELECT * FROM t001
    INTO TABLE t001
    FOR ALL ENTRIES IN itab
    WHERE bukrs = itab-bukrs.
    LOOP AT t001.
    WRITE :/ t001-bukrs.
    ENDLOOP.
    Hope this helps!
    Regards,
    Anver
    <i>if hlped pls mark points</i>

  • Pre requisite for sourse inspection...

    Hi All,
    whats Pre requisite setting required for source inspection.?
    Thanks,
    sid

    hi,
    Pre- Requisite are:
    maiantain 01 / 0101 in Material master , and active preferred and active indicator .
    Goto QI01, maintain Release Untill date, goto inspection tab, enter 01/0101 in source inspection type and lead time like 15 days or go as per ur requirement, u may tick or not it depends on ur requirement on "Source inspecction- NO GR."
    and save ur setting .
    Regards

  • Innerjoin or for all entries

    Hi Friends,
    please suggest me in performance innerjoin is better or for all entries is better to get data from two transparent tables.
    Krishna.

    hi,
    <b>for all entries is the better method.</b>
    FOR ALL ENTRIES is an effective way of doing away with using JOIN on two tables.
    You can check the below code -
    SELECT BUKRS BELNR GJAHR AUGDT
    FROM BSEG
    INTO TABLE I_BSEG
    WHERE BUKRS = ....
    SELECT BUKRS BELNR BLART BLDAT
    FROM BKPF
    INTO TABLE I_BKPF
    FOR ALL ENTRIES IN I_BSEG
    WHERE BUKRS = I_BSEG-BUKRS
    AND BELNR = I_BSEG-BELNR
    AND BLDAT IN SO_BLDAT.
    *******************************8
    look another example
    what is the use of FOR ALL ENTRIES
    1. INNER JOIN
    DBTAB1 <----
    > DBTAB2
    It is used to JOIN two DATABASE tables
    having some COMMON fields.
    2. Whereas
    For All Entries,
    DBTAB1 <----
    > ITAB1
    is not at all related to two DATABASE tables.
    It is related to INTERNAL table.
    3. If we want to fetch data
    from some DBTABLE1
    but we want to fetch
    for only some records
    which are contained in some internal table,
    then we use for alll entries.
    1. simple example of for all entries.
    2. NOTE THAT
    In for all entries,
    it is NOT necessary to use TWO DBTABLES.
    (as against JOIN)
    3. use this program (just copy paste)
    it will fetch data
    from T001
    FOR ONLY TWO COMPANIES (as mentioned in itab)
    4
    REPORT abc.
    DATA : BEGIN OF itab OCCURS 0,
    bukrs LIKE t001-bukrs,
    END OF itab.
    DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
    itab-bukrs = '1000'.
    APPEND itab.
    itab-bukrs = '1100'.
    APPEND itab.
    SELECT * FROM t001
    INTO TABLE t001
    FOR ALL ENTRIES IN itab
    WHERE bukrs = itab-bukrs.
    LOOP AT t001.
    WRITE :/ t001-bukrs.
    ENDLOOP.
    Hope this helps!
    Regards,
    Anver

  • Hi guru's what is the diff between for all entries & joins

    hi guru's what is the diff between for all entries & joins

    Hi Vasu,
    Joins are used to fetch data fast from Database tables:
    Tables are joined with the proper key fields to fetch the data properly.
    If there are no proper key fields between tables don't use Joins;
    Important thing is that don't USE JOINS FOR CLUSTER tableslike BSEG and KONV.
    Only use for Transparenmt tables.
    You can also use joins for the database VIews to fetch the data.
    JOINS
    ... FROM tabref1 [INNER] JOIN tabref2 ON cond
    Effect
    The data is to be selected from transparent database tables and/or views determined by tabref1 and tabref2. tabref1 and tabref2 each have the same form as in variant 1 or are themselves Join expressions. The keyword INNER does not have to be specified. The database tables or views determined by tabref1 and tabref2 must be recognized by the ABAP Dictionary.
    In a relational data structure, it is quite normal for data that belongs together to be split up across several tables to help the process of standardization (see relational databases). To regroup this information into a database query, you can link tables using the join command. This formulates conditions for the columns in the tables involved. The inner join contains all combinations of lines from the database table determined by tabref1 with lines from the table determined by tabref2, whose values together meet the logical condition (join condition) specified using ON>cond.
    Inner join between table 1 and table 2, where column D in both tables in the join condition is set the same:
    Table 1 Table 2
    A
    B
    C
    D
    D
    E
    F
    G
    H
    a1
    b1
    c1
    1
    1
    e1
    f1
    g1
    h1
    a2
    b2
    c2
    1
    3
    e2
    f2
    g2
    h2
    a3
    b3
    c3
    2
    4
    e3
    f3
    g3
    h3
    a4
    b4
    c4
    3
    |--|||--|
    Inner Join
    A
    B
    C
    D
    D
    E
    F
    G
    H
    a1
    b1
    c1
    1
    1
    e1
    f1
    g1
    h1
    a2
    b2
    c2
    1
    1
    e1
    f1
    g1
    h1
    a4
    b4
    c4
    3
    3
    e2
    f2
    g2
    h2
    |--||||||||--|
    Example
    Output a list of all flights from Frankfurt to New York between September 10th and 20th, 2001 that are not sold out:
    DATA: DATE LIKE SFLIGHT-FLDATE,
    CARRID LIKE SFLIGHT-CARRID,
    CONNID LIKE SFLIGHT-CONNID.
    SELECT FCARRID FCONNID F~FLDATE
    INTO (CARRID, CONNID, DATE)
    FROM SFLIGHT AS F INNER JOIN SPFLI AS P
    ON FCARRID = PCARRID AND
    FCONNID = PCONNID
    WHERE P~CITYFROM = 'FRANKFURT'
    AND P~CITYTO = 'NEW YORK'
    AND F~FLDATE BETWEEN '20010910' AND '20010920'
    AND FSEATSOCC < FSEATSMAX.
    WRITE: / DATE, CARRID, CONNID.
    ENDSELECT.
    If there are columns with the same name in both tables, you must distinguish between them by prefixing the field descriptor with the table name or a table alias.
    Note
    In order to determine the result of a SELECT command where the FROM clause contains a join, the database system first creates a temporary table containing the lines that meet the ON condition. The WHERE condition is then applied to the temporary table. It does not matter in an inner join whether the condition is in the ON or WHEREclause. The following example returns the same solution as the previous one.
    Example
    Output of a list of all flights from Frankfurt to New York between September 10th and 20th, 2001 that are not sold out:
    DATA: DATE LIKE SFLIGHT-FLDATE,
    CARRID LIKE SFLIGHT-CARRID,
    CONNID LIKE SFLIGHT-CONNID.
    SELECT FCARRID FCONNID F~FLDATE
    INTO (CARRID, CONNID, DATE)
    FROM SFLIGHT AS F INNER JOIN SPFLI AS P
    ON FCARRID = PCARRID
    WHERE FCONNID = PCONNID
    AND P~CITYFROM = 'FRANKFURT'
    AND P~CITYTO = 'NEW YORK'
    AND F~FLDATE BETWEEN '20010910' AND '20010920'
    AND FSEATSOCC < FSEATSMAX.
    WRITE: / DATE, CARRID, CONNID.
    ENDSELECT.
    Note
    Since not all of the database systems supported by SAP use the standard syntax for ON conditions, the syntax has been restricted. It only allows those joins that produce the same results on all of the supported database systems:
    Only a table or view may appear to the right of the JOIN operator, not another join expression.
    Only AND is possible in the ON condition as a logical operator.
    Each comparison in the ON condition must contain a field from the right-hand table.
    If an outer join occurs in the FROM clause, all the ON conditions must contain at least one "real" JOIN condition (a condition that contains a field from tabref1 amd a field from tabref2.
    Note
    In some cases, '*' may be specified in the SELECT clause, and an internal table or work area is entered into the INTO clause (instead of a list of fields). If so, the fields are written to the target area from left to right in the order in which the tables appear in the FROM clause, according to the structure of each table work area. There can then be gaps between table work areas if you use an Alignment Request. For this reason, you should define the target work area with reference to the types of the database tables, not simply by counting the total number of fields. For an example, see below:
    Variant 3
    ... FROM tabref1 LEFT [OUTER] JOIN tabref2 ON cond
    Effect
    Selects the data from the transparent database tables and/or views specified in tabref1 and tabref2. tabref1 und tabref2 both have either the same form as in variant 1 or are themselves join expressions. The keyword OUTER can be omitted. The database tables or views specified in tabref1 and tabref2 must be recognized by the ABAP-Dictionary.
    In order to determine the result of a SELECT command where the FROM clause contains a left outer join, the database system creates a temporary table containing the lines that meet the ON condition. The remaining fields from the left-hand table (tabref1) are then added to this table, and their corresponding fields from the right-hand table are filled with ZERO values. The system then applies the WHERE condition to the table.
    Left outer join between table 1 and table 2 where column D in both tables set the join condition:
    Table 1 Table 2
    A
    B
    C
    D
    D
    E
    F
    G
    H
    a1
    b1
    c1
    1
    1
    e1
    f1
    g1
    h1
    a2
    b2
    c2
    1
    3
    e2
    f2
    g2
    h2
    a3
    b3
    c3
    2
    4
    e3
    f3
    g3
    h3
    a4
    b4
    c4
    3
    |--|||--|
    Left Outer Join
    A
    B
    C
    D
    D
    E
    F
    G
    H
    a1
    b1
    c1
    1
    1
    e1
    f1
    g1
    h1
    a2
    b2
    c2
    1
    1
    e1
    f1
    g1
    h1
    a3
    b3
    c3
    2
    NULL
    NULL
    NULL
    NULL
    NULL
    a4
    b4
    c4
    3
    3
    e2
    f2
    g2
    h2
    |--||||||||--|
    Example
    Output a list of all custimers with their bookings for October 15th, 2001:
    DATA: CUSTOMER TYPE SCUSTOM,
    BOOKING TYPE SBOOK.
    SELECT SCUSTOMNAME SCUSTOMPOSTCODE SCUSTOM~CITY
    SBOOKFLDATE SBOOKCARRID SBOOKCONNID SBOOKBOOKID
    INTO (CUSTOMER-NAME, CUSTOMER-POSTCODE, CUSTOMER-CITY,
    BOOKING-FLDATE, BOOKING-CARRID, BOOKING-CONNID,
    BOOKING-BOOKID)
    FROM SCUSTOM LEFT OUTER JOIN SBOOK
    ON SCUSTOMID = SBOOKCUSTOMID AND
    SBOOK~FLDATE = '20011015'
    ORDER BY SCUSTOMNAME SBOOKFLDATE.
    WRITE: / CUSTOMER-NAME, CUSTOMER-POSTCODE, CUSTOMER-CITY,
    BOOKING-FLDATE, BOOKING-CARRID, BOOKING-CONNID,
    BOOKING-BOOKID.
    ENDSELECT.
    If there are columns with the same name in both tables, you must distinguish between them by prefixing the field descriptor with the table name or using an alias.
    Note
    For the resulting set of a SELECT command with a left outer join in the FROM clause, it is generally of crucial importance whether a logical condition is in the ON or WHERE condition. Since not all of the database systems supported by SAP themselves support the standard syntax and semantics of the left outer join, the syntax has been restricted to those cases that return the same solution in all database systems:
    Only a table or view may come after the JOIN operator, not another join statement.
    The only logical operator allowed in the ON condition is AND.
    Each comparison in the ON condition must contain a field from the right-hand table.
    Comparisons in the WHERE condition must not contain a field from the right-hand table.
    The ON condition must contain at least one "real" JOIN condition (a condition in which a field from tabref1 as well as from tabref2 occurs).
    Note
    In some cases, '*' may be specivied as the field list in the SELECT clause, and an internal table or work area is entered in the INTO clause (instead of a list of fields). If so, the fields are written to the target area from left to right in the order in which the tables appear in the llen in der FROM clause, according to the structure of each table work area. There can be gaps between the table work areas if you use an Alignment Request. For this reason, you should define the target work area with reference to the types of the database tables, as in the following example (not simply by counting the total number of fields).
    Example
    Example of a JOIN with more than two tables: Select all flights from Frankfurt to New York between September 10th and 20th, 2001 where there are available places, and display the name of the airline.
    DATA: BEGIN OF WA,
    FLIGHT TYPE SFLIGHT,
    PFLI TYPE SPFLI,
    CARR TYPE SCARR,
    END OF WA.
    SELECT * INTO WA
    FROM ( SFLIGHT AS F INNER JOIN SPFLI AS P
    ON FCARRID = PCARRID AND
    FCONNID = PCONNID )
    INNER JOIN SCARR AS C
    ON FCARRID = CCARRID
    WHERE P~CITYFROM = 'FRANKFURT'
    AND P~CITYTO = 'NEW YORK'
    AND F~FLDATE BETWEEN '20010910' AND '20010920'
    AND FSEATSOCC < FSEATSMAX.
    WRITE: / WA-CARR-CARRNAME, WA-FLIGHT-FLDATE, WA-FLIGHT-CARRID,
    WA-FLIGHT-CONNID.
    ENDSELECT.
    And for all entries,
    this will help u.
    use of FOR ALL ENTRIES:
    1. INNER JOIN
    DBTAB1 <----
    > DBTAB2
    It is used to JOIN two DATABASE tables
    having some COMMON fields.
    2. Whereas
    For All Entries,
    DBTAB1 <----
    > ITAB1
    is not at all related to two DATABASE tables.
    It is related to INTERNAL table.
    3. If we want to fetch data
    from some DBTABLE1
    but we want to fetch
    for only some records
    which are contained in some internal table,
    then we use for alll entries.
    1. simple example of for all entries.
    2. NOTE THAT
    In for all entries,
    it is NOT necessary to use TWO DBTABLES.
    (as against JOIN)
    3. use this program (just copy paste)
    it will fetch data
    from T001
    FOR ONLY TWO COMPANIES (as mentioned in itab)
    4
    REPORT abc.
    DATA : BEGIN OF itab OCCURS 0,
    bukrs LIKE t001-bukrs,
    END OF itab.
    DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
    itab-bukrs = '1000'.
    APPEND itab.
    itab-bukrs = '1100'.
    APPEND itab.
    SELECT * FROM t001
    INTO TABLE t001
    FOR ALL ENTRIES IN itab
    WHERE bukrs = itab-bukrs.
    LOOP AT t001.
    WRITE :/ t001-bukrs.
    ENDLOOP.
    cheers,
    Hema.

  • Innerjoin & for all entries

    what is innerjoin & for all entries?
    which one is used in which position,explain plzzzzzzzzzzzzzzzzz.
    explain advantages & disadvantages?

    hi,
    follow these links for knowing the difference between For all entries and joins.
    http://www.erpgenie.com/abap/performance.htm#For%20all%20entries
    http://blogs.ittoolbox.com/sap/db2/archives/for-all-entries-vs-db2-join-8912
    1. INNER JOIN
    DBTAB1 <----
    > DBTAB2
    It is used to JOIN two DATABASE tables
    having some COMMON fields.
    To Impove the perfomance of program you can use for all entries instead of your inner join...This is always preferable..But before make a check and make sure that your internal table is not empty.
    2. Whereas
    For All Entries,
    DBTAB1 <----
    > ITAB1
    is not at all related to two DATABASE tables.
    It is related to INTERNAL table.
    3. If we want to fetch data
    from some DBTABLE1
    but we want to fetch
    for only some records
    which are contained in some internal table,
    then we use for alll entries.
    1. simple example of for all entries.
    2. NOTE THAT
    In for all entries,
    it is NOT necessary to use TWO DBTABLES.
    (as against JOIN)
    3. use this program (just copy paste)
    it will fetch data
    from T001
    FOR ONLY TWO COMPANIES (as mentioned in itab)
    FOR ALL ENTRIES is an effective way of doing away with using JOIN on two tables.
    You can check the below code -
    SELECT BUKRS BELNR GJAHR AUGDT
    FROM BSEG
    INTO TABLE I_BSEG
    WHERE BUKRS = ....
    SELECT BUKRS BELNR BLART BLDAT
    FROM BKPF
    INTO TABLE I_BKPF
    FOR ALL ENTRIES IN I_BSEG
    WHERE BUKRS = I_BSEG-BUKRS
    AND BELNR = I_BSEG-BELNR
    AND BLDAT IN SO_BLDAT
    Advantages:
    1) For all entries avoids inner join & so the performance increases.
    2) For specified values in 1 itab, if you to fetch values from other table you can use it.
    3) Use of select stmt in loop is gets avoided, as u can use read statement on the the new itab.
    http://www.thespot4sap.com/articles/SAPABAPPerformanceTuning_ForAllEntries.asp

  • Pre requisite errors

    Dear All,
    The pre requisite checker run for SAP ECC6 installation on Solaris 10/Oracle using zones gives following errors:
    1) Environment variable CPIC_MAX_CONV should be set and the value should be at least 200
    I've done this on windows. Used "set env CPIC_MAX_CONV=200" on Solaris. SAPInst does not recognize this.
    2) It is recommended to add the entry 'set rlim_fd_cur=8192' to /etc/system. Current value: not available. See also SAP Note 395438. Note that this is checked only for an entry in /etc/system. The value found might not be the effective one. (Updated 2005-06-24)
    I've already made entry in /etc/system but again it is not recognized.
    Any suggestions please.
    regards, Sean

    The correct command should be : setenv CPIC_MAX_CONV=200
    In csh this should be: setenv CPIC_MAX_CONV 200
    ..without '='
    In bash a simple: export VAR=<value>
    ..will do.
    Permanent variables for SAP environments are usually stored in .sapenv* files in home of <SID>adm
    Nelis
    Edit: By the way that note 395438 refers to parameter settings for Solaris 9 and below. You will want to look at [Note 724713 - parameter settings for Solaris 10|https://service.sap.com/sap/support/notes/724713] rather. Note the "Please do not use any old /etc/system settings from SAP note 395438 with Solaris 10".
    Edited by: Nelis Lamprecht on Jun 26, 2008 3:46 PM

  • How many transaction key used for Service PO

    Hi,
    Please let me know, how many transaction key used for Service PO...
    In OBYC, we have maintained GBB & WRX Transaction key's for Service PO, Is there any other Transaction key skip???
    Please guide...

    Hi,
    GBB is used for Offsetting entry for inventory posting but for Service procurement WRX Transaction key is used for GR/IR clearing-service.
    NOTE: You may use WRX with new account modifier ZZZ  to triggers GR/IR clearing-service only for service procurement where you need to post all separate GR/IR clearing- material , GR/IR clearing-asset and GR/IR clearing-service and can done with user exit.
    #But in special case GBB can be used with VBR key or copy of VBR as ZBR for default G/L account foe service PO.
    For more check the link:
    http://www.bluemarlinsys.com/ns/0603-03.asp
    Regards,
    Biju K

Maybe you are looking for

  • How to create a static library in Xcode 4.2

    I need to make a static library from a project that consists of only two files, a c module and a header file.  I haven't used Xcode before, but had no problem figuring out how to create a new project and setting up what seemed like reasonable the bui

  • Cannot execute setupview command in a view

    Hi, I created a view pointing to EMAIGC_11.1.1.7.0AS_GENERIC_120114 Then grabbed a transaction in the view and compiled the code, using make clean build. Later when I try to run 'setupview -config noagent' it fails saying command not found. I created

  • Handling BDC with inbound IDOC processing

    Hi All, In the function module for inbound processing, I have a BDC to be executed. But when the IDOC is received from the WEBSPHERE(Middleware) the BDC fails. There is an exception, "CNTL_ERROR"  raised by the class "CL_GUI_CUSTOM_CONTAINER=======CP

  • Information on Weblogic support for TANDEM

    Dear all, I would like to know whether Weblogic supports Tandem with Guardian OS. I need to integrate applications in TANDEM, IBM OS/390 and Windows OS. Please let me know if this possible. Regards, Virinchi K V N

  • PLD - printing copies

    Hi. when printing an A/R Invoice document for the second time, there is a text/image/watermark saying "COPY". This is to distinguish it from original I guess. Anyhow, is there any way to edit the content of this text/image/watermark in the PLD? Best