Show TOC

Creating and Editing a ContextLocate this document in the navigation structure

 Contexts are obsolete and should not be used. Contexts were introduced in Release 4.0 for high-performance access to frequently required data. Since the introduction of ABAP Objects for Release 4.5, contexts have not been developed further. Since Release 6.40, contexts can be replaced by shared objects .

To create a context, call Context Builder (transaction SE33) and enter a name for your new context in the Context field. In the Subobjects group box, select Fields and Modules, then choose Create.

On the next screen, you enter the attributes for your context:

When you have saved the attributes, choose Fields and Modules. The context editing screen is then displayed.

There are three tables on this screen, in which you enter the fields , modules and interfaces in your context. You can enlarge each of these tables by choosing Enlarge .

The contents of the individual tables are interdependent, and are filled automatically to a certain extent.

The next three sections use simple examples to demonstrate how you can create contexts using different modules.

Using Tables as Modules

Using Function Modules as Modules

Using Contexts as Modules