Author Topic: Changing Script Directories within a Session  (Read 7212 times)

Sabir Mohammad

  • Administrator
  • Newbie
  • *****
  • Posts: 52
    • View Profile
Changing Script Directories within a Session
« on: September 28, 2017, 11:01:54 AM »

Purpose:
      Executing scripts from different directories by specifying the directory path in the SAPGUI command bar.  This will be useful when user wants to test different scripts written for a particular screen within a session, avoiding the need of stopping GuiXT WS to define script directories manually in the guixt.sjs file.

Syntax:
The following syntax can be given in the command bar.
/n[tcode]/dx=c:\\directoryname.
The script directory is specified by 'dx' where 'x' takes values of [1-4].

Example:
/nva01/d1=c:\\guixt\\scripts1
/nva01/d2=c:\\guixt\\scripts2
/nva01/d3=c:\\guixt\\scripts3
/nva01/d4=c:\\guixt\\scripts4