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.
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).
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.
The submenu Virtual Machine provides administration functions for the selected VMs.
● VM ® Statistics 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.
● VM ® Technical Information 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.
· VM ® Tracing 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.
● VM ® Stack Dump 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.
● VM ® Exit 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.
The submenu Program provides functions for managing programs that are currently being processed in the selected VMs.
● Program ® Debugging 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.
● Program ® Cancel closes the program in the VM; the VM though remains running. A confirmation popup appears.