Single-step task in background 4.0B
Benson, Darlene
darlene.benson at sourcenetsolutions.com
Wed Jun 27 09:43:56 EDT 2001
The background task is working. Thanks for your response.
-----Original Message-----
From: Falk, Simone [mailto:simone.falk at sap.com]
Sent: Wednesday, June 27, 2001 5:06 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: AW: Single-step task in background 4.0B
Hi,
try to debug that background task:
you can easily add some coding in your method:
data exit.
do.
if exit =3D 'X'.
exit.
endif.
enddo.
Now you can catch that process and look what happens.
Kind regards
Simone
-----Urspr=FCngliche Nachricht-----
Von: Benson, Darlene [mailto:darlene.benson at sourcenetsolutions.com]
Gesendet: Montag, 25. Juni 2001 23:08
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Single-step task in background 4.0B
Hi everyone,
I have created a single-step task so that I can access a particular =
object
method that I have created. When the event is raised the task is =
getting
created correctly. When the method is dialog and synchronous an =
executable
work item is created. When I execute the work item the method runs and =
the
desired result occurs. However, I need the task to run in background =
when
the event is raised. So I took off the dialog option on the method and =
made
the task a background task. Now when the task runs a work item type B =
is
created instead of W. When I go to the list of work items (SWI1) I can =
see
that the item is in status completed but the desired result does not =
occur.
I tried testing the method directly from the BOR and the desired result
occurs then, so I am not sure why it does not occur when run in =
background.
Any suggestions on what may be causing this problem are welcome.
Darlene
More information about the SAP-WUG
mailing list