PRA Indexes

I need documentation on SAP’s recommendation for PRA table index set up – what tables and what the index should look like.  If that does not exist from SAP, does anyone have suggestions?

Hi Paulo,
There will not be any switch that you can see, it is based on the scope of the configuration you determine which interval number range you need to configure for Revenue, for example, if the scope of the project is to include production module and have the number range for revenue defined to integrate, then choose revenue accounting integration turned on and vice versa.

Similar Messages

  • Tables in PRA

    Hi,
    I want to know the tables pertaining to PRA in SAP oil and gas, preferrably the name spaces / convensions.
    Could somebody throw some light on this.
    Regards,
    Srila.

    Table Name                                    Short text
    1.     O2APPL                              O2: BSP Applications
    2.     O2APPLT                             O2: BSP Application Texts
    3.     O2BROWSERS                          Supported Browser Types
    4.     O2HTMLATTR                          Attributes of HTML Tags
    5.     O2HTMLTAG                           HTML Tags
    6.     O2LANGTYPE                          HTML Language Dialects
    7.     O2NAVGRAPH                         Navigation Modeler
    8.     O2NAVMAP                            Illustration of Navigation Nodes on Pages
    9.     O2PAGCON                            INDX File for Oxygen Pages
    10.     O2PAGDIR                            Oxygen: Page Directory
    11.     O2PAGDIRI                           Oxygen: Page Directory (Inactive)
    12.     O2PAGDIRT                           Short Text for Oxygen Pages
    13.     O2PAGEVH                            OXYGEN: Event Handler
    14.     O2PAGINC                            Where-Used Table for Page Includes
    15.     O2PAGPAR                            Oxygen: Parameter (for Page/Prolog)
    16.     O2PAGPART                           Oxygen: Parameter (for Page/Prolog)
    17.     O2PAGRT                             Oxygen: INDX File for Static HTML Pool (Ru
    18.     O2PAGTLIB                           Use Tables for Tag Libraries in BSP Pages
    19.     O2TAG                               BSP Elements
    20.     O2TAGATT                            BSP Element Attributes
    21.     O2TAGLIB                            BSP Extensions
    22.     O2TAGOPTS                           Tag Library: User Settings
    23.     O2TAGREG                            Registry for Language Type Subtrees
    24.     O2THEMECUS                          O2: Customizing Theme <-> BSP Application
    25.     O2THEMEREL                          O2: Table for Relationship Between LOIOs a
    26.     O2THEMES                            O2: Themes for BSP Applications
    27.     O2THEMEST                      O2: Text for Themes
    28.     O2XMLDESC                      XML Description
    29.     O2XSLTDESC                     Storage for XSLT Programs
    30.     O2XSLTOTR                      OTR Texts for XSLT Programs
    31.     O2XSLTTEXT                     Short Descriptions for XSLT Programs
    32.     OA0817BAR                      Customizing Table for BUS0817
    33.     OA0817IMP                      Customizing Inplace Display
    34.     OABUS0817                      Table for ArchiveLink Test Object Types
    35.     OABUS817A                      Attribute Table of BUS0817
    36.     OAPRE                          SAP ArchiveLink: Presettings for early, la
    37.     OAPRI                          SAP ArchiveLink: Temporary table for print
    38.     OBEW                           Valuated Stock with Subcontractor
    39.     OBEWH                          Valuated Stock with Subcontractor: History
    40.     OBGD                           Assignment of Object Group to Event (Forec
    41.     OBGV                           Forecast Object Groups
    42.     OBJ_DIFF                       Show Differences in Overlapping Objects in
    43.     OBJ_VAR_NAME                   Table for OBJ_VAR_NAMES
    44.     OBJH                           Object: Header
    45.     OBJK                           Plant Maintenance Object List
    46.     OBJLAN                         Object: Special Rule for Original Language
    47.     OBJM                           Object Method
    48.     OBJS                           Object: Object List
    49.     OBJSL                          Object: Object List - Logical Object
    50.     OBJSUB                         Subobjects
    51.     OBJSUBREP                      For transact. 0REP: Program to be started
    52.     OBJSUBRESN                     Reserved System Suffixes for Sub-Object Na
    53.     OBJSUBT                        Object: Short Description of Sub-Object
    54.     OBJT                           Description of Type T Objects (Separate Tr
    55.     OCMHOMO_ARCH     Backup Table of Homogeneity List in Case o
    56.     OCSCMPLOBJ              Complete Information for Objects (with TAD
    57.     OCSPATNTCI                    Buffer for Support Package Attributes for
    58.     OCSSORTT
    59.     OFNUM_IT_1                     Official Numbering by Document Class-enabl
    60.     OFNUM_TW_2                     Official Numbering by Business Places-enab
    61.     OFX_BP_MSGS_FIEB               Customizing of OFX Message Sets for Busine
    62.     OFX_LA_MSGS_FIEB               Message Sets per Business Process
    63.     OFX_VERSION_FIEB               Attributes for a DTD Version of OFX
    64.     OI001                          Company Code Parameters
    65.     OIA01                          Exchange header table
    66.     OIA02                          Exchange item data - sales side
    67.     OIA03                          Exchange item data - purchasing side
    68.     OIA05                          Quantity schedule scheduling table - sales
    69.     OIA05H                         Quantity schedule header table - sales sid
    70.     OIA06                          Quantity schedule scheduling table - purch
    71.     OIA06H                         Quantity schedule header table - purchasin
    72.     OIA07                          Logical Inventory Valuation Segment Table
    73.     OIA08                          LIA Document: Item Data
    74.     OIA08H                         LIA Document: Header Data
    75.     OIA10                          Exchange - Netting document item
    76.     OIA10E                         Index table to find netting docs. by excha
    77.     OIA10H                         Exchange - Netting document header
    78.     OIA10L                         Exchange - Blocked FI-documents by netting
    79.     OIA11                          Exchange assignment for deliveries
    80.     OIA12                          Exchange assignment for bulk shipments
    81.     OIA12I                         Movement Based Netting document item
    82.     OIA12ICOND                     Conditions of OIA12I items
    83.     OIAF7                          Formula Condition Txn Data-Header (enhance
    84.     OIAF8                          Formula Condition Data - Terms (enhance CI
    85.     OIAF9                          Formula Condition Data-Term Items (enhance
    86.     OIAFE                          Fee history table
    87.     OIAMP                          Price reference plant assignment table
    88.     OIANF                          Fee Condition Records
    89.     OIAQA                          Exchange Statement Print Requests
    90.     OIAQB                          Exchange Movements Index
    91.     OIB_ANALYS_CNTRL               Silo Management
    92.     OIB_AROM_HEADER                header data table: Industrial aromatic hyd
    93.     OIB_AROM_HEADERT               Text table for OIB_AROM_HEADER
    94.     OIB_AROM_VCF                   Customizing table for Aromatics Volume Cor
    95.     OIB_CONV_RDGRP                 Table for classification Conversiongrp - R
    96.     OIB_DEF                        Set default table/transaction switch
    97.     OIB_DEF_INDEX_GM               Default index for Goods Movement
    98.     OIB_DEFAULTS                   Table for Oil Defaults
    99.     OIB_DIP_WL_INDEX               Worklist for Silo Management Tank Dips
    100.     OIB_DIP_WL_USER                User Assignment to Silo Man.tank dip workl
    101.     OIB_DIP_WORKLIST               Worklist for Silo Management Tank Dips
    102.     OIB_MIGO_HHEAD                 Store the GOHEAD for MIGOs hold/restore fe
    103.     OIB_MIGO_HQCI                  Store the QCI-GOITEM for MIGOs hold/restor
    104.     OIB_MIGO_HQCI_E                Store the QCI-GOITEM-Bapiret for MIGOs hol
    105.     OIB_MIGO_HQCI_P                Store the QCI-GOITEM-Parameter for MIGOs h
    106.     OIB_MIGO_HQCI_Q                Store the QCI-GOITEM-Quantity for MIGOs ho
    107.     OIB_MIGO_HTST                  Store the TST-GOITEM for MIGOs hold/restor
    108.     OIB_PPP_DATA                   Physical properties data table
    109.     OIB_PPP_HEADER                 Header data: physical properties of hydroc
    110.     OIB_PPP_HEADERT                Header table: phys. properties of hydrocar
    111.     OIB_QTCD_RESID                 Table for residence time Check
    112.     OIB_RDGGROUPT                  Description of reading group parameter
    113.     OIB_RDGRDEF                    Definition of Reading Groups
    114.     OIB_RDGRDEFT                   Description of Reading Group Definition
    115.     OIB_READINGGROUP               Reading group : Define parameters for a co
    116.     OIB_T156_FIELDS                Material-stock field relation with stock t
    117.     OIB_TANKDIP                    Silo management tank strapping history
    118.     OIB_USERPARAM                  HPM user parameter/defaults/favorites
    119.     OIB01                          Definition of Conversion Groups
    120.     OIB01T                         Conversion Group Text
    121.     OIB02                          Conversion Mode (Old Transactions)
    122.     OIB03                          Default value qty.conversion (OBSOLETE,do
    123.     OIB04                          Function module definition (API/AGA/Custom
    124.     OIB05                          Oil unit of measure groups
    125.     OIB06                          HPM Unit of Measurement Group: Definition
    126.     OIB06T                          Unit of Measure group description
    127.     OIB07                          Parameter of the Quantity Conversion Inter
    128.     OIB07_HELP                     Parameter of the Quantity Conversion Inter
    129.     OIB07T                         Parameter of the Quantity Conversion Inter
    130.     OIB08                          Log for HIM Quantities out of sync with SK
    131.     OIB09                          Log for missing MSEGO1 and MSEGO2 document
    132.     OIC_ANALLVL                    Pattern analysis level
    133.     OIC_ANALLVL_FLDS               Fields Used in Pattern Analysis Levels
    134.     OIC_ANALLVL_T                  Description of Level in Pattern Analysis
    135.     OIC_CPE_FO_LINK                Relationship Between F&A Formula and CPE F
    136.     OIC_FO_ITM_MIGR                Formula Structure Pattern - Term Item Patt
    137.     OIC_FO_MIGR_REQ                Formula Patterns per Run
    138.     OIC_FO_PER_MIGR                Formula Structure Pattern - Header and Per
    139.     OIC_FORM_ATTRIB                Attributes of Business Context for F&A For
    140.     OIC_KONV                       Conditions (Procedure Data)
    141.     OIC_LSMW_PROJ                  Used LSMW Project for Data exchange
    142.     OIC_OIANF                      Fee Condition Records
    143.     OICDC                          Differential Reference Code
    144.     OICDT                          Differential Reference Code - Texts
    145.     OICF1_MIGR                     Results from Pattern Analysis for Structur
    146.     OICF1_MIGR_REQ                 Header Patterns per Run
    147.     OICF2_MIGR                     Results from Pattern Analysis for Structur
    148.     OICF2_MIGR_REQ                 Period Patterns per Run
    149.     OICF3_MIGR                     Results from Pattern Analysis for Structur
    150.     OICF3_MIGR_REQ                 Item Patterns per Run
    151.     OICGN                          Gross/Net Rule Defaulting
    152.     OICINT_CAL                     Interest calculation
    153.     OICINT_MASTER                  Interest master data
    154.     OICINT_SPL                     Special interest table
    155.     OICMI                          Metropolitan Indicator
    156.     OICMT                          Metropolitan Indicator u2013 Texts
    157.     OICNU                          Gross/Net volume UoM relationships
    158.     OICPL                          Customer price list
    159.     OICQ1                          Formula Repository - Formula Header
    160.     OICQ2                          Formula Repository - Formula Term
    161.     OICQ3                          Formula Repository - Formula Term Item
    162.     OICQ4                          Formula Condition Data - Formula Header
    163.     OICQ5                          Formula Condition Data - Formula Terms
    164.     OICQ6                          Formula Condition Data - Formula Term Ite
    165.     OICQ7                          Formula Condition Txn Data-Header (enhanc
    166.     OICQ8                          Formula Condition Data - Terms (enhance C
    167.     OICQ9                          Formula Condition Data-Term Items (enhanc
    168.     OICQC                          Quotation Check Table
    169.     OICQCNTL                       Control Table for F&A Repository
    170.     OICQCT                         Quotation description table
    171.     OICQOIL                        F&A Oil Table for Repository Default
    172.     OICQP                          Quotation Price Information Table
    173.     OICQS                          Quotation Source
    174.     OICQST                         Quotation Source Description
    175.     OICQT                          Quotation Type
    176.     OICQTT                         Quotation Type Description
    177.     OICRD                          Second level pricing report output defini
    178.     OICRDT                         Report column description
    179.     OICSDPCDVER                    Change document version management
    180.     OICSL                          State License Fee Zone
    181.     OICST                          State License Fee Zone - Texts
    182.     OICWA                          Wide Area Pricing Zone
    183.     OICWT                          Wide Area Pricing Zone - Texts
    184.     OID_TRIP                       Pipeline Trip Numbers
    185.     OID_WEAG                       Last Order Ship-to/Sold-to
    186.     OID9I                          Remapping Default Item Categories
    187.     OIDAP                          Automatic Plant Determination
    188.     OIFAAMCSA                      Subscreen assignments (IS-Oil MRN APPEND m
    189.     OIFBBP1                        Business partner role assignments (IS-Oil
    190.     OIFBPBLT                       Location type - permissible partner roles
    191.     OIFBRD1                        Link dialogs supported for BP - technical
    192.     OIFBRD1T                       Link dialog descriptive text (IS-Oil MRN)
    193.     OIFBRD2                        SPA/GPA parameters supported for partner l
    194.     OIFBRF1                        Business partner roles (IS-Oil MRN)
    195.     OIFBRF1T                       Business partner roles - texts (IS-Oil MRN
    196.     OIFBRF2                        Bus. par. roles - permissible tech. catego
    197.     OIFBRT1                        Business partner roles - technical categor
    198.     OIFBRT1T                       Business partner roles - tech. category te
    199.     OIFCHRS2                       Retail Network Contract service hours type
    200.     OIFCHRS2S                      Retail Network Contract service hours type

  • Which to use - Sy-index or sy-tabix ??

    This is what i found out about SY-INDEX and SY-TABIX but which one to use when i want to delete a line of data from an internal table ? I tried both sy-index and sy-tabix and both works fine and returning the expected output for me but which one is better of to use ?
    SY-TABIX :- For Internal Table, Current Line Index
    SY-INDEX :- For Loops, Current Loop Pass
    The below code is where i uses the Delete ..
    LOOP AT dmg.
            CONCATENATE
                   dmg-dmg00
                   dmg-dmg01
                   dmg-dmg02
                   dmg-dmg03
                   dmg-dmg04
                   dmg-dmg07
                   dmg-dmg08
                   dmg-dmg09 INTO tli_down1 SEPARATED BY '*'.
            APPEND tli_down1. CLEAR tli_down1.
            DELETE dmg INDEX sy-index.
            EXIT.
          ENDLOOP.

    Right. Just like what they said upstairs, sy-babix is the best choice.
    One more thing is, if you want to concatenate fields of table dmg and append to tli_down1 on by one. You should not use EXIT after delete dmg.
    In that case ,only one line can be appended into tli_down1 table.
    > The below code is where i uses the Delete ..
    >
    > LOOP AT dmg.
    >         CONCATENATE
    >        dmg-dmg00
    >         dmg-dmg01
    >        dmg-dmg02
    >         dmg-dmg03
    >        dmg-dmg04
    >         dmg-dmg07
    >        dmg-dmg08
    >         dmg-dmg09 INTO tli_down1 SEPARATED BY '*'.
    >   APPEND tli_down1. CLEAR tli_down1.
    >       DELETE dmg INDEX sy-index.
    >   EXIT.
    >     ENDLOOP.

  • Index's on cubes or Aggregates on infoobjects

    Hello,
    Please tell me if it is possible to put index's on cubes; are they automatically added or is this something I put on them?
    I do not understand index's are they like aggregates?
    Need to find info that explains this.
    Thanks for the hlep.
    Newbie

    Indexes are quite different from aggregates.
    An Aggregate is a slice of a cube which helps the data retrival on a faster note when a query is executed on a cube. Basically it is kind of a snapshot of KPI's and Business Indicators (Chars) which will be displayed as the initial query run result.
    Index is a process which is inturn will reduce the query response time. While an object gets activated, the system automatically create primary indexes. Optionaly, you can create additional index called secondary indexes.Before loading data, it is advisable to delete the indexes and insert them back after the loading.
    Indexes act like pointers for quickly geting the Data.When u delete it will delete indexes and when u create it will create the indexes.
    When loading we delete Bcs during loading it has to look for existing Indexes and try to update so it will effect the Data load performence so we delete and create it will take less time when compared to updating the existing ones.
    There is one more issue we have to take care if u r having more than 50 million records this is not a good practice insteah we can delete and create during week end when they r no users.

  • LIKE, LIKEC and Index usage

    I've table that contains about 20 million rows, and I've created index for varchar2(100) column. It works well if I do
    SELECT * FROM MY_TABLE WHERE MY_COL LIKE 'FOO%';
    But if I change query to use LIKEC (to make unicode escaped strings work):
    SELECT * FROM MY_TABLE WHERE MY_COL LIKEC 'FOO%';
    I always get full table scan in explain plan.
    I tried to use NVARCHAR, or index created by TO_NCHAR but I always end up hitting full table scan.
    Should I create index some special way or do something else before I get index working?

    Just a gut feeling : is the database using character semantics or byte semantics?
    My gut feeling, after looking up the documentation, is it should be character semantics.
    BTW: Not posting version info decreases the chance you get an adequate reply.
    Sybrand Bakker
    Senior Oracle DBA

  • Index with "or" clause (BUG still exists?)

    The change log for 2.3.10 mentions "Fixed a bug that caused incorrect query plans to be generated for predicates that used the "or" operator in conjunction with indexes [#15328]."
    But looks like the Bug still exists.
    I am listing the steps to-repro. Let me know if i have missed something (or if the bug needs to be fixed)
    DATA
    dbxml> openContainer test.dbxml
    dbxml> getDocuments
    2 documents found
    dbxml> print
    <node><value>a</value></node>
    <node><value>b</value></node>
    INDEX (just one string equality index on node "value")
    dbxml> listIndexes
    Index: unique-node-metadata-equality-string for node {http://www.sleepycat.com/2002/dbxml}:name
    Index: node-element-equality-string for node {}:value
    2 indexes found.
    QUERY
    setVerbose 2 2
    preload test.dbxml
    query 'let $temp := fn:compare("test", "test") = 0
    let $results := for $i in collection("test.dbxml")
    where ($temp or $i/node[value = ("a")])
    return $i
    return <out>{$temp}{$results}</out>'
    When $temp is true i expected the result set to contain both the records, but that was not the case with the index. It works well when there is no index!
    Result WITH INDEX
    dbxml> print
    <out>true<node><value>a</value></node></out>
    Result WITHOUT INDEX
    dbxml> print
    <out>true<node><value>a</value></node><node><value>b</value></node></out>

    Hi Vijay,
    This is a completely different bug, relating to predicate expressions that do not examine nodes. Please try the following patch, to see if it fixes this bug for you:
    --- dbxml-2.3.10-original/dbxml/src/dbxml/optimizer/QueryPlanGenerator.cpp     2007-04-18 10:05:24.000000000 +0100
    +++ dbxml-2.3.10/dbxml/src/dbxml/optimizer/QueryPlanGenerator.cpp     2007-08-08 11:32:10.000000000 +0100
    @@ -1566,11 +1572,12 @@
         else if(name == Or::name) {
              UnionQP *unionOp = new (&memMgr_) UnionQP(&memMgr_);
    +          result.operation = unionOp;
              for(VectorOfASTNodes::iterator i = args.begin(); i != args.end(); ++i) {
                   PathResult ret = generate(*i, ids);
                   unionOp->addArg(ret.operation);
    +               if(ret.operation == 0) result.operation = 0;
    -          result.operation = unionOp;
         // These operators use the presence of the node arguments, not their valueJohn

  • INDEX vs TABIX

    Hi,
    Can some body explain the CLEAR difference between Sy-index and Sy-tabix. And one or two small examples. I am little bit confused.
    Thanx.

    Hi,
    SY-INDEX
    In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.
    SY-TABIX
    Current line of an internal table. SY-TABIX is set by the statements below, but only for index tables. The field is either not set or is set to 0 for hashed tables.
    APPEND sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table.
    COLLECT sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set to 0.
    LOOP AT sets SY-TABIX to the index of the current line at the beginning of each loop lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the loop. It is set to 0 if the table has the type HASHED TABLE.
    READ TABLE sets SY-TABIX to the index of the table line read. If you use a binary search, and the system does not find a line, SY-TABIX contains the total number of lines, or one more than the total number of lines. SY-INDEX is undefined if a linear search fails to return an entry.
    SEARCH <itab> FOR sets SY-TABIX to the index of the table line in which the search string is found.
    regards,
    madhu

  • What is" LINE-COL2 = SY-INDEX ** 2."

    can u explain what is '' ** "
    FIELD-SYMBOLS <FS> LIKE LINE OF ITAB.
    DO 4 TIMES.
      LINE-COL1 = SY-INDEX.
      LINE-COL2 = SY-INDEX ** 2.  "what this will do
      APPEND LINE TO ITAB.
    ENDDO.

    Hi sunil,
    1 **   means "To the power of"
    2. eg. 5 ** 2  =  25
       (5 To the power of 2 = 25)
    regards,
    amit m.

  • Regarding sy-index

    Hi all,
    I am trying to get loop count by using sy-index.
    But I am not able get exact expected out put.
    I am gettig all zeros instead of loop number.
    I am sending my code here.
    DATA: lv_diff(10) TYPE c,
            lv_erdat1 LIKE sy-datum,
            lv_erdat2 LIKE sy-datum,
            i(15) TYPE c VALUE '1'.
      SORT t_ordno BY aufnr.
      LOOP AT t_ordno  INTO st_ordno.
        READ TABLE t_ordno INTO st_ordno INDEX i.
        lv_erdat1 =  st_ordno-erdat.
        i = i + 1.
        READ TABLE t_ordno INTO st_ordno INDEX i.
        lv_erdat2 = st_ordno-erdat.
        i = i + 1.
        CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
             EXPORTING
                  i_datum_bis = lv_erdat2
                  i_datum_von = lv_erdat1
             IMPORTING
                  e_tage      = lv_diff.
        WRITE:/ lv_diff,
              50 <u><b>sy-index.</b></u>
        CLEAR: lv_erdat1,lv_erdat2,lv_diff.

    use this code
    DATA: lv_diff(10) TYPE c      ,
          lv_erdat1 LIKE sy-datum ,
          lv_erdat2 LIKE sy-datum ,
          i(15) TYPE c VALUE '1'  ,
          l_tabix type syst-tabix .
    SORT t_ordno BY aufnr.
    LOOP AT t_ordno INTO st_ordno.
      l_tabix = sy-tabix .
      READ TABLE t_ordno INTO st_ordno INDEX i.
      lv_erdat1 = st_ordno-erdat.
      i = i + 1.
      READ TABLE t_ordno INTO st_ordno INDEX i.
      lv_erdat2 = st_ordno-erdat.
      i = i + 1.
      CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
           EXPORTING
                i_datum_bis = lv_erdat2
                i_datum_von = lv_erdat1
           IMPORTING
                e_tage      = lv_diff.
      WRITE:/ lv_diff,
           50 l_tabix.
      CLEAR: lv_erdat1,lv_erdat2,lv_diff.

  • ANY SY-INDEX REFLECT CHANGES WHEN CONTROL BREAK STATEMENT PROCESS

    Dear Guru's,
                     I have a requirement where i have to move the values to variable when control break (AT END OF) process. So i want to move the values according to the end of Vendor so for that  i want to know is there any sy-index available which reflects changes when Control break (AT end of) process.
    LIKE Sy-subrc = 0 when select statement fetches record or sy-tabix is like counter for loop.
    Hope to get reply soon.
    Regards,
    Himanshu Rangappa

    Hi,
    There is no system Fields for it.
    But your requirement can be done with 'AT NEW' and 'AT END' statement.
    Refer this sample example,
    loop at otab.
        at new module.
          move otab-module to otab2-module.
        ENDAT.
          at END OF effort.
          sum.               "Do your calculations here
          move otab-count to otab2-count.
          append otab2.
        endat.
      endloop.

  • What is the diffrence betweensy-tabix and sy-index

    hi
    can any one suggest me
    what is the diffrence betweensy-tabix and sy-index
    Thanks & Regards
    kalyan.

    Hi Kalyan,
    This question has been answered many times on SCN. Please make a search before posting a thread.
    Read the Rules of Engagement.
    Happy Posting.
    Regards,
    Chandra Sekhar

  • ABAP-- diff between sy-sy-tabix and sy-index

    Hi Guru's,
    Pleae can anybody expalins me what is the difference between sy-tabix and sy-index(Loop Index) ?
    Because in one case i am Modifyimg the internal table inside the do loop by giving sy-index ((Index of Internal Tables)(MODIFY scarr_tab INDEX sy-index FROM scarr_wa TRANSPORTING currcode. )  in the syntax and in other case inside loop statement i am modifyng same record by giving sy-tabix MODIFY scarr_tab INDEX  sy-tabix FROM scarr_wa TRANSPORTING currcode.) in the syntax.
    in both cases its working fine but i am not getting which one i have to use  where to modify the internal table?
    regards
    SATYA

    Hi Henry,
    SY-INDEX is the value of the current iteration. It is applicable for the following programming constructs in ABAP -
    DO...ENDDO.
    WHILE...ENDWHILE.
    SY-TABIX (TABle IndeX) is applicable to internal tables. If you scroll down in the link which Eddie has given, you will find a more detailed explanation for sy-tabix and which statements affect its value.
    Regards,
    Anand Mandalika.

  • What is difference between sy-tabix and sy-index.

    SAP Seniors,
    Can you please let me know what is difference between sy-index and sy-tabix.
    I read the SAP help, it is confusing for me. it looks like both are same from help. please help me.
    Thank you
    Anitha.

    HI,
        Here is a brief description of difference between SY_TABIX and SY_INDEX and using them with several conditions.
    SY-TABIX
    Current line of an internal table. SY-TABIX is set by the statements below, but only for index tables. The field is either not set or is set to 0 for hashed tables.
    APPEND sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table.
    COLLECT sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set to 0.
    LOOP AT sets SY-TABIX to the index of the current line at the beginning of each loop lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the loop. It is set to 0 if the table has the type HASHED TABLE.
    READ TABLE sets SY-TABIX to the index of the table line read. If you use a binary search, and the system does not find a line, SY-TABIX contains the total number of lines, or one more than the total number of lines. SY-INDEX is undefined if a linear search fails to return an entry.
    SEARCH <itab> FOR sets SY-TABIX to the index of the table line in which the search string is found.
    SY-INDEX
    In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.
    Hope this helps.
    Thank you,
    Pavan.

  • What is diff b/w sy-index and sy-tabix

    Hi all,
    Can u plz give me the diff b/w sy-index and sy-tabix exactly and how it works.
    Thanks & Regards
    Venkat

    Hi Venkat,
    <b>1.SY-INDEX</b>
    <b>-></b>Current loop pass
    <b>-></b>In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.
    <b>2.SY-TABIX</b>
    <b>-></b>Current line index
    Current line of an internal table. SY-TABIX is set by the statements below, but only for index tables.
    The field is either not set or is set to 0 for hashed tables.
    <b>APPEND</b> sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table.
    <b>
    COLLECT</b> sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set to 0.
    <b>LOOP AT</b> sets SY-TABIX to the index of the current line at the beginning of each loop lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the loop. It is set to 0 if the table has the type HASHED TABLE.
    <b>READ TABLE</b> sets SY-TABIX to the index of the table line read. If you use a binary search, and the system does not find a line, SY-TABIX contains the total number of lines, or one more than the total number of lines. SY-INDEX is undefined if a linear search fails to return an entry.
    <b>
    SEARCH</b> <itab> FOR sets SY-TABIX to the index of the table line in which the search string is found.
    I think that it clears ur doubt.
    <b>Thanks,
    Venkat.O</b>

  • Difference between sy-tabix and sy-index?

    tell me about sy-tabix and sy-index?what is the difference between sy-tabix and sy-index?
    Moderator Message: Please search before posting. Read the [Forum Rules Of Engagement |https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] for further details.
    Edited by: Suhas Saha on Jun 18, 2011 5:33 PM

    HI,
        Here is a brief description of difference between SY_TABIX and SY_INDEX and using them with several conditions.
    SY-TABIX
    Current line of an internal table. SY-TABIX is set by the statements below, but only for index tables. The field is either not set or is set to 0 for hashed tables.
    APPEND sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table.
    COLLECT sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set to 0.
    LOOP AT sets SY-TABIX to the index of the current line at the beginning of each loop lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the loop. It is set to 0 if the table has the type HASHED TABLE.
    READ TABLE sets SY-TABIX to the index of the table line read. If you use a binary search, and the system does not find a line, SY-TABIX contains the total number of lines, or one more than the total number of lines. SY-INDEX is undefined if a linear search fails to return an entry.
    SEARCH <itab> FOR sets SY-TABIX to the index of the table line in which the search string is found.
    SY-INDEX
    In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.
    Hope this helps.
    Thank you,
    Pavan.

Maybe you are looking for

  • How to show a crystal report in a SAP Portal?

    Hi I am trying to show a crystal report in SAP Portal. I did a crystal enterprise report iview, and in SAP portal I got this error when I trying to show it: 404 Missing Page The page you requested is not available on this web server for one of the fo

  • [solved] vmware-server aur build fails

    I'm trying to install vmware-server from aur.  Downloaded the .tar.gz file from vmware, placed it in the build directory, and let it go.  Build fails with the following: (in building vmware-server-modules) /tmp/yaourt-tmp-david/aur-vmware-server-modu

  • New Mac Mini as dedicated capture/compression unit

    I'm in what seems to be a bit of a pickle. I work for a University (requires purchasing Academic software) and will be upgrading our video suite with two more computers very soon. Right now I'm running a Quad 2.5GHz G5 with Final Cut Studio 1 and wil

  • LCCS 2.1.0 : Released Yesterday!

    Hi All, We just released LCCS 2.1.0 and wanted to share the love. As always, just open the SDK Navigator, and you'll get asked to unzip the latest SDK. Release Notes : Version 2.1.0 (Sept 15, 2011) This release is relatively more quiet - we're fixing

  • A "Router"  or a "Switch"..which is best?

    I've got to connect my old G4 Powermac to the internet with a Wired connection instead of Wireless. I plan to connect the G4 to my iMac that has a modem and is already connected to the internet. The iMac modem has only ONE ethernet port which is alre