In the following example, we will pass some parameters to the onUIEvents command with the 'using' option. To demonstrate this, please do the following.
Open the Easy Access script file (SAPLSMTR_NAVIGATION.E0100.sjs) and enter the following code:
onUIEvents['Enter']={"fcode":"/nva02","process":test_UIEvent, "using":{param_1:15965}};
text([4,1],'This example includes the execution of UI action Enter. Hit Enter to execute process');
Note: The parameter we will pass is the value '15965'.
Now create a function that will actually do the work of passing the parameter. An example is shown below: