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 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 Security Aspects in the Business Expert Guide.

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.

Note

Due to portal dependency, you cannot test the following callable object types in the Test tab page of the design time:

              WD4VC Application with Flex rendering

              Portal iView or Page

              Web Dynpro Application without GP Interface

              Business Server Page (BSP)

You can add a callable object of the above-listed types to a process and start the process in the runtime to check whether the callable object is properly executed

       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.

You skip this step 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 J2EE Engine log files for more information about the problem.

End of Content Area