Skip to Content
0
Former Member
Dec 08, 2006 at 02:45 AM

Updating workflow container element

279 Views

Hi,

I have a workflow and I want to update the initial value of a container element through a report. Can anyone tell me what classes and methods to be used?

I tried the following way but the container element's value is not updated.

data : container type REF TO CL_SWF_CNT_CONTAINER,

ok_container type XFELD,

value TYPE asr_form_scenario.

CREATE OBJECT container.

CALL METHOD container->if_swf_cnt_container~set_guid

EXPORTING

guid_32 = 'WS95000614'

receiving

ok = ok_container

.

if ok_container = 'X'.

CALL METHOD container->if_swf_cnt_element_access_1~element_set_value

EXPORTING

name = 'Form_SHI2'

  • qname =

value = 'SHI1'

  • unit =

  • IMPORTING

  • exception_return =

.

endif.

Thanks & Regards,

Reena