Maintaining Customer Content Form Templates

Objective

After completing this lesson, you will be able to work with master form and content form templates

Master Forms and Content Forms

Play the video to learn more about form templates.

The master layout typically comprises the frame of the form and the parts that may be repeated across forms, such as a logo, a form title, sender address, recipient address, and footer blocks. Additionally, settings such as page size and page orientation can be defined with the master layout.

For the recipient address and the title, there are only reserved form elements in the master layout. They can be set at runtime from the content layout with actual values. For example, by scripting or BAdI implementation.

Form Template Types

Types of form templates

Master FormContent FormStandalone Form

Can be referenced by a content form

References one specific layout variant of a master form

Does not reference a master form template

Contains one or more layout variants

Is implemented against this one specific layout variant

Has its own layout definition

Contains placeholders for static content (such as logo and footer texts)

Can dynamically change elements on the master form (via scripting)

Contains master and content in one form

Can be merged with content form template

Can be merged with master form template

Is a separated template (XDP file)

Is a separated template (XDP file)

Is a separated template (XDP file)

A master layout can be referenced by a content form. The master layout can comprise several layout variants, but the content layout can only reference one layout variant.

The standalone form includes both static and dynamic data. The standalone form does not reference any master form. Cross-form reuse of fragments is not possible with a standalone form.

Play the video to view an example of a warehouse order/billing document.

Play the video to learn how to connect the master form and content form.

A content form may refer to different master forms in different configurations. Which master form is to be used, from which content form, in which situation is defined in the configuration.

For example, there may be a situation where a logo needs to appear on the left side of the header, but in other situations it is to appear on the right side of the header.

How to Work with Master Forms and Content Forms

Business Example

Create a content form and combine it with a master form.

Follow the simulation to learn how to work with master forms and content forms.

Log in to track your progress & complete quizzes