How to kick of a stuck runtime dialog workitem through a prog ram in order to continue the workflow

Raskin Alon x8008 ARaskin at Citipower.com.au
Tue Jan 16 18:15:57 EST 2001


HI Patrick,
 
I am not sure if this applies to 31H but there is a BOR object called
WORKITEM with a method called STATUS_CHANGE. Does this exist in 31H? If it
does then use this to update the status of your work item. The other option
is to change your Workflow so that before it executes the Dialog Step to
check whether the document has been posted. If it has then route the
workflow 'around' the dialog step directly to the next (background) step.
 
Regards,
 
Alon
 
                -----Original Message-----
                From:   Patrick Pant - USA [mailto:patrick.pant at ixos.com]
                Sent:   Wednesday, 17 January 2001 05:18 AM
                To:     SAP-WUG at MITVMA.MIT.EDU
                Subject:        Re: How to kick of a stuck runtime dialog
workitem through a prog ram in order to continue the workflow
 
                Thank you Mark, but the problem is, i do want to do this
from a report
                rather than manually one by one. i have extensively
researched the available
                function modules (31H) and tried to debug the menu item
'change manually' in
                the change screen for the workitem, but i seem to find no
such answer.
                the workitem itself is not in an error status but in status
'ready'.
                If i do the whole process manually, i.e. select 'change
manually (F8)' in
                the workitem change screen, change the container and fill it
with the new
                values and then select the right terminating event for
execution, the
                workflow continues correctly. The next step though, which is
a background
                step, stays in ready status, and does not get executed by
the system
                automatically.
 
                i guess this is to deep in the system to really make it work
smoothly :O(
 
                thanks for your help!
 
                patrick
 
                -----Original Message-----
                From: Griffiths, Mark [mailto:mark.griffiths at sap.com]
                Sent: Tuesday, January 16, 2001 11:05 AM
                To: patrick.pant at ixos.com
                Subject: FW: How to kick of a stuck runtime dialog workitem
through a
                prog ram in order to continue the workflow
 
 
                Try going into the work item (try both the single step and
the multi-step
                parent workflow) in technical view, then Edit/Change and you
should have a
                restart after error button.
 
                -----Original Message-----
                From: Patrick Pant - USA [mailto:patrick.pant at ixos.com]
                Sent: 16 January 2001 15:41
                To: SAP-WUG at MITVMA.MIT.EDU
                Subject: How to kick of a stuck runtime dialog workitem
through a
                program in order to continue the workflow
 
 
                Hello Coflowers,
 
                i need to continue a workflow  that got stuck in a dialog
step (status
                ready), because the transaction was executed outside of the
workflow (posted
                a document). the workflow should be kicked of through a
program.
                does any one of you know, what to do, in order to set this
workitem to
                status completed (other than just change the table entry in
swwwihead), so
                the workflow continues (!) with my newly set container
elements?
 
                thanks!
 
                patrick
                IXOS Software Inc.
 
 
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
 
This email message has been swept for the presence of computer viruses.
 
CitiPower Pty ACN 064 651 056
**********************************************************************
 


More information about the SAP-WUG mailing list