ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories >> Software >> ERP-CRM >> SAP >> ABAP
 
 
 
Question
difference between the workarea and headerline.plz tell me 
the answer
 Question Submitted By :: Swathisudheer
I also faced this Question!!     Rank Answer Posted By  
 
Answer
internal table with header line  contains header and body. 
any record which is to inserted into the internal table 
body  passes to header line first then it is appended or we 
can say pushed to body of internal table. The header and 
body has the same name. 
Suppose we have a internal table having fields NAME, AGE.
and our internal table name is ITAB.

itab-name = 'Rakesh'.
itab-age = '26'.

Append itab to itab. (" appends headerline ITAB to Body IT")
or we can use :- append itab. (both the above code works 
same).

whereas in workarea it also works similarly as a header 
line.
only difference is that its a headerline which is declared 
explicitly and it is not attached with an internal table .

to append the work area containining a singel record into 
internal table without header line :-

wa-name = 'Rakesh'.
wa-age = '26'.

Append Wa to ITAB.

I suppose this information will clear doubts .
 
0
Rakesh Akula
 
View All Answers
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com