Skip to Content
0
Former Member
Jun 22, 2010 at 12:49 PM

Checking if a value is supported for a given type

16 Views

Hello Experts,

I have a value of Type string. e.g. 2.3

I want to check if this value can be of type p in ABAP.

My idea is to move 2.3 to type p and catch an exception if 2.3 or any other value cannot be converted to p.

Can someone please give me an insight how to implement this?

Thanks,

Nitish.