i have a simple work flow it works fine when we directly run work flow,
now i want to set values to the container element ,
i had set value to simple container element but i don't know how to set multiline container element of some table type ..
i had set value to simple container element using the following code :
w_ipcont-element = 'SRNO11'.
w_ipcont-value = p_srno. " here some value goes to that simple container
APPEND w_ipcont TO i_ipcont.
DATA : WID TYPE SWR_STRUCT-WORKITEMID .
WID = wa_log-reckey .
CALL FUNCTION 'SAP_WAPI_WRITE_CONTAINER'
EXPORTING
workitem_id = WID
LANGUAGE = SY-LANGU
ACTUAL_AGENT = SY-UNAME
DO_COMMIT = 'X'
* IFS_XML_CONTAINER =
IMPORTING
RETURN_CODE = ret
TABLES
SIMPLE_CONTAINER = i_ipcont
MESSAGE_LINES = line
MESSAGE_STRUCT = str
.
please help