‎2008 May 16 2:13 PM
Hi All,
I want to give starting condition as PRODUCT_TYPE = '02'.
but i am not able to find out that field in container. So how can i include this field in my start condition.
Your suggestions will be awarded.
Regards,
Azad.
‎2008 May 16 3:18 PM
Hi,
you want to trigger the workflow when PRODUCT_TYPE = '02'.
Workflow can be trigerred by events. So using the event you can trigger the workflow and after this you can check the condition for PRODUCT_TYPE = '02'.
if tru continue the WK else terminate the WF.
regards,
mahantesh
‎2008 May 16 4:02 PM
Hi,
If your workflow is raised by an event you can place a check function module to check if your workflow should be raised. In the check fm you can set a condition : product_type = 02, else raise condition_false.
in tcode SWETYPV you can set the check fm. The check fm should be created in SE37 with the following interface:
*"----------------------------------------------------------------------
*"*"Lokale interface:
*" IMPORTING
*" VALUE(OBJTYPE) LIKE SWETYPECOU-OBJTYPE
*" VALUE(OBJKEY) LIKE SWEINSTCOU-OBJKEY
*" VALUE(EVENT) LIKE SWETYPECOU-EVENT
*" VALUE(RECTYPE) LIKE SWETYPECOU-RECTYPE
*" TABLES
*" EVENT_CONTAINER STRUCTURE SWCONT
*" EXCEPTIONS
*" CONDITION_FALSE
*"----------------------------------------------------------------------
Should work just fine.
Regards,
Bert