Show TOC Start of Content Area

Procedure documentation Configuring Post-Processing Services  Locate the document in its SAP Library structure

Use

You can configure services that process the data submitted with a composite form. As with pre-processing services, you can use the form context to transfer data from one service to another and finally to the form’s output.

As a post-processing service you can use any background callable object that exposes input or output parameters.

Prerequisites

If you want to use post-processing services, you must have created and activated the relevant callable objects in advance.

For more information, see Creating Callable Objects for Background Execution.

Procedure

1. Add Post-Processing Services

...

       1.      If you are creating a new form, make sure you are at the Post-Processing step of the composite form wizard.

If you want to edit an existing form, in the gallery, select the relevant form object and open its design time. Then switch to edit mode using This graphic is explained in the accompanying text (Toggle Single Edit Mode), and open the Post-Processing tab page.

       2.      Choose Add Service.

       3.      Browse the folders in the gallery to locate the callable objects that you want to use.

       4.      To add a callable object, select it and then choose Select.

       5.      Repeat steps 2 through 4 to add more services.

       6.      Finally, choose Done.

       7.      At runtime, the post-processing services are executed in the order that you defined when adding them to the list. You can change this order using Move Up and Move Down.

Note

Order is important when one or more services use as input the output from the preceding services execution.

2. Add Service Parameters to the Form Context if Needed

...

       1.      Select a service in the Post-Processing Service table.

The service output parameters are displayed in the Form Context tab page.

       2.      To add a parameter to the form context, select it in the Service Parameters table, and choose Add Parameter.

It appears in the Form Context table.

       3.      To add parameters from another service, select it from the Post-Processing Service table, and repeat the above step.

3. Map Service Parameters to Form Context or Set Defaults

...

       1.      Open the Map Input Parameters tab page.

                            a.      To map the form context to the service input parameters, select an entry under Input Parameters, and then a parameter from the form context.

                            b.      The mapping is done automatically. To undo it, choose Remove Mapping.

                            c.      To add a default value, select an input parameter, and choose Set Default.

Enter the required default, and choose Done.

       2.      Open the Map Output Parameters tab page.

                            a.      To map the service output to the form context, select an entry under Form Context, and then a parameter under Output Parameters.

The mapping is done automatically. To undo it, choose Remove Mapping.

                            b.      To add a default value, select a form context parameter, and choose Set Default.

Enter the required default, and choose Done. 

 

End of Content Area