cancel
Showing results for 
Search instead for 
Did you mean: 

SAP_WAPI_CREATE_EVENT with a table as content parameter

carlos_miranda3
Explorer
0 Kudos

Hi experts,

I develop a WF, as part of its parameters it uses a table to process GL documents, calculate some things and generate another GL document. I try trigger the event from a user exit using SWE_EVENT_CREATE but it doesn't work, after check it on SAP help desk, they told me to use SAP_WAPI_CREATE_EVENT but as I said I need to add a table to the container and I haven't found the way to do it.

Thanks in advance for any help.

Sandra_Rossi
Active Contributor
0 Kudos

SWE_EVENT_CREATE and SAP_WAPI_CREATE_EVENT and CL_SWF_EVT_EVENT=>RAISE are all equivalent. WAPI should be preferred but I think the others are officially supported too.

What issue do you have in passing a table type parameter via the container? Is it because you use a deep type? Or are the lines too wide? Try first with a simple case: use a small flat DDIC structure like SCARR, you should succeed easily.

Accepted Solutions (0)

Answers (0)