Hi!
In some instances you may have to validate if the field content is numeric or not. This step becomes mandatory when designing a program that upload external data to SAP. For example excel, CSV or text file content upload.
This is simple code that check if a string variable contain only numeric values.
Program checks if the value in variable "lv_string" is numeric.
Key word "CO" checks if the string variable only contain characters in "lc_num".
Labels: Check, Check numeric, CO, CO key word, content, data upload, digits, Excel, external data, numbers, numeric, SAP, SAP ABAP, text file, Validate, validation, Variable is numeric