Skip to Content
0
Former Member
Aug 30, 2007 at 02:22 PM

Workflow SAP_WAPI_CREATE_EVENT

213 Views

Hi,

I used the Function Module to trigger workflow SAP_WAPI_CREATE_EVENT.

the workflow triggers but I couldn't see the Custom conatiner values.The custom workflow requires the Customer container values.

Business Object: BUS2080.

Event : closed.

Conatiner Element: Notification Number (Standard)

Userstatus(Custom developed).

The Code is

swc_container i_event_cont.

swc_create_container i_event_cont.

userstatus = 'CUST'.

OBJKEY = EXTERNALNUMBER.

swc_set_element i_event_cont 'Notification' OBJKEY.

swc_set_element i_event_cont 'Userstatus' userstatus.

When I see the Workflow log the Workflow conatiner 'Userstatus' is blank.I could get the Notification Number.

Any Idea to how to Pass the custom fields to the Event Conatiner.

Thanks

Niranjan