WebDynpro Field Value to Event

Sandy maorriyan.santoso at gmail.com
Tue May 6 08:35:35 EDT 2008


Hi Guillermo.
You understand my problem.
Thanks for your quick reply.
I tried your solution.
I defined
data lt_event_container type table of swr_cont.

then inside method of Submit I have following code
lt_event_container-element = 'MYVALUE'
lt_event_container-value = lv_myvalue

I got an error message, "lt_event_container' has no component called
'element'


On 5/6/08, Vera, Guillermo <Guillermo.Vera at realtech.com> wrote:
>
>  Hi ,
>
>   I don´t understand your problem . When the submit button is pushed , an
> action is triggered by WDA runtime framework , in the action handler you
> must extract the value from the corresponding context-node, then you must
> fill the table parameter 'INPUT_CONTAINER' with this value , something like
> this :
>
>
> EVENT_CONTAINER-ELEMENT = 'MY_NAME'.
>
> EVENT_CONTAINER-VALUE = VALUE.
>
> APPEND EVENT_CONTAINER.
>
>
>
> CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
>
> EXPORTING
>
> ...
>
> IMPORTING
>
> ...
>
> TABLES
>
> INPUT_CONTAINER = EVENT_CONTAINER
>
> * MESSAGE_LINES =
>
> * MESSAGE_STRUCT =
>
>
>  I hope this help you.
>
> regards.
>
> Guillermo.
>
>  ------------------------------
>  *De:* sap-wug-bounces at mit.edu en nombre de Sandy
> *Enviado el:* mar 06/05/2008 13:27
> *Para:* SAP Workflow - MIT
> *Asunto:* WebDynpro Field Value to Event
>
>
>  Dear all.
> I have ABAP WebDynpro screen where user need to fill certain value. Upon
> 'Submit' button, I need to pass those value to my event container and then
> to workflow container to be sent to next agent.
> I am using FM 'SAP_WAPI_CREATE_EVENT' to trigger an event.
> My question is how to pass value from WebDynpro to my event container/
> workflow container?
>
> Thanks in advance
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080506/5da06d3b/attachment.htm


More information about the SAP-WUG mailing list