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.
Answers were Sorted based on User's Feedback
Answer / mohanty
First is the structure and the second one is structure data type
Is This Answer Correct ? | 16 Yes | 2 No |
Answer / aka ashishy
1st one is a structure and the 2nd one is its data type which is like a blue print which tells how the values of the structure gonna reside.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / md
Types means just declaration which doesnot allocate memory
Data means data type of structure which allocates memory
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
Answer / dillip kumar mishra
First one is work area and second one is a strucure.
Is This Answer Correct ? | 3 Yes | 6 No |
Answer / sivaramakrishna
first one is declaring internal table in old format without headder line(declaring with out workarea),second one is declaring internal table in new format.
Is This Answer Correct ? | 0 Yes | 3 No |
What is a transaction variant and why are they used?
How do you take care of performance issues in your ABAP programs?
What are work process in ABAP?
how to download sap Smart form in text format
What is a difference between - RETURN, EXIT, CHECK, STOP & REJECT - To leave the processing blocks
What is a help view? : abap data dictionary
If u use US Database server? How can access the client?
What is the meaning of abap editor integrated with abap data dictionary? : abap data dictionary
What is foreign key relationship?
How you upload Logo?
What do you understand by work area and internal tables in abap? Why do we use it?
What is runtime analysis?