Show TOC

Creating a New Data Model from an Existing Workflow Data ModelLocate this document in the navigation structure

This section describes how to create a new data model object based on the Workflow data model. The new data model enables you to create a Workflow service for specific Workflow tasks.

For information on how to create a new data model based on an existing data model, refer to the Deriving a Data Model from an Existing Data Model section.

After creating the data model you must create a consumption model. For information on how to create a consumption model, refer to the Creating a Consumption Model section.

Note

When performing the procedure described above, you must make the following changes to create the new data models using Workflow data:

  • In the Create Data Model dialog box, enter one of the following data model names in the Name field under the Existing Data Model section:

    • /IWCNT/OM_WF_DEC_TASK – for Workflow user decision tasks

    • /IWCNT/OM_WF_ACTIVITY_TASK – for Workflow activity tasks

  • After the new data model has been created, add the relevant SAP Gateway data model that represents the Business Object using the RELATED_OBJECT collection.

Note

Choosing the Generate STC class flag generates only the STC class and customizes the binding between the GSDO type and the STC class.

It also places the GSDO type created in the LOCAL GSDO Group.

You must add the Workflow GSI implementation manually.

  1. Go to transaction SPRO.

  2. Choose SAP Reference IMG.

  3. Select Start of the navigation path SAP Customizing Implementation Guide  Next navigation step SAP NetWeaver  Next navigation step SAP Gateway Next navigation step Former Development Next navigation step Former Generic Channel Development Next navigation step Generic Service Data Object (GSDO)  Next navigation step GSDO Types & GSDO Contexts & GSI Implementations End of the navigation path.

  4. Choose Execute.

  5. In the GSDO table, select the new GSDO type you created.

  6. Double-click GSI Implementation.

  7. In the GSI Implementation table, under the Class/Interface column enter the following GSI class /IWCNT/CL_WF_GEN_TASK_BSO