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

Generic Type Error

Former Member
0 Likes
2,342

Hi , Used generic type is clike

Abap code : data lv_clike TYPE CLIKE .

Syntax Error

"CLIKE" is a generic type. A type reference is possible only for field

symbols and formal parameters . . . . . . . . . .

Burhan KARADERE

5 REPLIES 5
Read only

Former Member
0 Likes
1,226

Hello,

CLIKE can be used only with field symbols. For example.


field-SYMBOLS <fs> type clike.
data tab(10).

assign tab to <fs>.
<fs> = 'TABLE'.
write <fs>.

Regards,

Sachin

Read only

0 Likes
1,226

In addition, CLIKE is allowed n the signature of methods.

Read only

0 Likes
1,226

PARAMETERS with can I use ?

Read only

0 Likes
1,226

If you do not know the length for the c var you need to store use strings instead.

Read only

0 Likes
1,226

> If you do not know the length for the c var you need to store use strings instead.

field-SYMBOLS " is unknown.