Exposing CAF Core Resources as Callable
Objects
Guided Procedures (GP) is the business process layer for the Composite Applications Framework (CAF) in SAP NetWeaver. As such, GP enables you to expose CAF applications and Web Dynpro components as callable objects, and use them in processes.
· The CAF resources must be deployed on the J2EE Engine. The CAF Web Dynpro components must be properly configured. For more information, see Core Development Tasks in Developing Composite Applications with CAF Core.
·
An endpoint alias
for EJB remote calls must be configured for the J2EE Engine where the CAF
resources are deployed. For more information, see
Configuring Endpoints in the
GP Administration Guide.
...
1. Launch the GP design time, and choose Create Callable Object from the contextual panel.
2. From the Type list, select Service ® Composite Application Service and enter the required basic data as follows:
Parameter |
Description |
Name |
Enter an arbitrary name for the callable object. |
Description |
Describe the callable object by entering a brief description of its functions, for example. |
Original Language |
Select the original language in which the callable object is being created. |
Location |
Select a folder where the callable object is stored.
You can select an existing folder, or create a new one. |
3. Choose Next to open the Define Object screen.
You must choose:
a. Endpoint alias
i. Click Choose....
ii. Select Endpoint Alias for EJB Remote Call from the dropdown list for Endpoint Alias Type.
iii. To search for all predefined endpoint aliases of this type, choose Go. You can also limit the number of the results by entering search criteria in field Endpoint Alias Name.
iv. Select the required endpoint alias from the result list, and click Choose.
The URL for the selected endpoint is automatically displayed.
b. Application service
All deployed application services for the selected endpoint are detected and displayed in a table.
Complete the following steps:
i. Select an application in the Application Name column in the table All Deployed Application Services.
ii. Select a service in column Service Name.
iii. Select a method in column Method Name. The selected method is executed when the callable object is called.
4. Choose Next to open the Define Input screen.
The system displays in read-only mode the input parameters for the method that you have selected in the previous step.
5. Choose Next to open the Define Output screen.
The relevant output parameters are displayed in read-only mode.
6. Choose Next to open the Set Configuration screen.
Configuration is not required for this callable object type.
7. Choose Next. To complete the procedure and open the callable object design time, choose Finish and Open.
8.
To activate the
object, choose
(Activate).
...
1. Launch the GP design time and choose Create Callable Object from the contextual panel.
2. Enter the required basic data as follows:
Parameter |
Description |
Type |
Select Composite Application Framework Web Dynpro Component. |
Name |
See above |
Description |
See above |
Original Language |
See above |
Location |
See above |
3. Choose Next to open the Define Object screen.
a. Select the configurable UI component interface from the dropdown list.
b. Choose Select.
c. Use the instance browser to select the relevant UI component.
d. Select the required configuration in the Configuration Name dropdown list.
e. Choose OK
The selected UI component configuration attributes are displayed automatically.

You can maintain the selected configuration. To do that, choose Configure. The CAF Object Editor opens.
4. Choose Next to open the Define Input screen.
The system displays in read-only mode the input parameters for the method that you have selected in the previous step.
5. Choose Next to open the Define Output screen.
The relevant output parameters are displayed in read-only mode.
6. Choose Next to open the Set Configuration screen.
Configuration is not required for this callable object type.
7. Choose Next. To complete the procedure and open the callable object design time, choose Finish and Open.
8.
To activate the
object, choose
(Activate).