Show TOC

Functions for VMs and Programs (Menu Edit)Locate this document in the navigation structure

Use

The Edit menu in the overview screen of the transaction provides administration functions for VMs (in submenu VM), and functions for programs currently being processed (in submenu Program).

The other options in this menu concern general table operations of the ALV control.

Prerequisites

The VM Container is active and you are on the initial screen of the VM Overview (transaction SM52).

For many of the functions described you need authorization for system administration (authorization object S_VMCADMIN).

Features

Select the VMs you want to edit by clicking in the left selection column in the VM table. You can select several lines at the same time using CTRL and click.

The following administration functions for VMs and for the executed programs are provided.

Submenu VM

The submenu VM provides administration functions for the selected VMs.

  • Start of the navigation path VM Next navigation step Statistics End of the navigation path shows in the VM Statistics view internal measurement results on the runtime behavior of the selected VM(s). These statistics are useful for VM developers to analyze VM performance. Though, note that the data only represents a snapshot of the application currently running.

  • Start of the navigation path VM Next navigation step Technical Information End of the navigation path shows in the VM Technical Information view a two-column table containing technical details on the selected VM(s). The data is useful for VM developers to analyze errors.

  • Start of the navigation path VM Next navigation step Tracing End of the navigation path is used to activate and deactivate trace flags for the VM(s). This function requires authorization for system administration, and is primarily useful for VM developers to search for errors. First a confirmation popup appears, then a selection screen with the possible trace flags. You can find a description of the individual flags under VM Container Trace Flags.

    You can activate and deactivate these flags individually. Choose Execute to accept the settings. They are active immediately, that is, they lead immediately to entries in the trace file of the assigned work processes (for example, dev_w0). For more information, see Developer Traces.

    If the trace is activated for a specific VM, this VM is highlighted in yellow in the VM Overview.

  • Start of the navigation path VM Next navigation step Stack Dump End of the navigation path writes a stack dump of the VM(s) into the trace file of the assigned work process (dev_w0, dev_w1, …). The function requires authorization for system administration.

  • Start of the navigation path VM Next navigation step Exit End of the navigation path closes the selected VM(s) including the programs currently being processed. The function requires authorization for system administration. A confirmation popup appears. The VM is deleted and instantiated again if the deletion causes the number of VMs of this type to fall below the minimum number defined in the configuration.

Submenu Program

The submenu Program provides functions for managing programs that are currently being processed in the selected VMs.

  • Start of the navigation path Program Next navigation step Debugging End of the navigation path activates the debugger for the program in the respective VM. A confirmation popup appears. When the VM receives its next processing request, the VM is moved in to waiting status so that a debugger can connect to the VM. After you refresh the display you can see the dedicated port number in the table column Port.

  • Start of the navigation path Program Next navigation step Cancel End of the navigation path closes the program in the VM; A confirmation popup appears.