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
Can you assign a matchcode object to a parameter? If so how?
What is a multiple line field?
Does every abap/4 have a modular structure?
What is a projection view? : abap data dictionary
What is a subscreen? How can we use a subscreen?
What are the Synchronous and asynchronous methods in bdc ?
Is it possible to pass data to and from include programs explicitly? : abap modularization
Explain what are the events used in interactive reports?
What is the structure of the bdc table? : abap bdc
How to handle error in session method? : abap bdc
What are the types of search helps? : sap abap data dictionary
Differentiate between abap memory and sap memory?
Explain the advantages and disadvantages of different types of bdc's?
What are hashed tables?
Differentiate between table and template ?