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

datatype

Former Member
0 Likes
800

Hi,

I need to add a field with datatype which can accept alphanumeric values.

it should take a symbol before a numeric value.So, what can I select for this?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
778

Hi,

You can use INT4 data type.

DATA: V_INT TYPE INT4 VALUE -1.

DATA: V_INT1 TYPE INT4 VALUE 1.

Thanks

Naren

6 REPLIES 6
Read only

former_member194669
Active Contributor
0 Likes
778

Hi,

Choose any datatype with type as NUMC.

aRs

Read only

Former Member
0 Likes
778

Hi,

Please give a sample data..

Also what will be symbol

Thanks

Naren

Read only

0 Likes
778

it is for temperature...

data would be like...

-12 or +12

Read only

Former Member
0 Likes
779

Hi,

You can use INT4 data type.

DATA: V_INT TYPE INT4 VALUE -1.

DATA: V_INT1 TYPE INT4 VALUE 1.

Thanks

Naren

Read only

0 Likes
778

I have to add field into the DD table

Read only

0 Likes
778

Hi Ramana,

Use any CHAR type. Lets say if you want length as 10 then use CHAR10 like this.

Regards,

Atish