Reply from Lukasz Pegiel on Jul 4 at 3:38 PM Hi Neal, I guess you can use one of existing conversion exits to check that. I'll look later and let you know. Regards Lukasz Od: R. N. Wilhite [mailto:email@removed] Wys?ano: Thursday, July 04, 2013 05:44 PM Do: PEGIEL Lukasz Temat: [sap-dev] Looking for IS_NUM in ABAP Question from R. N. Wilhite on Jul 4 at 12:31 PM We all know: NUMERIC_CHECK. if var CO '0123456789,.'. *var is numeric. else. *non numeric. endif. To check for a number before moving it to a real number. We can extend this as: if var CO '0123456789,. +-'. Because "-12,345.678 " should still scan as a number. But then we get to: 1,23,456.00 1,2-3,45 1,2.3,45 None of these scan! Do I need to make my own FM, or is there something simple to test this? Neal Reply to this email to post your response.
| | | ---------------Original Message--------------- From: R. N. Wilhite Sent: Thursday, July 04, 2013 12:34 PM Subject: Looking for IS_NUM in ABAP We all know: NUMERIC_CHECK. if var CO '0123456789,.'. *var is numeric. else. *non numeric. endif. To check for a number before moving it to a real number. We can extend this as: if var CO '0123456789,. +-'. Because "-12,345.678 " should still scan as a number. But then we get to: 1,23,456.00 1,2-3,45 1,2.3,45 None of these scan! Do I need to make my own FM, or is there something simple to test this? Neal | | Reply to this email to post your response. __.____._ | _.____.__ |