Container Workitem

Sanusi Oetomo Sanusi.Oetomo at metrodata.co.id
Sun Sep 28 21:18:59 EDT 2003


Hi Joe,
 
Thanks for your idea, It's working now.
 
Best regards
Sanusi
 
-----Original Message-----
From: Graf, Josef [mailto:josef.graf at sap.com]=20
Sent: Friday, September 26, 2003 7:04 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Container Workitem
 
Hi Sanusi,
 
try, instead of filling the container directly, to use the container =
macros:
 
For Example
 
SWC_SET_ELEMENT WI_CONT 'Personnel number' ID.
 
Documentation:
http://help.sap.com/sapdocu/netweaver/webas/630/helpdata/EN/39/cf2a1b0bfe=
11d2
953c0000e82dec10/frameset.htm
 
 
Regards
Joe
-----Original Message-----
From: Sanusi Oetomo [mailto:Sanusi.Oetomo at metrodata.co.id]
Sent: Freitag, 26. September 2003 06:15
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Container Workitem
 
Dear all,
 
I've created a small program to run workflow.
 
REPORT ZWF_TEST.
 
Data: WI_CONT LIKE SWCONT occurs 0 with header line,
 
      P_AGENTS LIKE SWHACTOR occurs 0 with header line.
 
Parameter: ID(10) Type C.
 
MOVE 'Personnel number' to WI_CONT-ELEMENT.
 
Move ID to WI_CONT-VALUE.
 
APPEND WI_CONT.
 
 
 
CALL FUNCTION 'SWW_WI_START'
 
  exporting
 
    CREATOR =3D 'SANUSIOE'
 
    TASK =3D 'WS99600011'
 
  tables
 
    WI_CONTAINER =3D WI_CONT.
 
 
 
And I have small workflow (WS99600011) that contains 2 workitem.
 
1.      Background workitem (TS99900001)
2.      Dialog workitem.(TS99900002)
 
 
 
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?
 
 
 
Thanks a lot before.
 
Sanusi
 


More information about the SAP-WUG mailing list