Show TOC Start of Content Area

Function documentation Interactive Form Validation  Locate the document in its SAP Library structure

Use

In Guided Procedures you can validate the output of the interactive form. For example, you can use an RFC-enabled function module to check if the form output is consistent with the data required by the back-end system.

Prerequisites

To use a service for validation, you must have exposed it as a callable object. For more information, see Creating Callable Objects.

Features

The validation of the interactive form output is implemented by mapping the output parameters of the form to the input parameters of the relevant validation service.

The GP framework provides an error handling mechanism that enables you to automatically send a mail to the step processor if an error occurs.

Activities

The definition of form validation is part of the procedure for exposing the form as a callable object.

To define form validation:

...

       1.      In the gallery, select the relevant callable object and open its design time.

       2.      Open the Output tab page.

       3.      Click Define Validation in the upper right-hand corner of the tab page.

       4.      Follow the predefined procedure to configure the form validation:

                            a.      Click Choose a validation service. Select the callable object that encapsulates the required service, and choose Select.

                            b.      Under Define input for service <validation service>, create the mappings between the form output parameters and the service input parameters. To do this, select a service parameter from the left-hand table, and then select the form parameter you want to map from the right-hand table. When you have created all required mappings, choose Done.

                            c.      Under Define error handling for form <callable object name>, select a template for the e-mail that is sent to the step processor if the validation fails. If a suitable template is not available, you can create one. For more information, see Maintaining E-Mail Templates.

                            d.      Finally, choose Done.

       5.      To complete the procedure, choose Save.

 

 

End of Content Area