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: 

datatype

Former Member
0 Kudos
97

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

Former Member
0 Kudos
75

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

former_member194669
Active Contributor
0 Kudos
75

Hi,

Choose any datatype with type as NUMC.

aRs

Former Member
0 Kudos
75

Hi,

Please give a sample data..

Also what will be symbol

Thanks

Naren

0 Kudos
75

it is for temperature...

data would be like...

-12 or +12

Former Member
0 Kudos
76

Hi,

You can use INT4 data type.

DATA: V_INT TYPE INT4 VALUE -1.

DATA: V_INT1 TYPE INT4 VALUE 1.

Thanks

Naren

0 Kudos
75

I have to add field into the DD table

0 Kudos
75

Hi Ramana,

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

Regards,

Atish