Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

2) What is the difference between TYPE and DATA?

Answer Posted / chaitra

Types are definitions, i.e they do not hold memory space.
They cannot be used directly as variables, they have to be
declared before using in the code.

Data are declaration, i.e they hold memory space. They can
be used directly as variables in the code.

Ex :

Type : a type C.
DATA : b type C.


now, b can be directly used in the code directly eg:
IF b is initial .
...
ENDIF.

But 'a' cannot be used, as it is just a definition, it has
to be declared before being used.

DATA: x type a.

Now x is of type a and occupies memory space and can now be
used in the program.

Regards

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the user interfaces of interactive lists?

975


can anyone do BDC or BAPI for F-02 and F-04 transactions.If it LSMW also.Kindly let me know.

3665


What is meant by write lock? : sap abap data dictionary

998


What are control tables? : abap data dictionary

965


What is a predefined type in abap?

1111


What has to be done to the packed fields before submitting to a BDC session.

1118


Explain the difference between call screen and leave screen?

1063


What is ps structure? : abap hr

1323


Differentiate between transparent tables, cluster tables and pooled tables

1049


hi to all abap interview guys please notify this .. first if u have any doubts please go through google search or else please do debugging with some sample programs . but don't post even silly questions too. thanking you.

1925


How do you move on to the next screen in interactive reporting?

1126


What is the difference between leave transaction and call transaction?

1025


What is the function of the correction system? : abap data dictionary

1017


What are internal tables? : abap hr

954


after creating lock object if does n't access record by second user what should we do?

1939