Container Workitem
Graf, Josef
josef.graf at sap.com
Fri Sep 26 08:04:28 EDT 2003
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/cf2a1b0bfe11d2953c0000e82dec10/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 = 'SANUSIOE'
TASK = 'WS99600011'
tables
WI_CONTAINER = 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