Implementing and Exposing a Background Callable Object
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.
More information: Using the Development and Production 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:
- You create and configure a Java development component (DC).
- You implement your background callable object in the above component.
- You create a Java Enterprise Application and deploy it to the SAP Web Application Server.
- You expose the class as a callable object in the GP design time.
- Finally, you test and activate the object.
Process Flow
You can now start creating your Java DCproject.
More information: Creating a Java Development Component .