Container Workitem

Sanusi Oetomo Sanusi.Oetomo at metrodata.co.id
Fri Sep 26 00:14:41 EDT 2003


Dear all,
 
=20
 
I've created a small program to run workflow.=20
 
=20
 
REPORT ZWF_TEST.
 
Data: WI_CONT LIKE SWCONT occurs 0 with header line,
 
      P_AGENTS LIKE SWHACTOR occurs 0 with header line.
 
=20
 
Parameter: ID(10) Type C.
 
=20
 
MOVE 'Personnel number' to WI_CONT-ELEMENT.
 
Move ID to WI_CONT-VALUE.
 
APPEND WI_CONT.
 
=20
 
CALL FUNCTION 'SWW_WI_START'
 
  exporting
 
    CREATOR =3D 'SANUSIOE'
 
    TASK =3D 'WS99600011'
 
  tables
 
    WI_CONTAINER =3D WI_CONT.
 
=20
 
And I have small workflow (WS99600011) that contains 2 workitem.
 
1.      Background workitem (TS99900001)
2.      Dialog workitem.(TS99900002)
 
=20
 
The workflow run well, but when I looked at the work item(TS99900001),
Container was still empty.
 
Why? Do I have to bind the container?
 
=20
 
Thanks a lot before.
 
Sanusi
 
=20
 


More information about the SAP-WUG mailing list