what is the difference between
data: begin of ty_emp,
eno type i,
ename type string,
dno type i,
end of ty_emp.
and
types: begin of ty_emp,
eno type i,
ename type string,
dno type i,
end of ty_emp.
Answer Posted / jwalitha
using the statement -Types
we can declare own data types
TYPES dtype [TYPE type|LIKE dobj] ...
where as using DATA statement
we can declare own variables or instance attributes of classes
DATA var [{TYPE type}|{LIKE dobj}] ...
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a view? : abap data dictionary
Explain what is a foreign key relationship? Explain this with the help of an example.
What is the process to enhance the Infotype
Difference between sy-tabix and sy-index?
Can a domain, assigned to a data element be changed? : abap data dictionary
How to debug a sapscript?
How to read files and process BDC's automatically ?
What are the different types of laws. What are they?
How move-corresponding works
What is a data dictionary? : abap data dictionary
What are the events used in abap in the order of execution?
What is sapnet?
How to handle error in session method? : abap bdc
What is a database view? : abap data dictionary
What are the tcodes for performance tuning?