Show TOC Start of Content Area

Process documentation Implementing and Exposing a Background Callable Object  Locate the document in its SAP Library structure

Purpose

In Guided Procedures (GP) you can encapsulate any function that does not expose a user interface as a callable object for background execution. For example, if you need to implement a certain logic that should remain hidden from the end user, you can create a Java class that is executed transparently in background mode at runtime.

In this tutorial, you will learn how you implement a simple callable object that retrieves user details by a given user ID.

Prerequisites

     You have basic knowledge of Java programming.

     You are familiar with the SAP NetWeaver Development Infrastructure. For more information, see Working with the SAP NetWeaver Development Infrastructure.

Process Flow

The implementation of a background callable object to the point where it is available for use in a process goes through the following phases:

...

       1.      You create and configure a Java development component (DC).

       2.      You implement your background callable object in the above component.

       3.      You create a J2EE library and deploy it to the SAP Web Application Server.

       4.      You expose the class as a callable object in the GP design time.

       5.      Finally, you test and activate the object.

 

This graphic is explained in the accompanying text Your first step is to create a Java DC project.

End of Content Area