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

ROUTINE NUMC

Former Member
0 Likes
878

Is there any routines that initialize a numeric field with the value space?

Edited by: francesco aiello on Nov 17, 2009 11:10 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
826

Hi,

Try this function module,

SSM_REPLACE_CHAR_BY_SPACE

Regards,

Kalp..

7 REPLIES 7
Read only

Former Member
0 Likes
827

Hi,

Try this function module,

SSM_REPLACE_CHAR_BY_SPACE

Regards,

Kalp..

Read only

0 Likes
826

I need to put the space in a field on numc database table.

Read only

0 Likes
826

help

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
826

Hello Francesco,

Initial value for a data of type NUMC is "0" for each position i.e., for NUMC2 it is "00" & for NUMC04 it will be "0000".

You cannot pass space as initial value. You have to change the data type or try some workaround.

BR,

Suhas

Read only

0 Likes
826

It is possible use a default value for NUMC that indicates the null value?

Read only

0 Likes
826

help

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
826

Hello,

If you are using NUMC the initial value will always be 00... (based on the lenght) as i have mentioned earlier.

AFAIK using NUMC you cannot have SPACE or NULL as initial value.

BR,

Suhas