AW: Executing a dialog transaction in background from a workflow

Zmudzin,Tomasz,FRANKFURT,Extern LG-DM Tomasz.Zmudzin at de.nestle.com
Mon Oct 13 05:01:42 EDT 2003


Fred,
 
The canonical way of handling this is to
 
  call transaction .... messages into i_messages
 
in your ABAP code, then analyze i_messages and react within the workflow
accordingly.
 
Best regards,
Tomasz
-----Ursprungliche Nachricht-----
Von: Kouw, FA - SPLTX [mailto:fa.kouw at td.klm.com]
Gesendet: Montag, 13. Oktober 2003 10:53
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Executing a dialog transaction in background from a workflow
 
 
Hi,
 
I have a requirement for executing a dialog transaction (that calls a
report) in the background after a change document (MATERIAL) has been
created.
 
Calling the transaction with a parameter ID is no problem: the report
runs. But during processing the report results in a message, normally
being displayed to the user. Due to this the status of the background
task (and workflow) remains 'In process'. When I execute the transaction
in dialog and in debug mode I see that the report continues to execute
after I display the message (by double clicking it). This explains the
behaviour of my workflow: the report doesn't finish after the message is
raised (cannot be displayed in background).
 
Is there a way to ignore the message, let the report run/end and
complete the workflow no matter what occurs during processing of the
report? Do I have to change the report to be able to be called in
background from a workflow?
 
Regards,
 
Fred Kouw
 
 
 
**********************************************************************
This e-mail and any attachment may contain confidential and privileged
material intended for the addressee only. If you are not the addressee, you
are notified that no part of the e-mail or any attachment may be disclosed,
copied or distributed, and that any other action related to this e-mail or
attachment is strictly prohibited, and may be unlawful. If you have received
this e-mail by error, please notify the sender immediately by return e-mail,
and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its
subsidiaries and/or its employees shall not be liable for the incorrect or
incomplete transmission of this e-mail or any attachments, nor responsible
for any delay in receipt.
**********************************************************************
 
____________________________________________________________________________
_________________
This outbound message from KPN has been checked for all known viruses by KPN
IV-Scan, powered by MessageLabs.
For further information visit: http://www.veiliginternet.nl
____________________________________________________________________________
_________________
 


More information about the SAP-WUG mailing list