Ansicht
Dokumentation

EHPRC_WF_WFS - Adapt Workflows for Product Compliance

EHPRC_WF_WFS - Adapt Workflows for Product Compliance

ROGBILLS - Synchronize billing plans   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you can adapt workflows to suit your specific processes in the following ways:

  • Change the workflow template.
  • Add steps within a process.
  • Call further logic from a workflow task (process step).

You have specified processes for Product Compliance for Discrete Industries in the Specify Process Definitions Customizing activity.

You have checked the processes by carry out the List Configured Processes Customizing activity.

The standard system is delivered with examples.

The following workflow templates are delivered with the corresponding PCO class and event:

WF Template PCO   Class Name and Event
00800012 - EHPRC_BBPROT   CL_EHPRC_PCO_BOMBOS
00800014 - EHPRC_ASSIGN   CL_EHPRC_PCO_SCC_ASSIGNMAIL
00800013 - EHPRC_INQUIR   CL_EHPRC_PCO_SCC_INQUIRY
00800014 - EHPRC_ASSIGN   CL_EHPRC_PCO_SCC_ASSIGNMAIL

 

To adapt workflows, you can perform the following activities:

  • You can change the process flow directly in the workflow template (in the Workflow Builder) or copy the delivered template to the customer-specific namespace.
  • You can add additional steps within a process by performing the following steps:
  1. Change the workflow template (or copy the delivery to the customer-specific namespace).
  2. Create further steps and (if necessary) workflow tasks in the customer-specific namespace in the Define Tasks and Actions Customizing activity.
  3. Add the new tasks to the workflow inbox configuration in the Assign Task IDs to POWL Types Customizing activity.
  • Manage the new task for the following POWL application ID and POWL types:

POWL Application ID   POWL Type     Optional
EHPRC_INBOX   EHPRC_INBOX_TYPE     -
EHPRC_SCC_INBOX   EHPRC_SCC_MYWORK_INBOX_TYPE     X
EHPRC_PRODUCT_INBOX   EHPRC_BOMBOS_INBOX_TYPE     X
EHPRC_COMP_INBOX   EHPRC_BOMBOS_INBOX_TYPE     X
EHPRC_BASMAT_INBOX   EHPRC_BOMBOS_INBOX_TYPE     X

  • If you are not sure for which POWL applications and types to do the configuration, refer to similar,,,,existing tasks (of the same workflow)

  1. Activate the workflow template.
  • You can add logic that can be called from a workflow task (process step) by performing the following steps:
  1. Create a PCO class that inherits further public methods from the delivered class of the process that is specified in the Configure Process Definitions Customizing activity. To include your business logic, use one of the following two options:
  • Implement the logic directly in the PCO method.

  • Implement the logic in a BOPF action of the corresponding process control business object (PCBO) that. is the architecture of the Product Compliance for Discrete Industries.

  1. If you want a dialog to open and the workflow to wait for an event, use the standard event (WORKITEM_COMPLETED). If you want to use a more specific event, define the new event on the PCO class. For the dialog to trigger the new event to continue the workflow, you can use the static method RAISE_WF_EVENT of the root PCO CL_EHFND_WFF_ROOT_PCO.
  2. After you finish implementing and adapting the workflow template, configure the new PCO class in the process definition in the Configure Process Definitions Customizing activity.






PERFORM Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 6313 Date: 20240523 Time: 160233     sap01-206 ( 50 ms )