Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Difference needed between concepts

Former Member
0 Likes
542

Hi friends,

Can anyone explain me the difference between the following :

1) TYPE , TYPES and LIKE

2) xyz TABLE OF abc , xyz STANDARD TABLE OF abc.

I want to know as to where to use TYPE , TYPES and LIKE.

Also when should we write TABLE OF and when STANDARD TABLE OF and if written any , whats the difference.

Kindly help !!!!!

3 REPLIES 3
Read only

Former Member
0 Likes
503

Hi Akjain,

You will get good explaination if you use F1 help in ABAP editor. If you still need further information post here again.

--

Reddy

Read only

Former Member
0 Likes
503

Hi

See exxamples:

You can

var type matnr

var like mara-matnr

You can

w_var like mara-matnr.

var like w_var.

but you can't

var type w_var.

its always var type (Basic data type).

Regards

Sagar

Read only

ThomasZloch
Active Contributor
0 Likes
503

Please search before posting, use F1 or SAP online help.

Thread locked.

Thomas