To demonstrate pattern matching, please do the following:
Open the Easy Access script file (SAPLSMTR_NAVIGATION.E0100.sjs) and enter the following code. Create the script file if it does not already exist.
inputfield([4,1],"Order Type",[4,10], {"name":"z_ord", "size":20,"smartattributes":"rf_pattern=??^rf_validate=/va01});
Save the changes and refresh the SAP screen.
Enter the following into the field:
1000
Press Enter
If the entry does not match the pattern, the screen will display an error message. otherwise, the process will continue.