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


Please Help Members By Posting Answers For Below Questions

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

614


What is an abap instance?

614


what precautions or prerequisites do you follow to update a record into database table and how

5255


Does sap handle multiple languages?

562


Explain the differences between at selection-screen and at selection-screen output?

539






How to analysis Background Job for performance Issue?

772


How do you send files to the legacy systems from SAP and vice versa? How does one know that the legacy files have come on to the SAP server you are working on?

731


What is the maximum number of structures that can be included in a table or structure

648


What happens if a function module runs in an update task? : abap modularization

601


Difference between user exit and badis?

614


What is the difference between abap and hr abap? : abap hr

615


What’s value table?

590


What data is contained in data dictionary? : abap data dictionary

646


What is a table pool?

628


Can you show multiple alvs on a single screen?

606