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
What are the user interfaces of interactive lists?
can anyone do BDC or BAPI for F-02 and F-04 transactions.If it LSMW also.Kindly let me know.
What is meant by write lock? : sap abap data dictionary
What are control tables? : abap data dictionary
What is a predefined type in abap?
What has to be done to the packed fields before submitting to a BDC session.
Explain the difference between call screen and leave screen?
What is ps structure? : abap hr
Differentiate between transparent tables, cluster tables and pooled tables
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.
How do you move on to the next screen in interactive reporting?
What is the difference between leave transaction and call transaction?
What is the function of the correction system? : abap data dictionary
What are internal tables? : abap hr
after creating lock object if does n't access record by second user what should we do?