Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

How to Trigger Workflow from Custom FM using SWETYVE transaction

$
0
0


HI All,

 

I just want to trigger my custom workflow for Report Incident in EHSM Module, For this i have deactivated the standard workflow 'WS00500001' lingkage from SWETYPV transaction . In the same transaction i have created a new entries with

 

Object category: ABAP Class

Object type: CL_EHHSS_PCO_INC_LC

Event: CREATED

Receiver type:  Here i need to use custom Function Module to trigger my custom workflow instead of mentioning the custom workflow template ID

 

how can i achieve this ?

 

And also how can i retrive the class data in my custom function module , currently my linkage setting for new entries as:

 

Receiver call : Function module

Receiver function module:  SWW_WI_CREATE_VIA_EVENT_IBF

Check Function Module: When i use my custom Function module here it's saying error like

 

"Check function module Z_EH_M_CON_WORKFLOW: Parameter EVENT_CONTAINER has an invalid reference SWF_XMLCNT"

 

I need to do some check in my custom function module so i need to use my FM in option 'Check Function Module '.

 

Regards

Vincent


Viewing all articles
Browse latest Browse all 3160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>