<div>Hi Markus &amp; Natasha,<br>I'm not&nbsp;sure if&nbsp;it fits your case, but couldn't you also use the UrlLauncher to call the app? (See <a href="http://help.sap.com/saphelp_nw04/helpdata/en/3a/648b505d764efcbbcbf7fab0e3070a/frameset.htm">
http://help.sap.com/saphelp_nw04/helpdata/en/3a/648b505d764efcbbcbf7fab0e3070a/frameset.htm</a>&nbsp;for an example. )</div>
<div>&nbsp;</div>
<div>I think that as a result, you could call the bsp app with the wi id as a simple http GET parameter and would thus be able to pass the parameter to the bsp page attribute without any extra configuration in the backend. You would then just need to modify the itemtype of the task in the uwl xml config file according to the example above.
</div>
<div>&nbsp;</div>
<div>Not sure if this is the preferred option because of the hard-coded url in the xml file but it looks to be more simple than the service approach.</div>
<div>&nbsp;</div>
<div>Hope this helps,</div>
<div>Mikko<br>&nbsp;</div>
<div><span class="gmail_quote">On 4/12/06, <b class="gmail_sendername"><a href="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</a></b> &lt;<a href="mailto:sap-wug-request@mit.edu">sap-wug-request@mit.edu</a>&gt; wrote:
</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Date: Wed, 12 Apr 2006 09:14:24 +0200<br>From: &quot;Markus Klein&quot; &lt;<a href="mailto:Klein@abs-team.de">
Klein@abs-team.de</a>&gt;<br>Subject: RE: Calling a BSP (4.7 Backend) from a UWL WI in a EP6.0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (NW04 SP16)<br>To: &quot;SAP Workflow Users' Group&quot; &lt;<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>&gt;
<br>Message-ID:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="mailto:8806DB63E3516243A433BC49E0ECF6762151C9@abs-sbs.abs-team.de">8806DB63E3516243A433BC49E0ECF6762151C9@abs-sbs.abs-team.de</a>&gt;<br>Content-Type: text/plain; charset=&quot;us-ascii&quot;
<br><br>Hello Natasha,<br><br>thx again for you valuable reply :) I see using BSP is a bit different<br>from using Web Dynpros in interacting with the UWL....<br><br>So i do not need to pass the WI-ID from the UWL to the BSP application,
<br>like i have to when useing Web Dynpro?<br>I can just us the code you provided to get the WI-ID, by just passing<br>the callback_url to the static method you posted? What url has to be<br>passed then? Just using the callback handler doest seem to work as the
<br>relationship to the WI in question doesnt exists..<br><br>looking forward to your reply :)<br><br>best regards<br>Markus<br><br><br>______________________________________<br><br>ABS Team GmbH<br>SAP-Consulting, Human Capital Management
<br>Muehlenweg 65<br>37120 Bovenden<br><br>Markus Klein<br>SAP Consultant<br>eMail:&nbsp;&nbsp; <a href="mailto:klein@abs-team.de">klein@abs-team.de</a><br>Tel.:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+49 551 820 33 0<br>Mobil:&nbsp;&nbsp; +49 151 126 23 047<br>Fax:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+49 551 820 33 99
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.abs-team.com">www.abs-team.com</a> &lt;<a href="http://www.abs-team.com/">http://www.abs-team.com/</a>&gt;<br><br><br><br>________________________________<br><br>From: <a href="mailto:sap-wug-bounces@mit.edu">
sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a>] On Behalf<br>Of Baunach, Natasha R<br>Sent: Tuesday, April 11, 2006 6:02 PM<br>To: SAP Workflow Users' Group<br>Subject: RE: Calling a BSP (
4.7 Backend) from a UWL WI in a EP6.0 (NW04<br>SP16)<br><br><br><br>In your BSP page, on page attributes tab, create a parameter called<br>sapwfcburl with type string.&nbsp;&nbsp;Be sure to check auto box.&nbsp;&nbsp;The use the<br>following code in the OnInitialization event, or wherever you need it to
<br>get WI_ID.&nbsp;&nbsp;You can use that workitem id to call terminating event, if<br>needed.<br><br><br><br>DATA:&nbsp;&nbsp;lv_wi_id TYPE sww_wiid.<br><br><br><br>CLEAR lv_wi_id.<br><br><br><br>CALL METHOD cl_swf_ifs_ws_export=&gt;get_callback_ctx_params
<br><br>EXPORTING<br><br>&nbsp;&nbsp; callback_url = sapwfcburl<br><br>IMPORTING<br><br>&nbsp;&nbsp; wi_id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= lv_wi_id.<br><br><br><br>________________________________<br><br>From: <a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu
</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a>] On Behalf<br>Of Markus Klein<br>Sent: Tuesday, April 11, 2006 8:21 AM<br>To: SAP Workflow Users' Group<br>Subject: RE: Calling a BSP (4.7 Backend) from a UWL WI in a 
EP6.0 (NW04<br>SP16)<br><br><br><br>Hello Natasha,<br><br><br><br>thx for the hint, worked great :) Just how can i pass the WI-ID from the<br>UWL to the BSP? Using Web Dynpro (swfvisu) i can use the dynparam<br>parameter WI_ID=${
item.externalid}.<br><br><br><br>regards<br><br>Markus<br><br><br><br>______________________________________<br><br>ABS Team GmbH<br>SAP-Consulting, Human Capital Management<br>Muehlenweg 65<br>37120 Bovenden<br><br>Markus Klein
<br>SAP Consultant<br>eMail:&nbsp;&nbsp; <a href="mailto:klein@abs-team.de">klein@abs-team.de</a><br>Tel.:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+49 551 820 33 0<br>Mobil:&nbsp;&nbsp; +49 151 126 23 047<br>Fax:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+49 551 820 33 99<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.abs-team.com">
www.abs-team.com</a> &lt;<a href="http://www.abs-team.com/">http://www.abs-team.com/</a>&gt;<br><br><br><br><br><br>________________________________<br><br>From: <a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu
</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a>] On Behalf<br>Of Baunach, Natasha R<br>Sent: Tuesday, April 11, 2006 5:12 PM<br>To: SAP Workflow Users' Group<br>Subject: RE: Calling a BSP (
4.7 Backend) from a UWL WI in a EP6.0 (NW04<br>SP16)<br><br>Markus,<br><br><br><br>Have you configured transaction WF_HANDCUST in your backend?&nbsp;&nbsp;Usually,<br>you would have something like this:<br><br>Log: either http or https
<br><br>Host: YourSystemServer<br><br>Port: 8000 (whatever actual port you use)<br><br>Path: /sap/bc/webflow/<br><br>Handler name: wshandler<br><br><br><br>Save, generate URL and test.<br><br><br><br>Fill out similar info for Launch Handler, Callback Handler, Callback
<br>Dialog.<br><br><br><br>Then go back to your Portal UWL config and re-register the items.&nbsp;&nbsp;The<br>value for your webservice_url will be<br>http(s)://YourSystermServer:8000/sap/bc/webflow/wshandler<br><br><br><br>This should work for you.
<br><br><br><br>Natasha<br><br><br><br>________________________________<br><br>From: <a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu
</a>] On Behalf<br>Of Markus Klein<br>Sent: Tuesday, April 11, 2006 1:39 AM<br>To: <a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a><br>Subject: Calling a BSP (4.7 Backend) from a UWL WI in a EP6.0 (NW04<br>SP16)<br><br>
<br><br>Im new to this user group, so hello everbody :)<br><br><br><br>I have a question about calling a BSP from the UWL. I have uploaded a<br>XML configuration for the UWL<br><br><br><br>&nbsp;&nbsp; &lt;ItemType connector=&quot;WebFlowConnector&quot;
<br>defaultAction=&quot;launchWSHandler&quot; defaultView=&quot;webflowView&quot;<br>executionMode=&quot;pessimistic&quot;<br>name=&quot;uwl.task.webflow.TS99500001.XXX_XXX_CLNTXXX&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;ItemTypeCriteria connector=&quot;WebFlowConnector&quot;
<br>externalType=&quot;TS99500001&quot; systemId=&quot;XXX_XXX_CLNTXXX&quot;&gt;&lt;/ItemTypeCriteria&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;Actions&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Action groupAction=&quot;no&quot; handler=&quot;XhandlerLauncher&quot;<br>launchInNewWindow=&quot;no&quot; name=&quot;launchWSHandler&quot;
<br>returnToDetailViewAllowed=&quot;yes&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Properties&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Property name=&quot;webservice_url&quot;<br>value=&quot;testtesttest&quot;&gt;&lt;/Property&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Property name=&quot;display_order_priority&quot;
<br>value=&quot;5&quot;&gt;&lt;/Property&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Properties&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Descriptions default=&quot;&quot;&gt;&lt;/Descriptions&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Action&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Actions&gt;<br>&nbsp;&nbsp; &lt;/ItemType&gt;
<br><br><br><br>As webservice_url i have added a test value, just to see what will<br>happening when executing a WI in the UWL.<br><br><br><br>I get the following error:<br><br>Portal-Runtimeerror:<br><br>...<br><br>iView not found: testtesttest
<br><br><br><br>So the question i have is. What parameter do i have to enter for<br>&quot;webserver&quot; at the XML Config. The address of an iView in the pdc which<br>calls the BSP, or the address to the BSP itself? And if its an iView,
<br>how is the parameter mapping working, as i have to pass the WI-ID to the<br>BSP application?<br><br><br><br>best regards,<br><br>Markus<br><br>______________________________________<br><br>ABS Team GmbH<br>SAP-Consulting, Human Capital Management
<br>Muehlenweg 65<br>37120 Bovenden<br><br>Markus Klein<br>SAP Consultant<br>eMail:&nbsp;&nbsp; <a href="mailto:klein@abs-team.de">klein@abs-team.de</a><br>Tel.:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+49 551 820 33 0<br>Mobil:&nbsp;&nbsp; +49 151 126 23 047<br>Fax:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+49 551 820 33 99
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.abs-team.com">www.abs-team.com</a> &lt;<a href="http://www.abs-team.com/">http://www.abs-team.com/</a>&gt;<br><br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...
<br>URL: <a href="http://mailman.mit.edu/pipermail/sap-wug/attachments/20060412/c119942a/attachment.htm">http://mailman.mit.edu/pipermail/sap-wug/attachments/20060412/c119942a/attachment.htm</a><br><br>------------------------------
<br><br>_______________________________________________<br>SAP-WUG mailing list<br><a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug
</a><br><br><br>End of SAP-WUG Digest, Vol 17, Issue 33<br>***************************************<br></blockquote></div><br>