The text command may also be used to change the name of an existing field, pushbutton or radiobutton. In this example, we will change the name of Sales Organization field on the VA01 initial screen. To demonstrate this functionality with the text command, please do the following.
-
Go to the initial VA01 screen.
-
Open the script file ('SAPMV45A.E0101.sjs') and enter the following code. Create the script file if it does not exist.
text("F[Sales Organization]", "Sales Org.");
-
Save the changes and refresh the SAP screen. It will now display as shown below: