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?