Dialog workitem calling a BSP (url)

Tamara Elliott tamara.elliott at kodak.com
Tue Nov 23 13:27:56 EST 2004


I have taken a look at the BSP example SWXTRAREQ and what I think is the
associated workflow (WS66700042).  We have followed exactly what was done
in this example, but I am still not receiving anything in the workflow. By
debugging into the BSP I can see that there is a callback url defined, but
I can't determine why my parameter isn't getting passed back to the
workflow.  I have the parameter set up in the service id (wf_extsrv), as
well as in the workflow.  Is there anything special that needs to be done
inside the workflow (besides the normal binding) that needs to be set up?
 
Thanks.
Tami
Workflow
Eastman Kodak Company
 
 
 
 
 
 
"Griffiths, Mark" <mark.griffiths at sap.com>
Sent by: SAP Workflow <Owner-SAP-WUG at MITVMA.MIT.EDU>
11/22/2004 05:18 AM
Please respond to "SAP Workflow Users' Group"
 
 
        To:     SAP-WUG at MITVMA.MIT.EDU
        cc:
        Subject:        Re: Dialog workitem calling a BSP (url)
 
 
Problem is, once the BSP is launched the workflow essentially loses
control and can only be completed by a terminating event. You have a
couple of options here:
 
The standard approach is to code a 'callback url' in your BSP and
implement your parameter transfer in wf_extsrv.
 
If you have access to an IDES based system look at the example BSP
SWXTRAREQ (or something similar) this includes the callback url code
(basically a call to an ABAP class passing back a structure with your
variables).
 
If you are able to go on training courses all this (and WF-XML if you are
interested) is covered in BIT603.
 
Another option you could try (I haven't yet, so can't guarantee this
works) is to trigger an event from your BSP which is received as a
terminating event or in a wait for event.
 
 
Cheers,
 
Mark
 
SAP UK
 
 
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of
[Tamara Elliott]
Sent: 20 November 2004 14:31
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Dialog workitem calling a BSP (url)
 
 
I have done everything as stated in the note below and I was able to get
the BSP (URL) to come up when the workitem is executed - thank you!
 
One follow up question I have is how to get the BSP to communicate to the
workflow that the workitem is complete.    I was able to set up the Call
mode of the web service so that the "Complete Workitem" and "Work Item
retained in inbox" appears when the workitem is executed, but when the
user clicks on one of them I'm not sure how to get that information back
to the workflow.  Right now nothing is happening.
 
We are in a 6.2 WAS system.
 
Thanks ,
 
Tami Elliott
Workflow
Eastman Kodak Company
 
 
 
 
 
 
 
"Dart, Jocelyn" <jocelyn.dart at sap.com>
Sent by: SAP Workflow <Owner-SAP-WUG at MITVMA.MIT.EDU>
11/02/2004 11:00 PM
Please respond to "SAP Workflow Users' Group"
 
 
        To:     SAP-WUG at MITVMA.MIT.EDU
        cc:
        Subject:        Re: Dialog workitem calling a BSP (url)
 
 
Yes it's possible.
How depends on what release you are using.
If you have access to BSP then I take it you are in a WAS based system?
 
To call your BSP from SAPGUI inbox (trans SBWP) do the necessary config
in transactions WF_HANDCUST and WF_EXTSRV - generate an appropriate task
from WF_EXTSRV for your BSP and include it in your workflow.  Don't forget
that when you transport your task to your test/prod system you will need
to run
transaction BDLSS against the relevant entry in table SWLWPTSSID.
 
To call your BSP from the UWL - look at the item type launch configuration
and
customization relevant to your SAP EP release/support pack.   Lots of doco
on this
now in the SAP Library NW04 help.
Regards,
Jocelyn
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]
Sent: Wednesday,3 November 2004 5:41 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Dialog workitem calling a BSP (url)
 
I would like to have a dialog step in my workflow that when executed
processes a bsp (or a url), which will be a report the user can view.  Is
this possible, and if so how would I accomplish it?
 
Thanks,
Tami
 


More information about the SAP-WUG mailing list