Adding a Custom Service to a Flow Blueprint
Prerequisites
You have:
-
Identified the type of service you want to add.
-
Developed the required class method or function module using the signature of the custom service.
More information: Custom Service
Context
This procedure allows you to add a custom service to a flow blueprint. When you model a data object, predefined flow blueprints are assigned to the data object based on the data object category you specify. These flow blueprints contain standard services that are executed in a particular sequence to process the data object. However, based on your requirements, you can add additional services to a flow blueprint in the form of custom services.
Procedure
-
Log on to the SAP NetWeaver AS and start transaction SDOE_WB .
-
In the Data Orchestration Engine Workbench, expand the required data object.
-
Expand Flow Definition .
-
Double-click the required Flow Blueprint .
-
Choose Change .
-
To add the custom service at:
-
The end of the sequence of services, choose Create .
-
The beginning of or in between the sequence of services, select the service before which you want to enter your service and choose Insert Line .
-
-
In the Service Name field, enter a name.
-
Choose Save .
-
Select the service and runtime object type.
If you select Function Module , you are prompted for the name of the function module.
If you select Class Method , you are prompted for the class name and method name.
-
Enter the required details.
The custom service is added to the flow blueprint.
-
Activate and generate the data object to ensure that your custom service is called at runtime.