Executing WS commands from the transaction field.
This command will execute a WS command directly from the transaction field in SAP - there is no need to put it in a script. The syntax is as shown below. The [command] section will be replaced by the actual command the user wishes to execute.
/ws[command]("argument")
The 'ws[command]' command is executed from the transaction field and does not take any options.
In actual usage, the 'command' part of the code is replaced by an actual WS command, such as 'set' or 'del'. The "argument" parameter is replaced by the actual name of the screen control to be operated on. For example, to set the Order Type field on VA01 to 'OR', we would use this command as follows:
Go to the VA01 initial screen.
Enter the following in the trasnaction field.
/wsset("F[Order Type]", "OR")
The value 'OR' has been entered in the Order Type field as shown below:
