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 check tables?

1076


Explain the advantages and disadvantages of different types of bdc's?

1063


What are the advantages and disadvantages of different types of bdc's?

1073


A field-groups statement or an insert statement reverses storage space and transfers values. State true or false. : abap modularization

1003


what is code to upload cost centers through call trans. and procedure

2603


Hi, I have a requirement for locking the fax field in user master records. As you know user can edit the details using the System>profile>own data (SU3), it is causing some security threat to our model. What i want is users should not be able to change the fax field under communications when they get into su3.I have heard of user Exist functionality but don't know how to implement it. Can you suggest something, it will be greatly appreciated.

1913


Can we access static attribute from instance method

1461


foreign key enforcement?

2044


What are the advantages of logical databases : abap hr

1034


A subroutine can contain nested form and endform blocks. State true or false. : abap modularization

1300


What are screen painter and menu painter? : abap hr

1026


What are the basic objects of the data dictionary?

1004


How to debug rfc function module?

1255


Structures can contain data only during the runtime of a program (t/f) : abap data dictionary

1301


What is the difference between call transaction method and the session method? : abap bdc

951