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 |
I have 2 inputs in Module pool prgm, if i click on the input i need to get drop down list..How to get it..
What is an interactive report? What is the obvious difference of such report compared with classical type reports?
How to create user interfaces for lists?
What are the classifications of the sap abap data classes?
How we can give authorization on the fields of table control in a dialog-programming?
What are the parameters in bdc_open_group? : abap bdc
How can we decide weather we can enhance the standard Infotype or not
how many indexes can be created for a table?
What are the check tables?
Differentiate database index and match code.
Hi, How to call transaction( Any transaction ex:xk03)from ALV Report. Where should I write code?
What are conversion & interface programs in sap?