Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to check if a character is a digit

Hello All,

I have a string that I need to parse depending of what digits do it contains. My question is: are there any FM that determines if a character is a digit or not?

Thank you,

Diana

Tags:
replied
IF char CO '0123456789'
==> digit
ELSE.
==> something else
ENDIF.
0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question