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
 
 


 

 
 Basis interview questions  Basis Interview Questions
 ABAP interview questions  ABAP Interview Questions
 SAPScript interview questions  SAPScript Interview Questions
 SD interview questions  SD Interview Questions
 MM interview questions  MM Interview Questions
 QM interview questions  QM Interview Questions
 PP interview questions  PP Interview Questions
 PM interview questions  PM Interview Questions
 PS interview questions  PS Interview Questions
 FI CO interview questions  FI CO Interview Questions
 HR interview questions  HR Interview Questions
 SAP CRM interview questions  SAP CRM Interview Questions
 SRM interview questions  SRM Interview Questions
 APO interview questions  APO Interview Questions
 Business Warehouse interview questions  Business Warehouse Interview Questions
 Business Workflow interview questions  Business Workflow Interview Questions
 SAP Security interview questions  SAP Security Interview Questions
 SAP Interfaces interview questions  SAP Interfaces Interview Questions
 Netweaver interview questions  Netweaver Interview Questions
 SAP ALE IDocs interview questions  SAP ALE IDocs Interview Questions
 SAP B1 interview questions  SAP B1 Interview Questions
 SAP AllOther interview questions  SAP AllOther Interview Questions
Question
what is difference b/w like and type statements?give 
example? when to use like and when to use type?
 Question Submitted By :: Mutyala_srujithreddy
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is difference b/w like and type statements?give example? when to use like and when to use type?
Answer
# 1
when refering to type-pool you need to use TYPE 
declaration, and LIKE is used to refer your already 
declared variable. And for declaring native types 'N' 'C' 
you cannot use LIKE there.

data: matnr like mara-matnr,
      matnr1 type mara-matnr. 

will not make any difference in the program. however

data: matnr type mara-matnr,
      matnr1 like matnr. when the attribute of matnr 
changes will affect matnr1 also. 

and LIKE statement become obselete in Object programming. 
you can use TYPE statements only there.
 
Is This Answer Correct ?    1 Yes 0 No
Guest
 

 
 
 
Other ABAP Interview Questions
 
  Question Asked @ Answers
 
can we change the output value of LIST ?  1
what will happen in Initialization event? Intel6
how to issue the tickets in support project? HP1
What does an extract statement do in the ABAP program?  1
u r running a report .it is taking a long time for execution .what steps will u do to reduce the execution time? HP4
What the Object will be created when upload a Logo?  1
What is WEB Dynpro Comp. / intf?  1
what are the fields in BDC Data? Satyam4
what is the full form of ECC 5.0?  3
Menu painter? Bristle-Cone3
can we write a select query under end-of-selection event. and will it fetch data.  2
How would you debug custom programs at runtime? Bosch3
What are components of layout in scripts?  1
Tcode for create Basic ALE settings? Intel1
What is user exists? FutureSoft1
what are logical and physical databases  1
What is ALV programming in ABAP? When is this grid used in ABAP?  1
Diff b/w ECC6.0 ,ECC 5.0 and 4.7...... Siemens3
Difference Between Call By Value and Call By Reference? Intel4
How do you do Recording and what will you do? FutureSoft1
 
For more ABAP Interview Questions Click Here 
 
 
 
 
 
   
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