Show TOC Start of Content Area

Procedure documentation Testing Callable Objects  Locate the document in its SAP Library structure

Use

The Guided Procedures (GP) framework enables you to test your standalone callable objects before even activating them. By testing them, you can see how they are going to be executed in a process, and can detect any possible problems or errors in their definition.

Caution

You cannot use this function to test BSP callable objects.

Prerequisites

You have permissions to work with GP design time. For more information, see Authorizations.

Procedure

...

       1.      In the gallery, select the callable object that you want to test, and choose Open… to open its design time.

       2.      Go to the Test tab page.

       3.      If the callable object defines required input parameters, enter values for them.

       4.      Choose whether you want to test the object in execution or in display mode.

Note

Testing a callable object in display mode can be used for functions that provide user interface and can therefore be specified as an object for display in an action.

If the object is tested in display mode, you only get a preview of the function, but you cannot execute it. 

       5.      Choose Execute.

If the application has a user interface, it is displayed in the Callable Object Execution step. To display the test results for callable objects with user interface, choose Complete Step.

This step is not available if the callable object is executed in the background, and test results are displayed directly.

Result

If the result of the callable object test is Successful completion, you can activate the object and make it available for use in actions.

If the result indicates an error, you should check the Application Server (AS) Java log files for more information about the problem.

End of Content Area