Entering content frame

Function documentation Context in the Form Builder Locate the document in its SAP Library structure

Use

In the context (also known as the form context), you specify which data is copied from the interface to the form. You include this data as a node in a hierarchy structure. In this hierarchy, you also decide the form logic by specifying conditions for processing the nodes.

 

Prerequisites

You have created the form objects Interface and Form.

 

Integration

The context function in the Form Builder is the link that binds the interface to the layout. You construct the form context from the existing interface. The system sends the form context to the layout function of the Form Builder automatically. The layout function calls Adobe Designer, and the form context itself appears as a hierarchy under Data View. When you create the layout, you use the Data View nodes to include the data in the form.

 

Features

You use the form logic of the context to control which rules are used to send the hierarchy nodes to the layout, and how they are processed. To view the entire form logic, expand all nodes. The form logic determines the following:

·        Whether the content of the node (text, addresses, graphics) are included in the output

·        Whether the data of a node is Active or Inactive

·        Whether a specified node or an alternative node is processed

...

For each node, a properties window is displayed under the context. You can specify conditions, if this is supported by the selected node. If the condition is met, then the node is processed. If the condition is not met, then the node is skipped, as well as all its subnodes. You can also specify WHERE conditions for the selection of data from tables. Only active nodes are forwarded to the Form Builder to be processed in the layout. In this way, you can hide any items, such as table fields, that you do not need.

 

Activities

There are two ways of calling the Form Builder for the context:

From the ABAP Workbench (Transaction SE80)

From the object list, choose Form Objects ® Forms and select a form.

From Transaction SFP

       1.      Call transaction SFP.

       2.      Choose Form.

       3.      Enter the name of the form.

       4.      Choose Create, Change, or Display.

The Form Builder starts. You can start to edit the form. This is not possible if you have chosen Display.

Editing the Form Context

You can edit the form context in the following ways:

·        Creating Nodes

·        Moving and Copying Nodes

·        Setting Nodes as Active or Inactive

·        Updating Nodes

For an overview of the graphical user interface, see Screen Display in the Context of the Form Builder.

 

Leaving content frame