Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Sample code for SWE_CD_TEMPLATE_CONTAINER_FB_2

kmoore007
Active Contributor
0 Kudos
293

Anyone have some sample code for the workflow event container function module SWE_CD_TEMPLATE_CONTAINER_FB? or SWE_CD_TEMPLATE_CONTAINER_FB_2? This FM can be added in transaction SWEC to an event, but there isn't any sample code for it in our system.

What I want to do is pass a parameter to the event using SWE_CD_TEMPLATE_CONTAINER_FB_2.

1 REPLY 1

kmoore007
Active Contributor
0 Kudos
114

Figured out how to set an event parameter in the function:

CALL METHOD event_container->set

EXPORTING

name = 'Item'

value = wa_eban-bnfpo