Application Development 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: 

Types declaration

Former Member
0 Kudos
135

Hi,

I need to declare a variable in OO envinroment what is a same type like MD5_FIELDS-HASH_RAW8 (RAW 8).

I cannot use "like" reserved word in OO.

Can anybody advice a right type declaration ?

Thanks.

Marian

4 REPLIES 4

jayanthi_jayaraman
Active Contributor
0 Kudos
67

Hi,

Did you tried using <b>'type'</b>?

athavanraja
Active Contributor
0 Kudos
67

data: <variable> type MD5_FIELDS-HASH_RAW8 .

Regards

Raja

Former Member
0 Kudos
67

Hi Marian,

Try this out:

TYPES: type1 TYPE  md5_fields-hash_raw8.

DATA: var1 TYPE type1.

Now you can use var1 of type md5_fields-hash_raw8.

Thanks & Regards,

Kingshuk Dutta.

0 Kudos
67

why do you need the additional <b>types</b> declaration?

Raja