What is difference between sy-index and sy-tabix and where both are using ?

what is difference between sy-index and sy-tabix and where both are using ?

hi nagaraju
sy-tabix is in Internal table, current line index. So it can only be used while looping at the internal table.
sy-index is in Loops, number of current pass. This you can use in other loop statements also (like do-enddo loop, while-endwhile)
SY-INDEX is a counter for following loops: do...enddo, while..endwhile
SY-TABIX is a counter for LOOP...ENDLOOP, READ TABLE...
Here is an example from which you can understand the difference between sy-tabix and sy-index.
Itab is an internal table with the following data in it.
id Name
198 XYZ
475 ABC
545 PQR.
loop at itab where id > 300.
write :/ itab-id, itab-name , sy-tabix, sy-index.
endloop.
My output will be :
475 ABC 2 1
545 PQR 3 2
Sy-tabix is the index of the record in internal table.
sy-index gives the no of times of loop passes.
So, for the first record in the output (475 ABC), 2 is the index of the record in internal table and as it is first time loop pass occured, sy-index value is 1.
Regards,
navjot
award points

Similar Messages

  • What the difference between u0093Valuate GL Account Open Itemsu0094 and u0093Valuate G/

    hi gurus
    What the difference between “Valuate GL Account Open Items” and “Valuate G/L Account Balances”?
    We found out that when we perform valuate GL account Open items there will be reversal done at the same time whereas when we perform Valuate G/L Account Balances there is NO reversal posting even though we hv entered the reversal posting date and Period.
    Pls advise which one we should perform?

    “Valuate GL Account Open Items” are for open item managed accounts including vendor/customer accounts. The valuation is performed for each (open) line items on key date specified.
    "“Valuate GL Balance" is for account NOT managed on Open Item basis but managed in foreign currency. The period balance of key date in foreign currency is valuated. Reversal document can be created by selecting 'Reverse postings' in "Postings" tab.
    Kyoko

  • Whats the difference between the 4th gen iPod touch and the new one ?

    whats the difference between the 4th gen iPod touch and the new one apart from it being white?

    Yeah it sadly appears to be only color, I guess Apple and thier infinate wisdom decided iPod touches dont need to be as fast as the new iPhone. If it had a5 it could do Siri:(

  • Whats the difference between RFC destination of type "HTTP" and "TCP/IP"

    Hi Folks,
    I want to know the difference between RFC destination of type "H" and "T".
    In what instances/tasks we would use them?
    Looking forward for your valuable answers...
    Cheers,
    Ram.

    Type of RFC connection.
    By entering the type of RFC connection, you specify the communication method (TCP or SNA) and the logon type in the target sys
    Type T (TCP/IP) destinations are connections to external programs that use the RFC API to receive 'Remote Function Calls'. You must specify the host name and the pathname of the program to be started. The communication method depends on how you select the program location.
    Type H is the HTTP connection to R/3 system
    Type G is the HTTP Connection to external server

  • Whats the difference between executing a package from SQL and Visual Studio?

    Hi,
    We have a package that is currently failing to run when deployed to SQL. This has been tried from a schedule and also executed manually both are failing.
    I have tried from Visual studio running on various machines (windows 8, server 2012) and in all cases run perfectly.
    I am trying to understand the differences between deploying to SQL and running from VS so maybe I can figure out why this is happening.
    I have the following errors when I run from SQL.
    DTS_E_PROCESSINPUTFAILED - all errors like this point to the 'Sort' tasks in the script
    dts_e_processinputerror not enough storage is available
    I have tested in four environments and all fail from SQL but not from VS!
    Last night I tried from my laptop and executed the package from SQL - it didn't fail but was still running in the morning so I terminated. Note this takes around 20 mins running from VS! why would it be so quick from VS but fail or take so long on SQL?
    The test running at the moment is on a server with dynamic memory currently at 14GB. I decreased SQLs RAM to 4GB and it hasn't failed yet but has been running for two hours. Before changing this the package failed after a short time.
    I thought it may have something to do with running from a virtual machine but doesn't explain why it couldn't run locally on my laptop.
    All ideas welcome :) Many thanks,
    Davina

    I will try to address issues one by one
    The error doesn't seems to be related to SSISDB configuration mode. It may be because of
    Change in package definition (please confirm that the package which you are running on your laptop is the same on your msdb? - reload your SQL package from MSDB in BIDS/SSDT and recreate your source and destination components)
    As your error message shows, "not enough memory available" (may be because of multicast)  - Usually you can override this error by restarting SQL Server [not an optimal solution but it work & if that work it shows that your package fills
    the memory - Keep an eye on task manager]
    Make sure that your statics on table are updated [run EXEC sp_updatestastics] 
    Make sure your indexes are not de-fragmented [run rebuild indexes]
    If you are dealing with many rows may be 40000 * 12 (because of multicast) = 4,800,000 rows the try to separate package. 
    Check your excel file format/column data type is correct
    Check user permission who is running the job has required permission on folder/file.
    Understand that sort is a blocking transformation and it requires all your data in memory before it sorts. so, if there are large number of rows then your complete memory will be occupied. 
    Difference between Visual Studio & BIDS/SSDT
    Nothing much, other than BIDS runs on 32 bit while jobs on 64 bit (but there run time environment are configurable, though) 
    There shouldn't be any performance difference until your
    package is on network location because transferring data to the network may slow the package. If package runs on SQL Server it uses SQL buffer pool to fetch data via SQL statement and then SSIS works on its own memory allotment. 
    Hope this will help you to understand and fix the issue.
    Glad to help! Please remember to accept the answer if you found it helpful. It will be useful for future readers having same issue.

  • What is difference between Portal on NW 7.3 and Portal on NW 7.0 Ehp 2?

    I am checking out the features of NW 7.3 (Java server related) and NW 7.0 Ehp 2 (ABAP server / Business Suite related).
    If I think about NW 7.3 I am think NWDS, Web Dynpro Java, Visual Composer, Composition Environment, PI, Mobile, Portal etc. so basically everthing that's Java related.   
    If I think about NW 7.02 I am think Business Suite applications, classic Dynpro,Web Dynpro ABAP, BSP etc. so basically everthing that's ABAP related.
    Now that I am reading the features I see Portal in both areas: featurs in NW 7.02 but alos features in NW 7.3?
    Are we talking about 2 different kinds of Enterprise Portals? Is there a difference between Enterprise Portal installed in Java environment (so basically the CE Portal) and an Enterprise Portal installed on top of e.g. SAP CRM or ERP?
    So when are Portal features NW 7.3 applicable and when are features NW 7.0 EhP x applicable? Or are both applicable and does a Portal have an ABAP based piece and a Java based Piece???
    kind regards,
    Angelique Heutinck
    IFF

    Hi,
    to be honest - this is nothing a forum should clarify about. You are asking for the universe. Obviously the architecture is completely unknown by you so take a look at help.sap.com and start with architectural things. This also explains where the portal is located and if there is java and abap or not.
    Regarding release cycle: for the portal it works like for all other netweaver components. In 7.02 you have a 7.02 portal while in 7.3 you have a 7.3 portal. Its the same application just a new release with new features.
    By the way: features and so on are also described at help.sap.com including the new ones for every release and stack.
    Be aware of the fact that there is also a huge difference in CE and non-CE installation (I'm sure you already know - see help.sap.com).
    I close this thread for now. If there is some detailed question - feel free to ask.
    Anja

  • Whats the difference between a German Tiger install DVD and a English one ?

    Title says it all really.
    Apples online store gives an option of German or international English Tiger (Intel). If I get a German DVD (the local language) can I install in English or not?
    Delivery time tot the international English goes up from 24hrs to 5 days
    TIA.

    You can install English language files for Tiger from the German Tiger installation DVD. The difference between the packages is likely the fact that the documentation which comes with the package is in a different language; you will get German documentation with the German package, and English documentation with the English package.
    (13797)

  • WHATS THE DIFFERENCE BETWEEN IN MAC BOOKS  MD212B/A AND ME865B/A

    can you explain the difference between the 2 macbokk pro model numebrs MD212B/A and ME865B/A

    OVERVIEW
    Introduced     October 2013
    Discontinued     --
    Model Identifier     MacBookPro11,1
    Model Number     A1502
    EMC     2678
    Order Number     ME864LL/A (2.4 GHz with 128 GB storage) ME865LL/A (2.4 GHz with 256 GB storage) ME866LL/A (2.6 GHz with 512 GB storage)
    OVERVIEW
    Introduced     October 2012
    Discontinued     October 2013
    Model Identifier     MacBookPro10,2
    Model Number     A1425
    EMC     2557
    Order Number     MD212LL/A (2.5 GHz with 128 GB storage) MD213LL/A (2.5 GHz with 256 GB storage)

  • Whats the difference between ABAP stack, ABAP+Java stack and Java stack

    Hello,
    I have a nagging doubt about the difference between the ABAP stack, ABAP+Java stack & the Java only stack. I believe that the method of applying the kernel for all the 3 types is different.
    Also can we apply the ABAP support packs through JSPM.
    Please put some light on this.
    Thank you

    Hi Zaheer
    ABAP Stack
    AS ABAP is used to provide the ABAP foundation of SAP NetWeaver.
    Part of AS ABAP is the Search Engine Service (SES), which enables users to search for
    business objects using Search and Classification (TREX). SES accesses Search and
    Classification (TREX) functions through the Search and Classification (TREX) ABAP
    client. SES replicates the business objects from the ABAP application to Search and
    Classification (TREX), so that it can apply Search and Classification (TREX) search
    functions to them. When a user enters a search query, the Search and Classification
    (TREX) system responds to it, not the database for the ABAP application. For more
    information, see the document Installation Guide – SAP NetWeaver TREX Single Hosts /
    Multiple Host.
    Java stack
    AS Java is used to provide the Java foundation of SAP NetWeaver. Among the key
    capabilities of AS Java are:
    • J2EE Engine – a J2EE 1.3-compliant application server for running enterprise
    applications. In addition to the pure J2EE standard technologies, the J2EE
    Engine implements complementary technologies, such as Web Dynpro or Web
    Services, that are targeted at supporting large-scale, real-business application
    development projects.
    • SAP Composite Application Framework Core (CAF Core) is a service-oriented
    architecture for building and deploying composite applications. It enables
    modeling of different service types – entity services that represent a domain
    model, application services that implement business logic, and external
    services that offer connectivity to back-end services by means of remote
    function calls (RFCs) or Web services. Usage type AS Java comprises the CAF
    Core runtime environment, while design time tools are part of the SAP
    NetWeaver Developer Studio.
    • Web Dynpro is the user interface technology for developing professional
    business applications for mobile as well as for desktop clients. Web Dynpro
    applications can easily be integrated into SAP NetWeaver Enterprise Portal,
    providing a unified layout for the end user as well as enhanced navigation
    support. Web Dynpro also allows, for example, the development of interactive
    forms using the Adobe document services.
    • Adobe document services is a set of runtime services that provide a range of
    form and document creation and manipulation functions such as:
    • Converting XML form templates (created using Adobe LiveCycle Designer)
    to PDF and various print formats
    • Setting Adobe Reader rights to enable users to fill in and annotate forms,
    save and print them locally, and include digital signatures for authentication
    using the free Adobe Reader software
    Extracting data from SAP applications into Interactive Forms and transferring form data
    back into SAP applications using XML
    ABAP + Java Stack
    Contains both functionalities.
    I hope this helps
    Regards
    Chen

  • Whats the difference between the iOS Paid Applications contract and the iAd Network Contract

    I'm a developer for iOS Apps and I am interested in setting up the iAd Network on my apps. I went into itunes connect to look at the required contracts and saw that there is a contract required for Canadian Developers (i'm in Canada). I looked at the contract and it seems to be the same as the contract required to sell iOS Paid Applications. My question is, is there any difference between the two Canadian contracts and do I need to fill the iAd Network Canadian Contract out again even though one has already been done.
    Thanks for the help in advance.

    Probably not much different or different at all with the final BETA version. You get the BETA by being a registered iOS developer. Why on earth would you want a BETA?

  • What is difference between 10.5.6 COMBO Update and 10.5.6 Update ? Both say

    Both say +"The 10.5.6 Update is recommended for all users running Mac OS X Leopard and includes general operating system fixes that enhance the stability, compatibility and security of your Mac."+
    *Mac OS X 10.5.6 Combo Update* (669 MB)
    http://support.apple.com/downloads/MacOS_X_10_5_6_ComboUpdate
    *Mac OS X 10.5.6 Update* (373 MB)
    http://support.apple.com/downloads/MacOS_X_10_5_6Update
    I've never had any issue whatsoever before in using Software Update to handle all such OS updates. This is my first time encountering problem: It says "Restart", so I click Restart; and it starts on that purple default OS background, then starts an install process. But that status bar has been seemingly stopped for over 40 minutes after just advancing about 1/8th of an inch....
    So I forced power-off, restarted, found these forums, and one of many seemingly contradictory knowledge base documents says if you're having problems with automatic Software Update, then instead download a standalone installer.
    Which is why I ask the question of this thread. Normally, when I see "Combo Update", the implication is that there are multiple incremental updates stacked sequentially on top of each other, and the Combo will ensure that all intermediate updates get installed along with the most current update.
    But in this case, the information at the links above does not differentiate in any way WHICH of the two someone should use if their current OS version is 10.5.5 .

    That was really very helpful. So for me it begs a followup.
    I ran the "regular" installer since I had 10.5.5 prior to running the update. Via the automated Software Update feature, the update failed several times. However, when I came to the support forums here and then downloaded and ran the standalone update file (the regular one), the process was simple, and my system updated to 10.5.6.
    I have checked my system profiler and it says 10.5.6 ...
    But based on things you have said, it seems to me that I would be adding an extra layer of solid foundation for my installed OS X if I were to run the COMBO Updater now -- even though I am at 10.5.6 -- so as to ensure the thorough code set is in place.
    Am I reading correctly? Is that what you would recommend? Because I already earlier downloaded the COMBO update installer file, at the same time I also downloaded the smaller standalone updater file... At that time I wasn't certain which I should run. And I'd much rather take a little extra time now to run the COMBO if it would enhance the stability of the OS on my computer.
    So I look forward to your reply.
    In a separate posting I made tonight, in another thread, I am annoyed that for a major OS update Apple didn't entrust their consumer marketing division to write the instructions for consumers... so that instead of just that regular ol' automated convenience of set-n-forget "Software Update", in this case it actually communicated to the customer: "You might want to update Safari and iTunes using this automated process, but we also are updating the full operating system of OS X. And thus we recommend you download that file separately and run it from your desktop as follows...."
    Apple Support has historically never been in sync with the Consumer Sales side of the business -- the group that is Best in Class in knowing how to communicate with mainstream consumers.
    Thank you again for your reply. I wish the Support gods would take your posting and make it STICKY so that 1000 new threads don't have to be started. But that is like praying for competence from U.S. Congress.

  • Whats the difference between extending the xls mapper functions and xpath

    What is the whole deal about extending the xlst mapper functions or the xpath functions?
    any insight about the diferences would be greatly appreciated. I mena shouldnt the functions for xlst be the sames that are available for xpath?
    regards,
    gabs

    Unfortunately, XPath and XSL are two different standards, and the implementation of functions at the Java level uses a different interface. So a custom XPath function is not automatically reusable in XSL and vice versa.
    The core java code might be the same, but you need to code different "wrappers" for XPath and XSL.
    Marc

  • 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 difference between abstraction and encapsulation ?

    Hi,
    I am trying to figure out the difference between abstraction and encapsulation but confused.
    Both are used for data hiding then what is the exact difference ?
    Thanks.

    Tushar-Patel wrote:
    I am trying to figure out the difference between abstraction and encapsulation but confused.
    Both are used for data hiding then what is the exact difference ?This is the picture I have:
    When you encapsulate something you get an inside and an outside. The outside is the abstraction. It describes how the encapsulated entity behaves viewed from the outside. This is also called the type. Hidden inside is the implementation. It holds detail information about how the type's behaviour is accomplished.
    It's a very simplified picture but I think it's quite accurate and it works for me.

  • What is difference between enjoy transactions and Normal transactions

    What is difference between enjoy transactions and Normal transactions
    Ex:- ME22 & ME22N
    What is difference between these two.

    hi ,
    the transaction code with 'N' are created with help of object concept.
    In your case ME22 is obsolete one and ME22N is the tcode created with object concept.
    pls Reward helpful points
    Thanks
    Siva

Maybe you are looking for

  • How can I merge two different user accounts without loosing stuff

    I have several Apple products and long ago set up two separate Apple accounts by accident.  Now I want to merge the two into one, but be sure not to loose any pictures, etc. that may be stored with one or the other.  Is there a way to do this?

  • How do i get home share to work with ios 6 and pc Itunes 10.7

    I have update all my devices to ios 6 and pc to itunes 10.7, however since then i can not use home share to share music over my network with any of my devices.  Can anyone help Please. Pablo

  • How to block internet connection for a period of time?

    Hey guys is there a way to block internet connection via a lan connection for a period of time? A program that when my pc is boot up it run secretly and at the time schedule it block the internet connection with no pop up. When i not at home some per

  • File Upload/Download storing in ECC

    hi Guys, Using webdynpro abap application I am uploading a file.I want to store this file in the backend database(R/3). I am not able to stroe the Xstring value to the table. So I have made my table with field with  data type as string. Is there an s

  • Pcmanfm is "Not Authorized" to mount usb drives

    Hi, I recently installed arch linux it's a nice distro but I got a few problem with it. The biggest one is that I am actually not able to mount usb drives with pcmanfm this means that I am not able to use my old debian /home so far. I tired multiple