AW: Single-step task in background 4.0B
Falk, Simone
simone.falk at sap.com
Wed Jun 27 06:05:48 EDT 2001
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