What is parallel cursor technique.

what is parallel cursor technique. Please give an example
thanx in advance

Suppose u got data in two internal table itab1 and itab2 from header and from item table
u have to take cobine the values into one table
so normally what we do is that we write loop .(item table -itab2 ) inside antother loop (header table-itab1) . but it will affect the performance
So go for Parallel cursor method
Regards,
Nikhil

Similar Messages

  • Parallel Cursor Technique

    Hello,
             Can some one give me a description in detail as to what exactly Parallel cursor method is and how it works.
              Also, what are the Performance Tuning Techniques that we can follow during ABAP Development?
    Thanks and Regards,
    Venkat

    actually, I would not recommend the parallel cursor technique! First name is actually incorrect internal tables have no cursor only indexes, only parallel
    index would make sense.
    Performance improvement:
    If costs for sort are taken into account, then parallel index is not faster than loop with loop on sorted table.
    or with standard table
    loop
        read ...  binary search
        index = sy-tabix   
        loop ... from index
           if  ( condition is not fulfilled )
              exit
           endif.
        endloop
    endloop
    The full parallel index technique should find all deviations between 2 tables, additional lines in Tab1, additional lines in tab2, changes.
    Feel free to find a complete solution. We can compare results, it is not worth the effort!
    Siegfried

  • What is parallel cursor

    what is parallel cursor

    Hi,
    Here is the sample program which use the parallel cursor,
    *              Performance Tuning using parallel cursor
    * Extracts from program ZFAL2002
    * START-OF-SELECTION
      SELECT *
      INTO TABLE I_KEPH FROM KEPH
      WHERE KADKY <= SY-DATUM
        AND TVERS = '01'
        AND KALKA IN ('01','Z1','Z2')
        AND BWVAR IN ('Z01','Z02','Z03','Z04','Z07')
        AND KKZST = ' '
        AND KKZMA = ' '
        AND KKZMM = ' '
        AND KEART = 'H'
        AND PATNR = 0.
    * Table must be sorted to ensure all required records are together
      SORT I_KEPH BY KALNR KALKA BWVAR KADKY.
    * Perform actual processing
      Perform get_cost_values.
    FORM GET_COST_VALUES.
    * Determine start position and then process all records for given key
    * from that starting point
    * i_keph is sorted on kalnr kalka bwvar kadky.
      READ TABLE I_KEPH WITH KEY KALNR = W_KEKO-KALNR
                                 KALKA = W_KEKO-KALKA
                                 BWVAR = W_KEKO-BWVAR
                                 KADKY = W_KEKO-KADKY BINARY SEARCH.
      IF SY-SUBRC = 0.
    * Loop at itab from first record found (sy-tabix) until record
    * no-longer matches your criteria.
        LOOP AT I_KEPH FROM SY-TABIX.
          IF  I_KEPH-KALNR = W_KEKO-KALNR AND I_KEPH-KALKA = W_KEKO-KALKA
          AND I_KEPH-BWVAR = W_KEKO-BWVAR AND I_KEPH-KADKY = W_KEKO-KADKY.
    *       Key match
            D_MAT_COST = D_MAT_COST + I_KEPH-KST001.
            D_LAB_COST = D_LAB_COST + I_KEPH-KST004.
            D_OVER_HEAD = D_OVER_HEAD + I_KEPH-KST010.
            D_EXT_PURCH = D_EXT_PURCH + I_KEPH-KST014.
            D_MISC_COST = D_MISC_COST + I_KEPH-KST002 + I_KEPH-KST003
                        + I_KEPH-KST005 + I_KEPH-KST006 + I_KEPH-KST007
                        + I_KEPH-KST008 + I_KEPH-KST009 + I_KEPH-KST011
                        + I_KEPH-KST012 + I_KEPH-KST013 + I_KEPH-KST015
                        + I_KEPH-KST016 + I_KEPH-KST017 + I_KEPH-KST018
                        + I_KEPH-KST019 + I_KEPH-KST020 + I_KEPH-KST021
                        + I_KEPH-KST022 + I_KEPH-KST023 + I_KEPH-KST024
                        + I_KEPH-KST025 + I_KEPH-KST026 + I_KEPH-KST027
                        + I_KEPH-KST028 + I_KEPH-KST029 + I_KEPH-KST030
                        + I_KEPH-KST031 + I_KEPH-KST032 + I_KEPH-KST033
                        + I_KEPH-KST034 + I_KEPH-KST035 + I_KEPH-KST036
                        + I_KEPH-KST037 + I_KEPH-KST038 + I_KEPH-KST039
                        + I_KEPH-KST040.
          ELSE.
    *       Key greater - can't be less
            EXIT.                                               " Exit loop
          ENDIF.
        ENDLOOP.
      ENDIF.
      D_MAT_COST  = D_MAT_COST  / W_KEKO-LOSGR.
      D_LAB_COST  = D_LAB_COST  / W_KEKO-LOSGR.
      D_OVER_HEAD = D_OVER_HEAD / W_KEKO-LOSGR.
      D_EXT_PURCH = D_EXT_PURCH / W_KEKO-LOSGR.
      D_MISC_COST = D_MISC_COST / W_KEKO-LOSGR.
    ENDFORM.                               " GET_COST_VALUES

  • What is meant by parallel cursor

    hi
    what is meant by parallel cursor

    Hi,
      Parallel cursor is the technique to increase the perforamance of the program. For example if we use nested select in our program instead of For all entries addition, then definetly performance going down. In the same way the if we use nested loops in the program it will also leads to down the performance.
      I will give you one example like take billing document header details in one table and item details in other table let say the header table have 1000 records and the item table have 1 lakh records. If you want to make an output then you need to put nested loops first loop at header table then next loop at item table. For each entry of header record the item table loops 1 lakh times. calculate the total. so instead of we develop parallel cursor technique,, see the belwo code..
    Loop at header.
    read table item with key number = header-number.
    if sy-subrc = 0.
    loop at item from sy-tabix.
    if item-number <> header-number.
    exit.
    else.
    do some process here.
    endif.
    endloop.
    endif.
    endloop.
    First the item table is read using the read table statement for getting the exact index number where the document number reside. if found then loop through the item table from that index upto item- number <> header-number.
    Rgds,
    Bujji
    Edited by: Bujji on Jun 26, 2008 12:48 PM

  • What is the best technique for resetting a view?

    I was wondering what is the best technique for resetting the initial state of a view?
    I am creating a form and want to provide a reset button for the user.  I could write an initialize() method that my action handler calls, but I am wondering if the framework already provides this functionality in a more elegant way.
    If I write an initialize method, then I have to manually populate my fields with my context mappings in my initialize() code to mimic what happens automatically by the framework the first time the view is called.  This seems prone to error since this is duplicating the mapping logic.
    Michael

    Hi,
    Even though it boils down to the same logic, for consistency sake it is good to have the initialization logic coded in the inbound plug method and then to call the outbound plug on reset.This make more sense when you have multiple navigation possible to the same view through multiple inbound plugs.
    Else, have an initialization method.
    PS: check whether the reset() method of IWDContext make sense. This is helpful when you have remove dynamically added nodes and attributes.
    Thanks and Regards,
    Sam Mathew

  • What is the best technique to resize a clip and overlay it on a difficult shape, like a broken piece or mirror?

    What is the best technique to resize a clip and overlay it on a difficult shape, like a broken piece or mirror?

    Best would be cutting a matte in Photoshop, or as Mr. Grenadier suggests, using Motion or After Effects - but here is a way to do it staying within FCP - see if this helps:
    http://vimeo.com/34973575
    MtD

  • What are the Optimization Techniques?

    What are the Optimization Techniques? Can any one send the one sample program which is having Good Optimization Techniques.
    Phani

    Hi phani kumarDurusoju  ,
    ABAP/4 programs can take a very long time to execute, and can make other processes have to wait before executing. Here are
    some tips to speed up your programs and reduce the load your programs put on the system:
    Use the GET RUN TIME command to help evaluate performance. It's hard to know whether that optimization technique REALLY helps
    unless you test it out. Using this tool can help you know what is effective, under what kinds of conditions. The GET RUN TIME
    has problems under multiple CPUs, so you should use it to test small pieces of your program, rather than the whole program.
    Generally, try to reduce I/O first, then memory, then CPU activity. I/O operations that read/write to hard disk are always the
    most expensive operations. Memory, if not controlled, may have to be written to swap space on the hard disk, which therefore
    increases your I/O read/writes to disk. CPU activity can be reduced by careful program design, and by using commands such as
    SUM (SQL) and COLLECT (ABAP/4).
    Avoid 'SELECT *', especially in tables that have a lot of fields. Use SELECT A B C INTO instead, so that fields are only read
    if they are used. This can make a very big difference.
    Field-groups can be useful for multi-level sorting and displaying. However, they write their data to the system's paging
    space, rather than to memory (internal tables use memory). For this reason, field-groups are only appropriate for processing
    large lists (e.g. over 50,000 records). If you have large lists, you should work with the systems administrator to decide the
    maximum amount of RAM your program should use, and from that, calculate how much space your lists will use. Then you can
    decide whether to write the data to memory or swap space. See the Fieldgroups ABAP example.
    Use as many table keys as possible in the WHERE part of your select statements.
    Whenever possible, design the program to access a relatively constant number of records (for instance, if you only access the
    transactions for one month, then there probably will be a reasonable range, like 1200-1800, for the number of transactions
    inputted within that month). Then use a SELECT A B C INTO TABLE ITAB statement.
    Get a good idea of how many records you will be accessing. Log into your productive system, and use SE80 -> Dictionary Objects
    (press Edit), enter the table name you want to see, and press Display. Go To Utilities -> Table Contents to query the table
    contents and see the number of records. This is extremely useful in optimizing a program's memory allocation.
    Try to make the user interface such that the program gradually unfolds more information to the user, rather than giving a huge
    list of information all at once to the user.
    Declare your internal tables using OCCURS NUM_RECS, where NUM_RECS is the number of records you expect to be accessing. If the
    number of records exceeds NUM_RECS, the data will be kept in swap space (not memory).
    Use SELECT A B C INTO TABLE ITAB whenever possible. This will read all of the records into the itab in one operation, rather
    than repeated operations that result from a SELECT A B C INTO ITAB... ENDSELECT statement. Make sure that ITAB is declared
    with OCCURS NUM_RECS, where NUM_RECS is the number of records you expect to access.
    If the number of records you are reading is constantly growing, you may be able to break it into chunks of relatively constant
    size. For instance, if you have to read all records from 1991 to present, you can break it into quarters, and read all records
    one quarter at a time. This will reduce I/O operations. Test extensively with GET RUN TIME when using this method.
    Know how to use the 'collect' command. It can be very efficient.
    Use the SELECT SINGLE command whenever possible.
    Many tables contain totals fields (such as monthly expense totals). Use these avoid wasting resources by calculating a total
    that has already been calculated and stored.
    These r good websites which wil help u :
    Performance tuning
    http://www.sapbrainsonline.com/ARTICLES/TECHNICAL/optimization/optimization.html
    http://www.geocities.com/SiliconValley/Grid/4858/sap/ABAPCode/Optimize.htm
    http://www.abapmaster.com/cgi-bin/SAP-ABAP-performance-tuning.cgi
    http://abapcode.blogspot.com/2007/05/abap-performance-factor.html
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • Parallel cursor

    hi experts,
    can i use more than one parallel cursor , when i looping thru different internal tables,
    i used once it in my current prog as i need multiple Grn no(ekbe-belnr) , with respect to single po(ekpo-ebeln).
    but in my current prog. i also need multiple (konv-kposn) vaue with respect to sigle po no,
    to display multiple tax calculation!
    plz help , i badly needed this answer in no time

    Hi,
    Have a look at the code below. The select the entries from KONV based on the requirement. Better not to use the select *, instead select the required fields from the tables.
    TABLES : ekko, ekpo, ekbe, konv.
    DATA: it_ekpo TYPE TABLE OF ekpo WITH HEADER LINE,
          it_ekbe TYPE TABLE OF ekbe WITH HEADER LINE,
          it_konv TYPE TABLE OF konv WITH HEADER LINE.
    DATA: l_index1 TYPE sytabix,
          l_index2 TYPE sytabix.
    SELECT-OPTIONS s_ebeln FOR ekko-ebeln.
    SELECT-OPTIONS s_knumv FOR konv-knumv.
    SELECT * FROM ekpo INTO TABLE it_ekpo WHERE ebeln IN s_ebeln.
    IF NOT it_ekpo[] IS INITIAL.
      SELECT * FROM ekbe INTO TABLE it_ekbe
        FOR ALL ENTRIES IN it_ekpo
        WHERE ebeln = it_ekpo-ebeln
          AND ebelp = it_ekpo-ebelp.
    ENDIF.
    SELECT * FROM konv INTO TABLE it_konv
                  WHERE knumv = s_knumv.
    SORT it_ekpo BY ebeln ebelp.
    SORT it_ekbe BY ebeln ebelp.
    SORT it_konv BY knumv.
    LOOP AT it_ekpo.
      LOOP AT it_ekbe FROM l_index1.
        if ( it_ekbe-ebeln ne it_ekpo-ebeln )
              and ( it_ekbe-ebelp ne it_ekpo-ebelp ).
          exit.
        else. 
        l_index1 = sy-tabix.
    *do the necessary calculations
        endif.
        LOOP AT it_konv FROM l_index2.
    write the necessary if condition so that it would exit from the loop
      if (.......)
    else.
    fill the required fields and do the necessary calculations
          l_index2 = sy-tabix.
        ENDLOOP.
      ENDLOOP.
    ENDLOOP.
    The loop of the konv table has to be placed as required based on whether it has to be in the loop of EKBE or out of EKBE.

  • Hi experts in ale what is change pointers technique , how we will use ,

    hi experts in ale what is change pointers technique , how we will use ,   & when plz explain

    Hi,
    Refer the  Below links
    [http://articles.techrepublic.com.com/5100-10878_11-1048973.html|http://articles.techrepublic.com.com/5100-10878_11-1048973.html]
    [http://abapprogramming.blogspot.com/2008/01/ale-change-pointers.html|http://abapprogramming.blogspot.com/2008/01/ale-change-pointers.html]
    Regards,
    SB

  • What is Curreny Factoring Technique? When is it used?

    Hi Experts,
    What is Curreny Factoring Technique? When is it used?
    Thanks
    ~Sid
    "Max points Are Assured"

    Hi Experts,
    What is Curreny Factoring Technique? When is it used?
    Thanks
    ~Sid
    "Max points Are Assured"

  • What is Curreny Factoring Technique?

    Hi Experts,
    What is Curreny Factoring Technique? When is it used?
    Thanks
    ~Sid
    "Max Points Are Assured"

    Hi,
             Currencies in Planning
    In Profit Center Accounting, three currencies can be stored at once:
    Transaction Currency
    The transaction currency is the currency used for a specific transaction. You can choose a different currency from the list of valid currencies for each new transaction. The transaction currency is stored in the transaction data for Profit Center Accounting as the so-called "first currency".
    Local Currency (Company Code Currency)
    The controlling area currency is stored in Profit Center Accounting as the second currency.
    Profit Center Local Currency
    You need to set a special currency for Profit Center Accounting in Customizing for each controlling area. This currency is used in the standard reports, among other things. You can find more information about this currency in Customizing. The profit center currency is the third currency updated in the transaction data.
    How Do I Plan Currencies in Profit Center Accounting?
    You first plan a profit center in USD. Then you later plan the same profit center in DEM in a second planning session. This may be necessary if:
    the planned costs for the profit center in a certain cost element consist of external invoices in the local currency and external invoices from abroad and
    the external invoice from abroad was billed and paid abroad
    The currencies which can be planned manually are defined in the Layout.
    If the corresponding key figures are defined and ready for input in the planning layout, you can plan in any permissible transaction currency, the company code currency or the profit center currency. The planned amount is then immediately and automatically translated into the other currencies. Note, however, that the system can only translate into a transaction currency if you have explicitly specified a transaction currency.
    If you want to want to plan data using different transaction currencies, you need to use a planning layout that contains the characteristic "Transaction currency".
    Note that data can only be saved in the transaction currency if a transaction currency has been specified. Otherwise the data will only be saved in the other currencies without the transaction currency.
    If you want to want to summarize data in the transaction currency, you need to use a planning layout that does not contain the characteristic "Transaction currency". You can then:
    change the summarized values, in which case the changes are not updated in the transaction currency, and
    add any combinations of objects that have not already been planned.
    If you
    enter one transaction currency, the system only displays the amounts planned in that currency. You can
    change these amounts
    plan in the currency specified
    enter a number sign (#) to represent the value " " (no value), the system only displays those values that were planned without the transaction currency. You can
    change these amounts
    plan amounts without a transaction currency
    specify more than one currency or all currencies (*), the system displays all the planned values. You can
    change these amounts
    can plan as yet unplanned combinations of your planning objects in any valid currency.
    Planned currency amounts are translated using
    the value date you entered in the planner profile for your area
    a translation factor entered in the currency table for the exchange rate type entered in the planner profile
    You will find further information about the currency table and currency translation in the documentation FI Configuration and Organization.
    Transfer Pricing Using the Conditions Technique
    The term "transfer pricing" is used to describe the calculation of prices for internal exchanges of goods between profit centers. Conditions are the individual steps carried out during price calculation. When a goods movement takes place between two plants, the price can depend on a number of factors, such as the material involved, the sender plant, the profit center, the partner profit center, and so on. The information on these variable factors is stored as master data in the form of condition records. There the transfer price can be defined as a fixed price or a percentage increase or reduction.
    This section describes the steps necessary to define transfer prices. You define these transfer prices in Customizing. There you will also find a detailed description of how to proceed.
    Define condition tables, which you use to store condition records for each condition type.
    Here you define the price dependencies for transfer prices. You can make the transfer price found dependent upon a combination of fields. For example, if you want your transfer prices to be defined for a combination of material and partner profit center, you need to define a condition table that contains these key fields. The condition records then contain the individual prices for each combination of material and profit center. You maintain the condition records when you define the individual condition types.
    Define access sequences that the system should use to search for valid condition records.
    An access sequence is a search strategy that the system uses to find valid data for certain condition tables. Each access sequence consists of one or more steps, which the system processes in the order specified. The order determines where the system should look first for a valid condition record. You can specify an access sequence for any condition type for which you create condition records.
    Define condition types for all the pricing elements (fixed amounts, markups and markdowns) that occur in your daily business operations.
    In Profit Center Accounting, a condition type represents a component of a transfer price. You can define condition types for every type of fixed price, markup or markdown that occurs in your internal goods movements. If you define a percentage markup or markdown as a condition type, you also need to define another condition type to serve as the basis for this percentage. This can be a price stored in the material ledger. The relationship between these two condition types is then defined in the pricing procedure.
    In some condition types you need to specify an access sequence. In this way you determine which fields the system should use to search for a valid condition record.
    Define condition records that determine the amount or percentage to be applied for each set of values in the condition table (such as "fixed price of USD 100.00 for material 01, profit center ABC, and plant 0001").
    You can maintain condition records directly from within the definition of the condition type. Or you can define them from the application menu by choosing Master data ® Transfer prices ® Conditions. It is also possible to copy existing condition records to create new ones. This is especially useful if you want to change the currency of the condition record. You can maintain condition records either in Customizing or in the application menu, under Master data ® Transfer prices.
    Define a pricing procedure to group together condition types and determine how they relate to one another.
    In addition to the selection and order of condition types, a pricing procedure determines
    – which subtotals should be calculated
    – what base value the system should use for calculating percentage markups or markdowns
    – what conditions must be met in order for a certain condition type to be calculated
    The base value for markups and markdowns can be either a fixed price or a value from the material ledger. Using a routine supplied in the standard R/3 System, you can have the system read the legal, group, or profit center price from the material ledger and calculate the markup or markdown on this basis.
    Define condition exclusions, which let you determine which condition type should be used in a given situation.
    In transfer pricing for goods movements, it often happens that a number of different condition records are valid. Using condition exclusions, you can compare conditions with one another and use, for example, the most favorable price for the partner profit center.
    For different condition exclusion methods are available:
    · The most favorable condition in an exclusion group
    · The most favorable condition record for a condition type
    · The most favorable condition among different exclusion groups
    · Exclusion of those conditions in an exclusion group when a condition type that belongs to another exclusion group appears
    Define transfer price variants, which let you specify which pricing procedures are relevant for actual data and which for plan data.
    To valuate different datasets, such as plan and actual data, using different conditions, you can define variants with an assignment to a specific pricing procedure. The system processes the specified procedures in order until it finds a valid transfer price.
    In transfer pricing for goods movements, only actual data is valuated (variant 000). However, you can also create additional variants if you want to calculate plan prices on the basis of pricing data.
    Define pricing reports, which determine the structure of lists of conditions.
    A pricing report lets you analyze condition records according to certain criteria and define the structure of these lists. You can define pricing reports either in Customizing for Profit Center Accounting or in the application menu, under Master data ® Transfer prices ® Pricing reports.
    Regards

  • What is a condition technique?

    Hai Guys,
       Do help me out in getting informations about the
       following.
    What is a condition technique?
    detailed answers or links for this pls...
      Thanku
      Regards
      Jino

    Hi,
    A hierarchy of components that define data combinations designed to trigger an action.
    The constellations defined by SAP and the customers are searched for according to a specific hierarchy.
    The condition technique is used, for example, in pricing, account determination and messaging.
    most of the saps functionalites use condition technique to get the value or determiantion of particular functionalities like price of a good , free goods, etc they all use condition technique.
    it is nothing but mainataining of
    1) condition records of a condition type
    2)creating of condition types like PR00,K004,k005 etc
    3)creating and assignning an access sequnce to a condition type
    4)placing the condition types in a procedure
    5)determination or assigning a procedure
    all the above 5 steps constitutes as a condition technique
    Please check this link also.
    Regards,
    Rakesh
    http://www.sapscene.com/sapscene/condition.htm

  • Using parallel cursor

    Hi Experts,
    In my program using nested loop. I want avoid that using parallel cursor. But In two nested loops, using
    I done, but where has three nested loops how ? plz tell me or send code?
    Ex: my Requirment is like this
    Loop at i_tab1 into wa_tab1.
      loop at  s_tab into wa_tab2.
    end loop.
          loop at k_tab into wa_tab3
    end loop.
    end loop.
    plz send code using parallel cursor, if u get more points.
    thanx
    srinu

    HI,
    Check this Code .....
    REPORT  zparallel_cursor.
    TABLES:
      likp,
      lips.
    DATA:
      t_likp  TYPE TABLE OF likp,
      t_lips  TYPE TABLE OF lips.
    DATA:
      w_runtime1 TYPE i,
      w_runtime2 TYPE i,
      w_index LIKE sy-index.
    START-OF-SELECTION.
      SELECT *
        FROM likp
        INTO TABLE t_likp.
      SELECT *
        FROM lips
        INTO TABLE t_lips.
      GET RUN TIME FIELD w_runtime1.
      SORT t_likp BY vbeln.
      SORT t_lips BY vbeln.
      LOOP AT t_likp INTO likp.
        LOOP AT t_lips INTO lips FROM w_index.
          IF likp-vbeln NE lips-vbeln.
            w_index = sy-tabix.
            EXIT.
          ENDIF.
        ENDLOOP.
      ENDLOOP.
      GET RUN TIME FIELD w_runtime2.
      w_runtime2 = w_runtime2 - w_runtime1.
      WRITE w_runtime2.
    Either you can use the above code ..or ucan replace the inside loops with read statement of lopp with where clause depending on requirement
    Edited by: avinash kodarapu on Nov 30, 2008 4:04 PM

  • Parallel Cursor method

    Dear Experts,
    I am using parallel cursor method for a nested loop by using this method the report got very fast
    but the data from the loop where I used Parallel cursor method is not coimng after 7000 records.
    Say when I am running the report from 1st jan to 30 jan  total records are 48,000 but data from parallel cursor method 's loop is cumin till 7th of jan (7000 records) after that all values are coming zero.
    When I am running it from 7th of jan to 30 th Jan data from that loop is cumin till 15th of jan(7000 records) after that values are cumin zero.
    Below I am writing the code I used for parallel cursor method loop
    paralele cursor method
    data : v_index type sy-tabix.
    read TABLE i_konv  into wa_konv   with key  knumv  = wa_vbrk-knumv
                                                kposn = wa_vbrp-posnr  binary search.
         if sy-subrc = 0.
          v_index = sy-tabix.
       loop at  i_konv into wa_konv FROM v_index.  "FROM v_index.
         if wa_konv-knumv = wa_vbrk-knumv.
           if wa_konv-kposn <> wa_vbrp-posnr.
             exit.
             endif.
           else.
             exit.
         endif.
    Thanks and Regards,
    Vikas Patel

    Hi Vikas,
    First check there are records available completely in you Internal table...
    and Here is a very simple example for parallel cusor..
    REPORT  zparallel_cursor.
    TABLES:
      likp,
      lips.
    DATA:
      t_likp  TYPE TABLE OF likp,
      t_lips  TYPE TABLE OF lips.
    DATA:
      w_runtime1 TYPE i,
      w_runtime2 TYPE i,
      w_index LIKE sy-index.
    START-OF-SELECTION.
      SELECT *
        FROM likp
        INTO TABLE t_likp.
      SELECT *
        FROM lips
        INTO TABLE t_lips.
      GET RUN TIME FIELD w_runtime1.
      SORT t_likp BY vbeln.
      SORT t_lips BY vbeln.
      LOOP AT t_likp INTO likp.
        LOOP AT t_lips INTO lips FROM w_index.
          IF likp-vbeln NE lips-vbeln.
            w_index = sy-tabix.
            EXIT.
          ENDIF.
        ENDLOOP.
      ENDLOOP.
    compare the difference.
    Thanks & regards,
    Dileep .C

  • What is Parallel NAT under Network?

    In the network preference, I found a Parallel NAT was on with green light. I just wonder what is that mean? but, i've clicked the icon "-" which the Parallel NAT was deleted immediately. What is Parallel NAT?

    Its is a virtual LAN connection which Parallels uses for shared networking.
    If you've just dragged the parallels folder to the trash its not fully uninstalled.
    Leaves loads of preference files, Kext (hidden files) and folders everywhere!
    If you have thrown away the original disc image, recommend you revisit Parallels site re-download and run the uninstaller program on the image now.
    You might then want to try again.

Maybe you are looking for