Start of Content Area

Function documentation Context in 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 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 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 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 Form Builder for the context:

From 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. Form Builder starts.

Note

You cannot edit if you have chosen Display.

       5.      Define the layout type of the form. To do this, choose the Properties tab page.

       6.      Create or edit the context. To do this, choose the Context tab page.

Editing the Form Context

You can edit the form context in the following ways:

      Create nodes

      Move and copy nodes

      Set node as active or inactive

      Update nodes

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

 

End of Content Area