Show TOC Start of Content Area

Procedure documentation Exposing a Java Class as a Callable Object  Locate the document in its SAP Library structure

Prerequisites

You must hold the portal role GP Business Expert, or the relevant permissions for working with the Guided Procedures (GP) design time. For more information, see Portal Roles in Business Expert Guide.

Procedure

...

       1.      Open GP design time, as described in Launching Guided Procedures (GP) Design Time.

       2.      Choose Create Callable Object from the contextual panel.

       3.      Enter the following data:

     Type – select Service Background Execution

     Name – for example, User Details

     Description – for example, Retrieve user details in the background

     Original Language – select English

     Location – choose any folder in the gallery

Basic Data

This graphic is explained in the accompanying text

 

       4.      Choose Next to open the Define Object screen.

     For Container Type, select Library.

     For Container, select the J2EE library that you created and deployed to the application server.

     For Implementation Class Name, enter the fully qualified Java name of your implementation class.

Define Callable Object

This graphic is explained in the accompanying text

 

       5.      Choose Next to open the Define Input screen.

The input parameter UserID that you defined in the implementation is displayed here.

Input Parameters

This graphic is explained in the accompanying text

 

       6.      Choose Next to open the Define Output screen.

The structure with output parameters defined in the implementation is displayed on the screen.

Output Parameters

This graphic is explained in the accompanying text

 

       7.      Choose Next, and then Finish and Open.

Result

You have instantiated your background callable object in the GP design time.

Now you can test and activate it.

End of Content Area