Show TOC

Using Check Functions for Form ObjectsLocate this document in the navigation structure

Use

You can use check functions to make sure that the created form objects are free from errors and that the layout meets your requirements. The system performs automatic checks when a form object is activated.

The system provides the following check functions:

  • Syntax check of form interface

  • Syntax check of form context (for example, the system checks whether all properties of the fields are entered, whether the assigned interface is active, whether all fields in the context have a connection to the interface).

    The system also performs these checks when the layout editing function is called.

  • Checks each time a form object is activated

  • Checks the form layout (the system checks whether all fields from the context have been inserted in the layout, and also whether all fields in the layout have a data link to the context).

  • Preview of PDF form with and without inserted data (in Adobe Reader or Adobe Acrobat)

  • Test of form template

    The system generates a function module that contains the form description. You can send test data to this function module, which then inserts this data in a print preview of the form.

Prerequisites

To check and preview the form layout created using Adobe LiveCycle Designer, you must have Adobe Reader or Adobe Acrobat software installed on your frontend.

Procedure

Checking Form Interface and Form Template

  1. Open the form object in the Form Builder for editing.

    More information: Calling Form Builder to Edit Form Objects

  2. On the respective tab page, choose Check (CTRL+F2) in the toolbar.

  3. The system performs the check and displays any errors in a list, with messages.

  4. Double-click a message to locate the error in the form object.

Checking a Layout

  1. You are in the Form Builder on the Layout tab page of a form template.

  2. In the application toolbar, choose Layout .

  3. The system checks the layout and displays the check results if there are any errors. The messages are output as warnings, that is, you can activate the form object. You cannot navigate to individual fields.

Preview Without Data

You use the preview function in Adobe LiveCycle Designer to display the form in PDF format while you are creating the layout. However, this function does not insert any data. The preview can differ in appearance from the form created at runtime or during a test. This is because the preview generates a PDF using the functions in Adobe LiveCycle Designer and the settings in your frontend, not Adobe Document Services. For more information, see the online help for Adobe LiveCycle Designer.

Print Preview with Inserted Data, Testing Form

When you display the print preview (by choosing the test function), Adobe Document Services generates the form and displays it in Adobe Acrobat or Adobe Reader.

Note

Note that there may be differences between the appearance of the form in the print preview, and the actual printout from the SAP system, particularly when using front-end printing. There may be differences in:

  • Character set selection and display

  • Country settings

  • Margins, zoom, and scaling

To test a form, proceed as follows:

  1. You are on the Context or Layout tab page of a form template.

  2. In the application toolbar, choose Test (F8) .

  3. Enter the test data for the import parameters and choose Execute .

  4. Enter the necessary data in the print settings dialog and choose Print Preview .

  5. The system starts Adobe Acrobat or Adobe Reader and displays the PDF form with your data inserted.

    Note

    If the form does not appear how you want it to, or if errors occur, activate the function Save Runtime Information About Form Generation Locally and repeat the test.