Showing results for 
Search instead for 
Did you mean: 

How to use Start Task Group for Workflow Interface

Former Member
0 Kudos

Hi all,

anyone who can tell me how to use the Interface IFWFTSKGRP (Start Task Group for Workflow Interface)?

As far as I understood the documentation it can be used to restrict the selection of workflows that can be started in the Generic Object Services. But the question is how to implement it.

Best regards,


Edited by: Carsten Drewes on Jun 10, 2009 10:30 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi, Carsten,

(probably it's a bit too late to post an answer after 3 years , but I'll post it in case someone else needs it)

You should implement GetTaskGroup method.

The code should return id of the task group (otype TG, mantained in PFTC) that holds the list of workflow definitions.

Here is a sample implementation. It's taken from FORMABSENC business object. It belongs to SAP demo workflow "Notification of Absence". I suppose it should be present in most systems and you can see it in action.

begin_method gettaskgroup changing container.

DATA: taskgroup LIKE rhobjects-object.

*- set task group

taskgroup = 'TG70000023'.

  *- set result

swc_set_element container result taskgroup.