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 matchcodes?

989


What does the extract statement do in extract datasets? : abap modularization

1093


What are conditional chain statement?

1222


What are two methods of modifying sap standard tables? : abap data dictionary

1297


What are the function module in bdc?

1253


Explain about interactive report?

1049


What are th control break events in abap?

1101


How to debug rfc function module?

1282


How to write a code for multiple transactions? : abap bdc

1022


What is the differrences between structure and table in data dictionary in abap? : abap hr

1206


What is erp? : sap abap hr

1098


Explain the different types of view?

1032


Explain the difference between open_form and close_form?

1013


Does the external program run in the same sap luw as the caller, or in a separate one?

1138


Specify the types of data dictionary objects.

1006