Activating Objects 

Use

You can activate either your entire worklist, selected objects, or just components of one object (classes in ABAP Objects).

Prerequisites

Before activating an object, the system checks the syntax of the entire object (main program, function group, or class). Any syntax errors are displayed in a list. However, it is still possible to activate objects even if they contain errors. This can be useful if you want to create templates for coding generators.

Procedure

  1. Select the relevant object in the object list.
  2. Choose Activate from the context menu or the icon.
    Your worklist appears. The selected object is highlighted.
  3. Choose to confirm your selection.
    If you are activating an include that cannot be assigned to a single main program, the system asks you for a main program. Choose one main program from the list of programs that use the include.
    A message in the status bar informs you that the object has been successfully activated.

Result

When you activate an object, its syntax is checked. The check uses the inactive versions of the components selected for activation, but the active versions of all other components.
The inactive versions are used to create active versions of the objects. A new runtime version is then generated. Finally, the inactive version is deleted and removed from the list of inactive objects.

Special Features

When you activate an entire object from the object list, only the inactive objects belonging to that object are displayed in the worklist. However, you can display all of your inactive objects by choosing All inactive objects.