cancel
Showing results for 
Search instead for 
Did you mean: 

number check

Former Member
0 Kudos

i haav a character type field in my dialog program i want to check that only numeric digits shud be allowed and '.' also be allowed in that field...

ranjeet

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi you can make use of packed decimals

PACK TYPE P DECIMALS 2 VALUE ‘2.26’,

regards,

sangram

ferry_lianto
Active Contributor
0 Kudos

Hi,

Have you looked FM <b>NUMERIC_CHECK</b>?

Hope this will help.

Regards,

Ferry Lianto

Former Member
0 Kudos

put like this

if bkpf-xblnr na '.0123456789'.

message.

endif.

Regards

Prabhu

Former Member
0 Kudos

Hi,

Why not you try with pack type.

Regards,

Sumit.