Show TOC Start of Content Area

Background documentation Logical Criteria  Locate the document in its SAP Library structure

Composite forms in Guided Procedures (GP) enable you to attach multiple physical form templates to the same composite form object at design time, while at runtime rendering a single form according to certain criteria. For example, you can attach invoicing templates that differ only slightly according to the specific requirements of the country where they are to be used. At runtime, when the relevant country is specified, the system renders and displays the appropriate form only.

This can be done using logical criteria.

Logical Criteria Objects

In the GP design time, you can create a logical criteria object. It contains a set of values that you can use for form rendering.

Having a default value in the set is required. It is used at runtime if there is no input that matches any of the specified values.

Logical Criteria Use

When you create a composite form object, you can choose whether you want to attach a single form template, or a logical criterion to the object. If you choose to add logical criteria, you can choose from the ones that you have created and activated in the GP gallery.

You can build complex logical criteria structures by attaching other logical criteria to the root object’s nodes.

For each node, you can then add a separate physical form template that is associated to the relevant value and is displayed when this value is passed as an input.

In addition, you can map parameters from the form context to the logical criteria nodes. If you have defined mappings, they are evaluated before the defaults are considered – that is, if you have passed a certain value to the relevant input parameter, the associated form is displayed instead of the default form.

For more information, see:

Creating Logical Criteria

Adding Content to Field-Based Templates

Adding Content to Schema-Based Templates

 

End of Content Area