Transaction /guixt/uilog
You can access all UI log functions for analyzing the recorded processes and for script generation via transaction /guixt/uilog:



Transaction /guixt/uilog should only be available to a defined user group using the SAP authorization assignment; the SAP authorization object for this is S_TCODE.

Please note:
There is also the transaction /guixt/uilogpar, in which the configuration parameters of all projects can be changed directly (SAP table maintenance, equivalent to SM31 for table /guixt/uilogpar). You only need to use transaction /guixt/uilogpar in exceptional cases, for example, if you have mistakenly excluded yourself from project maintenance by entering an incorrect user name as project manager. It is sufficient to allow authorization for /guixt/uilogpar in a system administrator role.


Creating a project
All UI log recordings are assigned to a project when switching on the recording with the processing option uiLog=...in the GuiXT session script, e.g.

  ProcessingOption uiLog="On" uiLogProject="TEST01" ...

The recorded data are then stored under the specified project name; recording without a project is not possible.

The project name is arbitrary, up to 12 characters long, in capital letters. To create a project, enter the desired name and click on "Configuration". Then enter a project title and save the project configuration:

 

Further parameters (optional)

  • Local directory for script generation
    It makes sense to use a separate local directory for generating the scripts. To test the generated scripts in GuiXT, specify this directory as script directory.
    You can later adapt the generated scripts, if necessary, and then copy them into your normal GuiXT development directory.
    Default value: C:\guixt\uilog

  • List of language codes for script generation (2 characters each)
    When generating GuiXT scripts the specified languages are taken into account
    Default value: Language vector of your SAP System

  • Language independent scripts = X
    If you set language independent scripts in the GuiXT profile, enter an 'X' here
    Default value: empty (language-dependent scripts)

  • Prefix for generated GuiXT variables
    To avoid collisions with globally used variables of your own scripts, specify a suitable string here, which is prefixed to all generated variables.
    Default value: ui_

  • Prefix for generated script files
    To prevent your own scripts from being overwritten by generated scripts, specify a suitable string here that precedes all generated script files.
    Default value: ui_

    Please note: When generating menus, some scripts with the name "saplsmtr_navigation...txt" are generated without a prefix, otherwise they would not be executed by GuiXT. These scripts only contain an include statement to another generated script with prefix, for example

    include "ui_easy_access_menu.d.txt"

    When transferring to your development directory, a merge with an existing script "saplsmtr_navigation....txt" is required.

  • List of project administrators
    List of SAP user names of people allowed to edit the project.
    Default value: empty (all users allowed who are authorized for transaction /guixt/uilog)
    See below for further information.

  • Locked for UI logging = X
    UI logging for this project is blocked.
    Default value: empty (not blocked)
    See below for further information.


Setting the default values for new projects yourself

The default values for new projects are displayed in the project configuration when you click on "All projects";

You can change these general default values with the "Technical list of all parameters" button, which calls transaction /GUIXT/UILOGPAR (transaction authorization for /GUIXT/UILOGPAR is required for this):



Project selection

Project selection via F4 is supported:

 


Delete project and recorded data
The "Delete project" button on the configuration screen deletes both the configuration and the recorded processes.
If you only want to delete the recordings but keep the configuration, use the "Remove entries" button from the /GUIXT/UILOG initial screen. The project configuration is then retained::

It is also possible to delete individual recordings from a project. To do this, select the "Detailed list" in /guixt/uilog, select the lines to be deleted and click on "Delete entries":

 

Copy recordings from one project to another
It is possible to copy recordings from one project to another, for example, to look at them in detail later or to generate a single-screen transaction with selected processes, which then contains the exact fields used in the selected processes.
To do this, select the "Detailed list" in /guixt/uilog, select the desired lines and click on "Copy entries":

 



Block the recording for a project
When the recording for a project is completed, you can lock the recording function in the project configuration and thus block further recordings:

If recording is still enabled for a user, the UI log recording mode is automatically disabled the first time the user tries to save recording data for this project.

If you want to record data only for a certain period of time, you can set the time interval in the GuiXT session script, e.g.

/ Switch on for 3 days
  Set V[thisday] "&V[today_d.m.y]"
  if V[thisday=01.09.2020] 
  or V[thisday=02.09.2020] _
  or V[thisday=03.09.2020] 
    ProcessingOption uiLog="On"  uiLogProject="A02" ...
  else
    ProcessingOption uiLog="Off"
  endif

 
Allow only certain users to edit a project
If you enter one or more users as project administrators in the project configuration, only these users can view and analyze the project recording data and maintain the project configuration:

If you have excluded yourself from a project by entering an incorrect user name, a person authorized for transaction /guixt/uilogpar can correct this directly in the project configuration table: