Adding icons

Using icons with the text command is supported as well. In the following example, we will add an icon to the Sales tab on the VA02 Overview screen. The following elements are supported when using icons with the text command:

To demonstrate how icons are used, please do the following.

  1. Goto the initial VA02 screen.
  2. Open the script file ('SAPMV45A.E0102.sjs') and enter the following code to rename the Search pushbutton. Create the script file if it does not exist.
    text("P[Search]", "@12@Order Search"); 
  3. Save the changes and refresh the SAP screen. It will now display as shown below:
  4. On the initial VA02 screen, enter the Rush Order number '5065' and press Enter. The Overview screen will display.
  5. Open the script file ('SAPMV45A.E4001.sjs') and enter the following code to rename the Sales tab. Create the script file if it does not exist.
    text("P[Sales]", "@12@Renamed"); 
  6. Save the changes and refresh the SAP screen. It will now display as shown below: