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
What are the different abap editors? What is the used of different editors in abap?
What are different types of parameters?
How to load data from ms excel sheet to sap by using bdc method ? : abap bdc
What is the difference between a structure and an append structure?
How can we handle table control in bdc? : abap bdc
What are the different software packets available in the market? : sap abap hr
please any one can tell me How to validate the data in Table maintinance generator?how can u validate the table field values if u r entering the data into fields .it shows record is wrong?wher we can done validation in table maitenance generator before getting the data as out ?
What are the functions of lock objects?
What is new enhancement framework?
data:zxyz type xyz. where xyz is a standard sap structure where it contains data type fields and line type (refer to other structure) fields. my question is how to assign values to field zxyz-str-matnr where str is a structure inside xyz structure.
What is the use of table maintenance allowed?
How to copy table across clients?
Is there any method apart from bdc for data upload to sap? : abap bdc
Name the special commands of list?
what are Hana Basics