WebDynpro Field Value to Event

Sandy maorriyan.santoso at gmail.com
Tue May 6 22:38:13 EDT 2008


Hi Guillermo.
Many thanks for your answer.

My INPUT_CONTAINER in SAP_WAPI_CREATE_EVENT contains value.

My object_type is subtype of supertype BUS1065.
I added couples methods and attributes on it.
However when workflow triggered based on standard event in my subtype, only
standard event object transfered into my workflow container.
Values that I added via my WebDynpro does not get transferred into my
workflow container.

Do you know what I missed in here?

On 5/6/08, Vera, Guillermo <Guillermo.Vera at realtech.com> wrote:
>
>  Hi Sandy ,
>
>  To assign the value to the internal table (defined as Type table) , you
> need a Work area (o header lines) and then you must perfomr and append of
> this work area to the internal table : like this :
>
>
>  data lt_event_container type table of swr_cont.
> data: w_event_container type swr_cont.
>
> then inside method of Submit I have following code
> w_event_container-element = 'MYVALUE'
> w_event_container-value = lv_myvalue.
>
> append w_event_container to lt_event_container .
>
> Cheers.
>
> G.
>
> ------------------------------
> *De:* sap-wug-bounces at mit.edu en nombre de Sandy
> *Enviado el:* mar 06/05/2008 14:35
> *Para:* SAP Workflow Users' Group
> *Asunto:* Re: WebDynpro Field Value to Event
>
>
>  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
> >
> >
>
>
> _______________________________________________
> 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/20080507/7ea44518/attachment.htm


More information about the SAP-WUG mailing list