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 partner selection?
What is the significance of delivery class ? : sap abap data dictionary
what is the use of SLIS type pool in alv reports?
Can matchcode object contain ids with different update types? : abap data dictionary
in ECC6.0 version which package u r working means what? if errors occurs during database updation using bapi how vl v know??bcoz it directly updates db?? how vl v pass tables in smartformd?
Difference between Read and Get cursor?
What are matchcodes?
Why lsmw does not support call transaction method? : abap bdc
Explain sap abap 3-tier architecture?
wat are the SAPscript symbol?which of the following is not a SAPscript symbol?
how do you pass table to function module?
How will you do in session method?
3 Answers FutureSoft, Unilogic Software,