Replacing text on a single screen.
To use globaltextreplace on a single screen, please do the following:
Open the script file for the VA01 Overview screen. The default screen appears as follows:

Create a process that will call the globaltextreplace function. An example is shown below:
function do_gtr() {
set("F[Sold-to party]", "1460");
set("F[Ship-to party]", "1460");
load("wsoffice.dll");
globaltextreplace(/Order/, 'Request', {"ocx":true, "listscreen":false, "screen":"SAPMV45A.4001"});
}
Create a toolbar pushbutton to call the function. An example is shown below::
pushbutton([TOOLBAR], "Text Replace", {"process":do_gtr});
Click the pushbutton. The process will run and replace all instances of with . The screen now appears as shown below:
