Predefined Callable Objects
Guided Procedures (GP) provides a set of callable object implementations that you can use by simply configuring them in the GP design time.
These predefined callable objects are of two main types:
- Web Dynpro Component (GP Interface)
More information: Exposing Web Dynpros as Callable Objects
- Java Callable Object for Background Execution
More information: Creating Callable Objects for Background Execution
The predefined callable objects are available in the list of callable object categories that is displayed in the first step of the procedure for creating callable objects. To use a predefined object, you just select it as a type from the relevant category.
The following table describes the predefined objects that are available and explains the specific aspects of their configuration.
Reference to Predefined Callable Objects
| Callable Object | Description | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Form |
|||||||||||||||||||||||||||||||||||||
|
Data Input Form |
Type: Functionality: Provides a form for data input. Component: com.sap.caf.eu.gp.ui.wdco.dataform.WDCODataForm Application: sap.com/caf~eu~gp~ui~wdco Output parameters: To enable the form processor to enter data and to send it to the system, you must define output parameters. At runtime, they are available as input fields and the data is sent to the framework when the process step is complete. Result states:
|
||||||||||||||||||||||||||||||||||||
|
Data Display Form |
Type: Functionality: Displays the input data passed to the callable object. The callable object also provides an OK button to enable the explicit completion of the object execution. Component: com.sap.caf.eu.gp.ui.wdco.datadisp.WDCODataDisplay Application: sap.com/caf~eu~gp~ui~wdco Input parameters: To map the output of the other callable objects and to get the displayed data, you must define input parameters. Result states:
|
||||||||||||||||||||||||||||||||||||
|
Data Display and Acknowledgement |
Type: Functionality: Displays the input data passed to the callable object. Users can acknowledge that they have read the data as well as enter a comment. Optionally, they can also notify other process contributors by sending an acknowledgement notification via e-mail. Component:com.sap.caf.eu.gp.ui.wdco.acknowledge.WDCOAcknowledge Application: sap.com/caf~eu~gp~ui~wdco Input parameters: To map the output of the other callable objects and get the displayed data, you must define input parameters. Configuration parameters:
Result states:
|
||||||||||||||||||||||||||||||||||||
|
Process Control |
|||||||||||||||||||||||||||||||||||||
|
Visual Approval |
Type: Functionality: Enables users to approve or reject certain requests. Component: com.sap.caf.eu.gp.ui.wdco.approval.WDCOApproval Application: sap.com/caf~eu~gp~ui~wdco Input parameters: You can create input parameters that you typically map to the output of a preceding action in a process. Output parameters:
Configuration parameters: Using the configuration parameters of the callable object, you can configure it to notify selected process contributors that the request has been approved or rejected. You can set up different e-mail templates for approval or rejection.
Result states:
|
||||||||||||||||||||||||||||||||||||
|
Interactive Form or File Approval |
Type: Functionality: Used for displaying online a form or file that can be approved or rejected.
Component: com.sap.caf.eu.gp.ui.wdco.approveform.WDCOApproveForm Application: sap.com/caf~eu~gp~ui~wdco Input parameters: In addition to the input parameters listed below, you can define your own parameters.
Result states:
On the Set Configuration screen, you can optionally rename the existing result states (and their corresponding button labels) or create new ones. |
||||||||||||||||||||||||||||||||||||
|
Offline Approval |
Type: Functionality: Enables users to approve or reject a request, and to notify process contributors of their decision.
Class:
com.sap.caf.eu.gp.callobj.bckgd.offline.approval.OfflineApprovalCallableObject Container: caf~eu~gp~actions Input parameters:
In addition, you can define other input parameters and configure e-mail notifications, in the same way as for Visual Approval. Output parameters:
Configuration parameters:
Result states: The same as for Visual Approval. |
||||||||||||||||||||||||||||||||||||
|
Decision (Comparison to Predefined Value) |
Type: Functionality: Compares the input to a predefined comparison value.
Class:
com.sap.caf.eu.gp.callobj.misc.SingleValueDecisionCO Container: caf~eu~gp~actions Input parameters:
Configuration parameters:
Result states:
|
||||||||||||||||||||||||||||||||||||
|
Numeric Decision |
Type: Functionality:Compares the values of two numbers depending on the comparison operator you configure.
Class:
com.sap.caf.eu.gp.callobj.misc.NumericDecisionCO
Container:
caf~eu~gp~actions Input parameters:
Configuration parameters:
Result states:
|
||||||||||||||||||||||||||||||||||||
|
Initiate Process (Using Predefined Template) |
Type: Functionality: Starts a process using an existing process template. To be able to initiate a process using this callable object, process roles must be configured with default values. The process template must be active. To get the ID of a process template, open it in Design time and choose the Instantiation tab. Class: com.sap.caf.eu.gp.callobj.bckgd.processinitiation.ProcessInitiationCO Container: caf~eu~gp~actions Configuration parameters:
Result states:
Exceptions:
|
||||||||||||||||||||||||||||||||||||
|
Terminate Process |
Type: Functionality: Stops the current process. Class: com.sap.caf.eu.gp.callobj.bckgd.stopprocess.StopProcessCO Container: caf~eu~gp~actions Result states: No result state is set. Exceptions:
|
||||||||||||||||||||||||||||||||||||
|
User Management |
|||||||||||||||||||||||||||||||||||||
|
Choose a User |
Type: Functionality: Provides a user interface for choosing a user from user management. Returns the unique identifier of the user as well as additional data in its output data structure. Component: com.sap.caf.eu.gp.ui.wdco.pickuser.WDCOPickUser Application: sap.com/caf~eu~gp~ui~wdco Output parameters:
Result states:
|
||||||||||||||||||||||||||||||||||||
|
Read User Information |
Type: Functionality: Reads and returns user information based on the unique ID, the logon ID, or the current user. If you enter one of the three options, detailed information about the user appears as an output.
Class:
com.sap.caf.eu.gp.callobj.ume.GetUserInfoCO Container: caf~eu~gp~actions Input parameters:
Output parameters:
Configuration parameters:
Result states:
|
||||||||||||||||||||||||||||||||||||
|
Assign Users to Process Role |
Type: Functionality: Assigns users to a process role.
Class:
com.sap.caf.eu.gp.callobj.processrole.ProcessRoleAssignmentUserCO Container: caf~eu~gp~actions Input parameters:
Result states:
|
||||||||||||||||||||||||||||||||||||
|
Return Process Role Member List |
Type: Functionality: Enables you to get the users assigned to the roles for the current process.
Class:
com.sap.caf.eu.gp.callobj.processrole.UserListResolutionCO Container: caf~eu~gp~actions Output parameters:
Result states:
|
||||||||||||||||||||||||||||||||||||
|
User Mapping (Conversion between AS Java and AS ABAP Identities) |
Type: Functionality: Converts AS Java (UME) unique user IDs to the corresponding AS ABAP IDs and vice versa. Class: com.sap.caf.eu.gp.callobj.manager.UserMappingBackgroundCO Container: caf~eu~gp~actions Input Parameters:
Output Parameters:
Configuration Parameters:
Result States:
Exceptions:
|
||||||||||||||||||||||||||||||||||||
|
Check User |
Type: Functionality: Checks whether a specified user is unique. This is done by searching the UME for a particular user by user ID and name. If the search returns multiple results, they are available as a structure. Class: com.sap.caf.eu.gp.callobj.bckgd.checkuser.CheckUser Container: caf~eu~gp~actions Input parameters:
Output parameters:
Result states:
|
||||||||||||||||||||||||||||||||||||
|
Miscellaneous |
|||||||||||||||||||||||||||||||||||||
|
Read System Properties |
Type: Functionality: Returns a list of system properties. Class: com.sap.caf.eu.gp.callobj.system.SystemPropertiesCO Container: caf~eu~gp~actions Output parameters:
Configuration parameters:
Result states:
|
||||||||||||||||||||||||||||||||||||
|
Write to System Log |
Type: Functionality: Writes information text to the system log. Class: com.sap.caf.eu.gp.callobj.system.SystemLogCO Container: caf~eu~gp~actions Input parameters:
Configuration parameters:
Result states:
|
||||||||||||||||||||||||||||||||||||
|
Current State Information (Date and Time, for example) |
Type: Functionality: Returns information about the current system state (date, time, language code). Class: com.sap.caf.eu.gp.callobj.misc.CurrentStateInfoCO Container: caf~eu~gp~actions Output parameters:
Result states:
|
||||||||||||||||||||||||||||||||||||
|
Send Notification |
Type: Functionality: Sends a notification e-mail to specified process contributors. Class: com.sap.caf.eu.gp.callobj.mail.NotificationCO Container: caf~eu~gp~actions Input parameters:
You can also add any other input parameters. Configuration parameters:
Result states:
Exceptions:
|
||||||||||||||||||||||||||||||||||||
|
Send an E-Mail in Background with Attachment (Optional) |
Type: Functionality: Sends a notification e-mail message with attachments to a specified recipient.
Class:
com.sap.caf.eu.gp.callobj.mail.NotificationCOWithAttachment
Container:
caf~eu~gp~actions Input parameters:
Configuration parameters: See Send Notification callable object above. Result states:
Exceptions:
|
||||||||||||||||||||||||||||||||||||
|
File Input |
Type: Functionality: Uploads any file and transfers it across the process flow as a context parameter. Once you have uploaded the file, you can download or view its contents in a subsequent process step.
Component:
com.sap.caf.eu.gp.ui.wdco.fileinput.WDCOFileInput
Application:
sap.com/caf~eu~gp~ui~wdco Input parameters:You can define any parameters. Output parameters:
Configuration parameters:
|
||||||||||||||||||||||||||||||||||||
|
Send an E-Mail |
Type: Functionality: Sends an e-mail to one or more recipients, specified by their e-mail addresses. It provides a user-friendly layout for the e-mail header (From, To, Copy, Subject) and text fields, as well as an option for uploading file attachments. The From, To, Subject and E-Mail Text fields are mandatory. The From field is automatically filled with the current user's e-mail address and is read-only.
Component:
com.sap.caf.eu.gp.ui.wdco.sendemail.WDCOSendEmail
Application:
sap.com/caf~eu~gp~ui~wdco Input parameters: You can define any parameters although you are not required to do so. |
||||||||||||||||||||||||||||||||||||
|
Process Initiation Steps |
|||||||||||||||||||||||||||||||||||||
|
Process Template Selection |
Type: Functionality: Allows the selection of a process template for initiation. Component: com.sap.caf.eu.gp.ui.wdco.processtemplate.WDCOProcessTemplate
Application:
sap.com/caf~eu~gp~ui~wdco Output parameters:
Result states:
|
||||||||||||||||||||||||||||||||||||
|
Process Input Parameters |
Type: Functionality: Allows the process input parameters to be set at initiation. Component: com.sap.caf.eu.gp.ui.wdco.processinput.WDCOProcessInput
Application:
sap.com/caf~eu~gp~ui~wdco Input parameters:
Output parameters:
Result states:
Exceptions:
|
||||||||||||||||||||||||||||||||||||
|
Process Role Assignment |
Type: Functionality: Allows process role assignment at initiation. Component: com.sap.caf.eu.gp.ui.wdco.processroles.WDCOProcessRoles
Application:
sap.com/caf~eu~gp~ui~wdco Input parameters:
Output parameters:
Result states:
Exceptions:
|
||||||||||||||||||||||||||||||||||||
|
Process Data |
Type: Functionality: Allows process-specific data to be set at initiation. Component: com.sap.caf.eu.gp.ui.wdco.processdata.WDCOProcessData
Application:
sap.com/caf~eu~gp~ui~wdco Input parameters:
Output parameters:
Result states:
Exceptions:
|
||||||||||||||||||||||||||||||||||||
|
Process Initiation |
Type: Functionality: Initiates a process of a selected template, role assignments, input parameters, and data. Component: com.sap.caf.eu.gp.ui.wdco.processinitiation.WDCOProcessInitiation
Application:
sap.com/caf~eu~gp~ui~wdco Input parameters:
Configuration parameters:
Result states:
Exceptions:
|
||||||||||||||||||||||||||||||||||||
|
Additional |
|||||||||||||||||||||||||||||||||||||
|
Input Data |
Type: Functionality: Displays the input data passed to the callable object and provides a form for data input. Component: com.sap.caf.eu.gp.ui.wdco.input.WDCOInput
Application:
sap.com/caf~eu~gp~ui~wdco Input parameters:
Output parameters:
Result states:
|
||||||||||||||||||||||||||||||||||||
|
Loop |
Type: Functionality: Provides a loop decision dialog with description text and two buttons generating different result states (for the loop to be continued or terminated). Component: com.sap.caf.eu.gp.ui.wdco.loop.WDCOLoop
Application:
sap.com/caf~eu~gp~ui~wdco Configuration parameters:
Result states:
|
Web Dynpro Component (GP Interface)
Web Dynpro Component (GP Interface)
Web Dynpro Component (GP Interface)
Web Dynpro Component (GP Interface)
Web Dynpro Component (GP Interface)
Java Callable Object for background execution
Java Callable Object for background execution
Java Callable Object for background execution
Java Callable Object for background execution
Java Callable Object for background execution
Web Dynpro Component (GP Interface)
Java Callable Object for background execution
Java Callable Object for background execution
Java Callable Object for background execution
Java Callable Object for background execution
Java Callable Object for background execution
Java Callable Object for background execution
Java Callable Object for background execution
Java Callable Object for background execution
Java Callable Object for background execution
Java Callable Object for background execution
Web Dynpro Component (GP Interface)
Web Dynpro Component (GP Interface)
Web Dynpro Component (GP Interface)
Web Dynpro Component (GP Interface)
Web Dynpro Component (GP Interface)
Web Dynpro Component (GP Interface)
Web Dynpro Component (GP Interface)
Web Dynpro Component (GP Interface)
Web Dynpro Component (GP Interface)