What are the advantages of using an internal table with workarea

Hi,
can anyone tell me
What are the advantages of using an internal table with workarea
over an internal table with header line?
thnks in adv
regards
nagi

HI,
Internal tables are a standard data type object which exists only during the runtime of the program. They are used to perform table calculations on subsets of database tables and for re-organising the contents of database tables according to users need.
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm
<b>Difference between Work Area and Header Line</b>
While adding or retrieving records to / from internal table we have to keep the record temporarily.
The area where this record is kept is called as work area for the internal table. The area must have the same structure as that of internal table. An internal table consists of a body and an optional header line.
Header line is a implicit work area for the internal table. It depends on how the internal table is declared that the itab will have the header line or not.
e.g.
data: begin of itab occurs 10,
ab type c,
cd type i,
end of itab. " this table will have the header line.
data: wa_itab like itab. " explicit work area for itab
data: itab1 like itab occurs 10. " table is without header line.
The header line is a field string with the same structure as a row of the body, but it can only hold a single row.
It is a buffer used to hold each record before it is added or each record as it is retrieved from the internal table. It is the default work area for the internal table
1) The difference between
whih header line and with out heater line of internal table.
ex:-
a) Data : itab like mara occurs 0 with header line.
b) Data: itab like mara occurs 0.
-While adding or retrieving records to / from internal table we have to keep the record temporarily.
-The area where this record is kept is called as work area for the internal table.
-The area must have the same structure as that of internal table. An internal table consists of a body and an optional header line.
-Header line is a implicit work area for the internal table. It depends on how the internal table is declared that the itab will have the header line or not.
a) Data : itab like mara occurs 0 with header line.
table is with header line
b) Data: itab like mara occurs 0.
table is without header line
2)work area / field string and internal table
which one is prefarable for good performance any why ?
-The header line is a field string with the same structure as a row of the body, but it can only hold a single row , whereas internal table can have more than one record.
In short u can define a workarea of an internal table which means that area must have the same structure as that of internal table and can have one record only.
Example code:
data: begin of itab occurs 10,
ab type c,
cd type i,
end of itab. " this table will have the header line.
data: wa_itab like itab. " explicit work area for itab
data: itab1 like itab occurs 10. " table is without header line.
Regards,
Padmam.

Similar Messages

  • What are the advantage of using a passive monitoring technique ?

    What are the advantage of using a passive monitoring technique

    Hi Plawansai,
    I saw your question that is still unanswered.
    I believe an advantage of using a passive monitoring technique is that it won't interfer with live traffic, as it does not inject traffic into the network or modify the traffic that is already on the network.
    One drawback anyway, is that post-processing time can take a large amount of time with passive monitoring!
    A combination of the two monitoring methods seems to be the route to go.
    V.

  • What are the limits of using windows internal database in RMS?

    hi,
    We dont have SQL server to use and opting to use windows internal database
    What are the limits of using windows internal database in RMS?
    tnx

    Hi,
    the main limitation is that you cannot access a SQL express from remote (even there are tricks to work around that), so you cannot add another machine to the RMS cluster. 
    Microsoft's recommendation for production systems is to use a full SQL server, what allows you clustering and running all sorts of maintenance tasks.
    Other than that SQL Express has a 10GB total limitation for all databases running on that server.
    See also http://technet.microsoft.com/en-us/library/dd772673(v=WS.10).aspx for RMS hardware and software requirements. 
    Hope that helps,
    Lutz

  • What are the advantage of using Oracle Database when compare to SQL SERVER

    Hi all
    Please tell anyone about
    what are the advantage of using Oracle Database when compare to SQL SERVER
    Thanks in advance
    Balamurugan S

    user12842738 wrote:
    Hi,
    There are various differences between the two.
    1. SQL Server is only Windows, but Oracle runs on almost all Platforms.
    2. You can have multiple databases in SQL Server, but Oracle provides you only one database per instance.Given that the very term 'database' has s different meaning in the two products, this "difference" is absolutely meaningless.
    3. SQL Server provides T-SQL for writing programs, whereas Oracle provides PL/SQLWhich means what? Both products have a procedural programming language. They named them differently, and the languages are not interchangeable. Means nothing in comparing the features/strengths/weaknesses/suitability to purpose.
    4. Backup types in both are the same. (Except Oracle provides an additional backup called Logical Backup.)You make that sound like "Logical Backup" is something more than it is. It is nothing more than an export of the data and metadata. Many experts don't even consider it a backup. I'm sure SQL Server provides the same functionality though they probably call it by some other name.
    5. Both provide High Availability.Well, I guess they both have a suite of features they refer to as "High Availability". But what does that really mean? The devil is in the details. Remember, the two products don't even agree on what constitutes a "database".
    6. Both come in various distributions.???
    >
    If you are going for an Implementation, you can try SQL Server Express Edition and Oracle XE which are free to use.
    Then you can choose whichever is comfortable for your needs.
    Thanks.

  • What is workflow ? What are the advantages of using workflow? What are the

    what is workflow ? What are the advantages of using workflow? What are the steps for building a workflow ?

    Hi Leela,
    Your question is very straight question.
    Better u can follow these links.
    http://www.esnips.com/doc/90b7763b-f9d9-4861-a273-04674b9fe3f2/Workflow
    http://www.esnips.com/doc/991843e0-8686-4949-94b9-f45d90081b22/workflow
    And i'll give some theory answer for ur questions
    i.e.,SAP Business Workflow can be used to define business processes that are not yet mapped in the R/3 System. These may be simple release or approval procedures, or more complex business processes such as creating a material master and the associated coordination of the departments involved. SAP Business Workflow is particularly suitable for situations in which work processes have to be run through repeatedly, or situations in which the business process requires the involvement of a large number of agents in a specific sequence.
    You can also use SAP Business Workflow to respond to errors and exceptions in other, existing business processes. You can start a workflow when predefined events occur, for example an event can be triggered if particular errors are found during an automatic check.
    SAP provides several workflows that map predefined business processes. These workflows do not require much implementation. For an overview of these SAP workflows, refer to Workflow Scenarios in Applications.
    Integration
    SAP Business Workflow uses the existing transactions and functions of the R/3 System and does not change the functions. You can combine the existing functions of the R/3 System to form new business processes with SAP Business Workflow. The workflow system takes over control of the business processes. If you are already using SAP Organizational Management, you can use the organizational structure created there to have the relevant agents carry out the individual activities. It is possible to have an activity carried out by a position. This ensures that the respective occupiers of the position can carry out the individual activities during execution of the workflow. This means that personnel changes in your organization are taken into account immediately in the execution of a workflow.
    Features
    SAP Business Workflow provides a number of tools for defining and analyzing workflows as well as for monitoring operation.
    The Workflow Builder is for displaying and making changes to workflows. You can make small extensions directly to the original workflows supplied by SAP, such as carrying out your own agent assignments or changing deadline monitoring.
    There are several Workflow Wizards to support you in the definition of workflows, with which you can create specific parts of a workflow. The Workflow Wizard Explorer gives you an overview of the existing Workflow Wizards.
    In order to make the functions of the R/3 Systems available to a workflow, you use business objects, which you can define and analyze in the Business Object Builder. These business objects are made available to the workflow in reusable tasks. The Business Wizard Explorer gives you an overview of all existing tasks.
    The end user receives information about the activities they are to carry out in their Business Workplace. This provides them with a central overview of all the activities that they are authorized to carry out. They can commence the activities from here.
    Several tools are available to the workflow system administrator, with which they can control and analyze the current workflows. The workflow system administrator is notified of problems automatically by the system.
    Workflow tutorials with step-by-step and with screenshots are available at http://www.****************/Tutorials/Workflow/Workflow.htm
    This has a step by step procedure :
    http://fuller.mit.edu/workflow/debugging.pdf
    www.erpgenie.com/sap/workflow/debugging.htm
    http://www.erpgenie.com/workflow/debugging.htm?2b5de440
    Rewards if it is useful.

  • What are the advantages of using CACHE and NOCACHE Hint

    What are the advantages of using CACHE and NOCACHE Hint & difference of them.I saw one of oracle.sql script have CACHE & oracle rac script include NOCACHE .Why is that

    924250 wrote:
    In a SOA product include db scripts,when we install the product we want to execute the db script to create sequence both oracle RAC & Oracle db
    Oracle DB
    CREATE SEQUENCE REG_LOG_SEQUENCE START WITH 1 INCREMENT BY 1 NOCACHE
    Oracle RAC DB
    CREATE SEQUENCE REG_LOG_SEQUENCE START WITH 1 INCREMENT BY 1 CACHE 20 ORDERas sb mentioned, this has nothing to do with oracle hints.
    you'll want to search the documentation about sequences.

  • What are the advantages of using LabVIEW projects in TestStand, as apposed to just a path to a vi

    What are the advantages of using LabVIEW projects in TestStand, as apposed to just a path to a vi ?
    I am modifying an existing workspace for a new product, and it seems like more work to add the vi's into a LabVIEW project
    does it gain anything in the long run

    Hi Rusty,
    I wanted to quickly clarify on the integration between TestStand and LabVIEW Projects.
    As Jeff mentioned, some of the big benefits of using LabVIEW Projects is to organize code and to namespace them.
    For instance if you had a project called "Power Supply" that housed all your power supply code and had a VI in that called "Initialize", and another project called "Temperature Chamber" that also had a VI called "Initialize", both these VIs are namespaced by the project, so there is no longer confusion about which "Initialize" VI is being used.
    Now from a TestStand point of view, in prior version of TestStand, we lost some of this benefit because TestStand did not know about TestStand projects and called VIs simply as un-namespaced VIs. However, in TestStand 2010 (released last year, free eval available at ni.com/teststand), we added the ability to (optionally) call VIs within the context of their projects. This means that:
    VIs are now namespaced by their project, even when called from TestStand
    VIs can use project specific constructs like NI-DAQmx tasks and conditional compilation settings
    Note: When creating deployments, the VIs maintain their projects and namespacing, so this benefit holds true for deployments as well.
    Additionally, someone had mentioned looking into using lvlibs to namespace your VIs for deployment. Two comments:
    With TestStand 2010, this is no longer neccessary since the project itself namespaces the VIs
    You might also want to look into LabVIEW Packed Project Libraries, which combined several VIs into a single file. Think of it as a DLL specific to LabVIEW that is as easy to call as normal LabVIEW VIs. TestStand 2010 can call VIs that are exposed by PPLs. In addition, the deployment utility can automatically pack your VIs into PPLs for deployment.
    Hope this is helpful!
    Jervin Justin
    NI TestStand Product Manager

  • What are the advantage of using nested table?

    what are the advantages of using nested table?
    and what are disadvantages of it?

    BTW could you edit the following post and remove the dangerous code
    Re: How to rename a database user?
    Some other poor sap has just fried their database by trying it out
    Re: Can I rename a user?
    Message was edited by:
    3360
    Thank you for making the edit

  • What are the advantages of Using SAP ?

    what are the advantages of SAP when compared to other technologies?
    what are the basic advantages of SAP

    SAP's R/3, introduced in 1992, is the most used ERP system in the world.
    The R/3 software package is designed to allow businesses to effectively and efficiently operate a variety of business processes within a single integrated information system.
    The software is customizable using SAP's proprietary programming language, ABAP/4. R/3 is scalable and highly suited for many types and sizes of organizations and runs on six different platforms.
    SAPu2019s R/3 has been designed to be the best ERP system in the four areas of human resources, financial, supply chain management, and marketing. R/3 is also an international product, and meets the local fiscal, language, and tax requirements of most countries.
    SAPu2019s R/3 is very versatile, as it will operate on six different platforms, including the recently added Microsoft NT.
    The R/3 package includes several very attractive features like it has a three-tier client/server system. Providing three tiers offers scalability and easier adaptation to the specific needs of large companies and fast-growing companies.
    SAPu2019s R/3 is available in 14 different languages (German, English, Spanish, etc.) and also incorporates multiple currency features that provide essential information processing capabilities for multinational corporations.
    R/3u2019s modules are organized by the functional areas of financial, human resources, supply chain management, and marketing. While information is entered separately for each specific module, the modules are fully-integrated and provide real-time applications. This means that data entered into one module is immediately and automatically updated and reflected in all oft the functional areas.
    R/3 is composed of a single, virtual file structure with no subsystems.
    In addition, SAP has released u201CMySAP.comu201D which is software that provides for data interaction and processing connections with the Web.
    Financial and managerial accounting tools in SAP R/3 are contained in the financial accounting (FI) and the controlling (CO) modules. The General Ledger function in the FI module provides a comprehensive record of all information needed for external financial reporting. The accounting data is complete and accurate because the SAP system fully integrates all business transactions that were entered from all the operational areas of a company. In addition to the FI and CO modules, the SAP system includes the Investment Management (IM), Sales and Distribution (SD), Materials Management (MM), and Human Resources (HR) modules.
    Management accounting tools in SAP R/3 are cost center accounting, internal orders, product costing, and activity based costing, profitability analysis and profit center accounting.
    SAP R/3u2019s accounting features are modeled on German approaches to accounting, and thus they are well-organized and very efficient in processing accounting information and providing accounting statements and financial reports.
    As stated previously, R/3 offers multiple currency features and a three-tier system that is capable of meeting very high demands from the accounting system for either transaction processing or financial reporting.
    SAP was the first to implement integrated treasury capabilities. This attractive feature allows a corporate treasury department to function as an in-house bank by automating the control of cash flow, investment trades, and portfolio management.
    R/3 provides check writing capability in its Accounts Receivable component which very few other programs offer.
    Additionally, there is equal access to all data in the system. This means that personnel can access financial data directly from a computer screen rather than physically meet with the treasurer, controller, or some other similar person. In other words, R/3 offers real-time, immediately updated reporting.
    R/3 also provides for a "single data entry point" where the data entered from any location is instantly sent to all other appropriate modules in the ERP system.
    The accounts payable component of SAP R/3 contains four types of transaction blocks namely:
    ● The audit block● The receiving block● The vendor block● A manual block
    These blocks make it much less likely that improper payments will occur.
    SAP R/3 is organized with the concept that a business operates as a series of processes, which means that the company implementing R/3 may have to change and reorganize itself to properly fit with R/3 and use it effectively.

  • What are the advantages to using BlazeDS or Granite?

    We have decided to use Flex3 to upgrade our UI. We have heard
    good things about using Granite Data Services, but it requires jdk5
    or higher, and the same for BlazeDS.
    We are currently using Websphere 6.0 and are discussing our
    environment options: replace Websphere with JBoss 4.2 (Sun jdk6),
    upgrade to Websphere 6.1 (IBM jdk5), or keep the current Websphere
    6.0 (IBM jdk4). The concerns are upgrade cost, and time to develop
    and qa any changes to the environment.
    We would like to get some feedback on pros and cons of using
    Flex with these three environments. If we stay with jdk4, will we
    spend nn% more time writing code that could have been done out of
    the box with Granite? Are there improvements with memory, speed,
    etc. using Flex with a later version of the jdk? Will development
    time be shorter with a later version of the jdk? What are the
    advantages and disadvantages of using Flex with WebSphere versus
    JBoss?
    Thanks for your input!

    BBM and PIN messages are messages sent from one BlackBerry to another.  The message is composed by the sender and goes through RIM's secure server before being delivered to the recipient.  They are only available to BlackBerry users.
    The thing I like about them is how you can see if they've been received by the recipient.  Once the message reaches the recipient's phone, you'll notice a small 'D' at the start of your message.  This means it's been delivered.  When the recipient opens the message, that 'D' will switch to an 'R', for 'read'.  So now you know that it's actually been received by the recipient.
    One more great thing about these messages is that there is no limit to length.  As you're probably aware, most carriers limit text messages to 160 characters; not so with these messages, they can be much longer.
    BBM and PIN messages are the same type of message, but with PIN messages you're limited to just that one contact receiving it.  With BBM, you can have many contacts in on a chat or you can broadcast a message to many contacts at once.
    I hope that explains things for you. 
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • What are the advantages to using Pin to Pin and BBM?

    I haven't used BBM yet, but have been composing and sending messages Pin-to-Pin (peer-to-peer). Is that the same thing as using the BBM and what are the advantages of each? Are they better than just texting?  Would appreciate an explanation, because I'm confused!  Thanks!!
    Solved!
    Go to Solution.

    BBM and PIN messages are messages sent from one BlackBerry to another.  The message is composed by the sender and goes through RIM's secure server before being delivered to the recipient.  They are only available to BlackBerry users.
    The thing I like about them is how you can see if they've been received by the recipient.  Once the message reaches the recipient's phone, you'll notice a small 'D' at the start of your message.  This means it's been delivered.  When the recipient opens the message, that 'D' will switch to an 'R', for 'read'.  So now you know that it's actually been received by the recipient.
    One more great thing about these messages is that there is no limit to length.  As you're probably aware, most carriers limit text messages to 160 characters; not so with these messages, they can be much longer.
    BBM and PIN messages are the same type of message, but with PIN messages you're limited to just that one contact receiving it.  With BBM, you can have many contacts in on a chat or you can broadcast a message to many contacts at once.
    I hope that explains things for you. 
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • What are the advantages of using ENC for a datasource

    Other than eliminating a tight binding between a EJB and a datasource , what are
    the other considerations and/or advantages of using JNDI ENC to define a datasource
    reference vs a direct lookup of a Datasource in the EJB implmentation?
    For example, are their performance advantages by the datasource being cached in
    JNDI ENC?

    Hello Bryan,
    Basically the main advantage is to not have the tight coupling between the EJB
    and the particular JNDI name that it's bounded to. Please refer to a previous
    post where I addressed this issue (perhaps a few days ago on this newsgroup).
    In addition, you will always gain performance improvements by caching the remote/local
    home objects for your EJBs.
    Best regards,
    Ryan LeCompte
    [email protected]
    http://www.louisiana.edu/~rml7669
    "Bryan Boyer" <[email protected]> wrote:
    >
    Other than eliminating a tight binding between a EJB and a datasource
    , what are
    the other considerations and/or advantages of using JNDI ENC to define
    a datasource
    reference vs a direct lookup of a Datasource in the EJB implmentation?
    For example, are their performance advantages by the datasource being
    cached in
    JNDI ENC?

  • What are the advantages of using firefox mobile

    I do not understand the advantage of using Firefox mobile over just clicking "internet" on my Android. Firefox mobile seems sluggish and slow. I would support it if I knew there was some sort of advantage. What might that be?

    Here is a list of some of the features you might like to try in mobile Firefox like add-ons, Firefox Sync, and more:
    http://www.mozilla.org/en-US/mobile/features/
    I'm sorry that it's sluggish on your Android device! We are working on making it faster in future versions.

  • What are the advantages of using file.ser ???

    hi
    actually i just know a little bit about this file format (file.ser), i know that it can handle serialized objects in the same order that they have written. but i don know :
    how it works?
    what are the benefits that i can have from this file format?
    how can i delete a particular object from this file?
    thanks in advance

    Dude, you're lost... off the bottom of the page... time to start scrolling up again ;-)
    Start here: http://java.sun.com/developer/technicalArticles/Programming/serialization/
    I know that it can handle serialized ...Umm no, not "handle", so much as "contain" serialized objects.
    An SER file contains serialized objects.
    what are the benefits that i can have from this file format?None, per se... it's only a file format. The advantages lie in a "quick light framework for the persistence of java objects".... serialisation.
    how can i delete a particular object from this file?Umm... you can't manipulate the file, not directly anyway, well not safely.
    Desialise all objects in the file, and reserialise them to a new file, skipping the offending object.
    Seriously read through that tutorial. It's very interesting.
    Cheers. Keith.

  • What are the advantages of using SAP PP-REM?????

    Hi,
    Can anybody tell me the advantage of using Repetitive Manufacturing. How it will help a particular industry if implemented.
    I want to know advantages involved in
    Planning (MRP, Capacity),  Product Cost Controlling,
    WIP calculation, variance Calculation
    if SAP PP-REM is implemented
    Pavan

    Hello Friend ,
    PP REM has advantages following advantages-
    Purpose
    This component can be used for production planning and control in a repetitive manufacturing environment- ie the same product is manufactured repeatedly on the same production line.
    You can use repetitive manufacturing as either make-to-stock REM or make-to-order REM such as in the automotive industry, for example.
    The goals of repetitive manufacturing are the following:
    Creation and revision of production quantities on a period and quantity basis (reduction in individual lot and order-specific processing).
    Reduction in the production control effort and simpler backflushing tools(with the option of using the full scope of the PP functionality).
    Implementation considerations
    You can implement Repetitive Manufacturing if the following is true of your production process:
    You produce the same or similar products over a lengthy period of time.
    You do not manufacture in individually defined lots. Instead, a total quantity is produced over a certain period at a certain rate per part-period.
    Your products always follow the same sequence through the machines and work centers in production.
    Routings tend to be simple and do not vary much.
    Hope this info helps u. Award points if benefitted.
    Hemant

Maybe you are looking for