General Topics

GuiXT scripts, images (gif, jpg) and InputScripts can be stored in:

  • local files, i.e. under C:\GuiXT\Scripts
  • central fileservers, i.e.  \\p00145\GuiXT\Scripts
  • http-servers, i.e.
  • ftp-servers, i.e.
  • SAP Web Repository (SAP database), i.e. sapwr:z.guixt.demo

Each of these solutions offers specific advantages and drawbacks:

  • local files are best used during development and for small user groups
  • central fileservers offer easier administration without increasing the load on the SAP database
  • http and ftp servers are a good choice when using several local networks
  • the SAP Web Repository offers a centralized administration with connection to the SAP transport and correction system. The built-in cache mechanism of GuiXT will keep the  database and network load to a minimum  as each object will  be loaded only once per SAP session.
You can centrally store all GuiXT scripts, images, InputScripts and html templates in the SAP Web Repository
Specification in the profile
In the GuiXT profile, under
Scripts1,... Scripts4, you specify  the string sapwr: followed by a freely chosen name.

The name should start with the letter Z, as customer specific objects start with Z in the SAP Web Repository.

Example: sapwr:z.guixtobjects

Specification in a script
If you specify an image or an InputScript without indicating the path, it will automatically be searched for at the same place as where the script is located, in this case the Web Repository. You can also directly specify  the Web Repository, i.e.:

Image   ... "SAPWR:Z.Images.logo.gif"

This notation is also possible in local scripts.

Optional specification of a different SAP system
If you want to access another SAP system, you can use the option dest=xxx to specify the identification of the selected system.

Example: sapwr,dest=S46:z.guixtobjects

In this case the access will be as specified in the file saprfc.ini (usually located in SAP workdirectory). Please refer to SAP documentation about Remote Function Call for additional details.

The option dest=xxx is especially useful when you want to use the scripts from a productive system within a test system.
Create objects in the SAP Web Repository
- development class -

For the transport of objects between several SAP systems (development/test/production) you need a development class which can be created with transaction SE80.


Transaction SE80 (create development class)


Creating objects in SAP Web Repository
- create images and scripts -
With transaction SMW0 (SAP Web Repository) you can create the objects you want.

The name comprises the identification you previously specified in the GuiXT profile, i.e.: Z.GUIXT, a dot (.) and  the usual file name including the extension .txt, .gif,...



Please note the following:

  • select "binary data" in the initial screen of transaction SMW0
  • do not modify type "binary" during download of files
  • a meaningful title saves you time in later searches
Transaction SMW0 (SAP Web Repository)


Choose binary data and start overview



You can specify the name by using the generic format



You can copy and create objects from the list



Make sure the object name is correct and that you choose a meaningful title.



You may need to assign a MIME type for the object (Settings, Maintain MIME types) 



Specify a development class or click on "Local object" in the case of a local object for tests


Release function WWW_GET_MIME_OBJECT
Depending on your SAP version is might also be necessary to release the function  WWW_GET_MIME_OBJECT with transaction SMW0. GuiXT uses this function for  Web Repository access.


Choose  Internet release->Function modules(F7) . You can now display a list of all released functions:


If  WWW_GET_MIME_OBJECT is not yet contained in this click, then enter the name WW_GET_MIME_OBJECT und click on  the "Release" button.


Step-by-step instruction for importing a script into SAP Web Repository