Purpose Add leading zeros to a string if it is numeric, e.g. a customer number For particular key fields SAP uses the "alpha" conversion exit; it adds leading zeros if the value is numeric, leaving the value unchanged if not. |
Solution
//sample value if V[kunnr] // numeric? then add zerosSet V[x] "&V[kunnr]" regex="^\d+$"
If
Q[ok] endif |
Components |