Skip to Content
0
Former Member
Feb 13, 2009 at 03:25 PM

Transferring data into WF container

83 Views

Hi All ,

Now I am trying to Pass some field values into a container element by using the below statement.

in my ABAP program.

SWC_SET_ELEMENT t_cont 'L_DATE' WA_PROC01-SPPDAT.

where I am fetching a date value into the workarea wa_proc01.

L_DATE is my WF Container element and t_cont is of type swcont.

And while debugging the method I wrote in the method or the BO as below.

DATA :w_task TYPE swwwihead-wi_rh_task VALUE 'WS90600050'.

SWC_GET_ELEMENT t_cont 'L_DATE' WA_PROC01-SPPDAT.

CALL FUNCTION 'SAP_WAPI_READ_CONTAINER'

to read the values of the container at runtime.

But I dont see any container elements in there.

Pls let me knw where I am gettting wrong.

I did this much seeing some previous threads.

Regards,

Krishna.