Show TOC Entering content frame

Function documentation Using the Generation Workbench Locate the document in its SAP Library structure

Use

The Generation Workbench is a developer's tool for analyzing generation details and regenerating runtime objects.

Prerequisites

You must have performed an initial generation of runtime objects. For details, see Generating Runtime Objects.

Features

Based on a selection of generators and repository object names, the following generation details will be displayed:

·        Meta-info function

Generation template

·        Runtime objects

Incomplete runtime objects can be regenerated.

Generators can be created using a wizard called Generator Builder. Generators can be deleted.

Activities

Choose Architecture and Technology ® Middleware ® Development ® Generation ® Generation ® Generation Workbench to call up the Generation Workbench in the Object Navigator.

Then proceed as follows:

...

       1.      Select a generator group from the drop-down list at the top of the screen.

The field to the right of the generator group displays the industry, if relevant.

The list boxes Repository object name and Generator display all the objects and generators of the generator group you selected.

If you select a generator group that depends on another generator group, the parent generator group is displayed in the Parent column.

       2.      Mark a selection of repository object names and generators. Generators are used to generate runtime objects for a repository object.

You can  mark all active generators by clicking on Mark active generators. Active generators are used during the normal generation by the application. Inactive generators are only used during development of a generator.

       3.      To check details of your selection, click on the Check symbol.

The Object name tree view appears in the lower half of the workbench screen.

It contains a list of the selected generators with generation details.

The tree view of each generator contains the following elements:

-          Generator group as selected in step 1.

-          Generators as selected in step 2.

For each generator, some or all of the following objects are displayed:

-          Meta-info function

This is a function module which delivers the meta data of a runtime object depending on a repository object.

-          Templates

Contains code and control commands for the SAP standard generator  RSS_TEMPLATE_INSTANTIATE  to generate ABAP source code (needed for the generation of function modules and include programs).

-          Runtime objects

Executable ABAP sources and DDIC objects (such as function group, function module, structure, table, lock objects, etc.).

Using context menus

Clicking the right mouse button on one of the following tree view objects displays a context menu. Various operations can be performed on these objects. 

-          Meta-info function, Templates and Runtime objects

The navigation operations of the Object Navigator are available for these objects.

For example, the Display operation lets you display the object coding in the work area. You can also display object coding by double-clicking on an object. Object coding displayed in the work area may undergo the typical operations available in the Object Navigator (change, delete, activate, where-used list, syntax check, etc.)

       4.      Check the status:

Success                       Successfully generated. Reference and object exist.

Error                             Generated with errors. Reference or object missing.

Initial                             No reference and object exist (initial).

Update required             Meta data are younger than the object.

No generation required    Object already exists or repository object requires no generation.

Obsolete                       Obsolete object was deleted.

Clicking on the status text of a runtime object displays the Generation Log. The Generation Log contains details of the last generation session during which the runtime object was generated. 

Objects that have the status Error, Initial or Update required must be analyzed.

You can debug the generation of repository objects by choosing the Debug symbol.

To add objects to the generation queue in status Waiting, choose the relevant symbol.

 


 

Leaving content frame