<div>oh so your are getting BSP Error again?</div>
<div> </div>
<div>coz this is just a javascript command. I'm sure there must have been some syntax error.</div>
<div> </div>
<div>could you send me the ABAP error logs from ST22 transaction.</div>
<div> </div>
<div>may be we can find which line number the error is.</div>
<div> </div>
<div>this should work :)</div>
<div> </div>
<div>-Krishna<br><br> </div>
<div><span class="gmail_quote">On 12/6/05, <b class="gmail_sendername">Baunach, Natasha R</b> <<a href="mailto:natasha.r.baunach@intel.com">natasha.r.baunach@intel.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Krishna</span></font><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">
,</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">This is didn't work either – got similar error. I will keep on trying (getting some Portal training)</span></font>
</p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thank you very much for ideas though.</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Natasha </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<div>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</span></font></b><font face="Tahoma" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">
sap-wug-bounces@mit.edu</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>] <b><span style="FONT-WEIGHT: bold">On Behalf Of
</span></b>Athur Krishna<br><b><span style="FONT-WEIGHT: bold">Sent:</span></b> Tuesday, December 06, 2005 4:36 PM
<div><span class="e" id="q_10803e7f3ddbc3ff_1"><br><b><span style="FONT-WEIGHT: bold">To:</span></b> SAP Workflow Users' Group<br><b><span style="FONT-WEIGHT: bold">Subject:</span></b> Re: Refresh UWL task list after completion of workitem
</span></div></span></font>
<p></p></p></div>
<div><span class="e" id="q_10803e7f3ddbc3ff_3">
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Hi Natasha,</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Did you try with window.location.href = "<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://portalurl:port/irj/portal?NavigationTarget=ROLES://portal_content/every_user/general/eu_role/com.sap.portal.eu_ws/com.sap.netweaver.bc.uwl.uwl_page" target="_blank">
http://portalurl:port/irj/portal?NavigationTarget=ROLES://portal_content/every_user/general/eu_role/com.sap.portal.eu_ws/com.sap.netweaver.bc.uwl.uwl_page </a>"</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">coz EPCM.doNavigate is part of portal Client Framework API, there is a change that it could not interpret. although the I could not conclude that with your bsp error.
</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">please try the above solution and let me know.</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">-Krishna<br><br> </span></font></p></div>
<div>
<p><span><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">On 12/6/05, <b><span style="FONT-WEIGHT: bold">Baunach, Natasha R</span></b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:natasha.r.baunach@intel.com" target="_blank">
natasha.r.baunach@intel.com</a>> wrote:</span></font></span> </p>
<p style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Hi Krishna,<br><br>Thanks again for your response. I have found the correct role to put into EPCM.doNavigate . I have added a URL to my BSP with onclick command to call EPCM. Below is the copy of the code:
<br> <a href="myLink" onclick="return EPCM.doNavigate('<a> ROLES://portal_content/every_user/general/eu_role/com.sap.portal.eu_ws/com.sap.netweaver.bc.uwl.uwl_page')"</a>>TestC</a><br><br>
However, when I click on it, I get an error:<br>The following error text was processed in the system: <br>BSP Exception: Das Objekt myLink in der URL /sap(bD1lbiZjPTIzMCZkPW1pbiZ3PTEwNzAwMDAr)/bc/bsp/sap/z_test/myLink ist nicht gültig.
<br><br>Looks like it is adding the properties of my BSP application.<br><br>Am I supposed to add this call within BSP application or do I have to add it in the configuration of the task in the Portal? <br><br>Thank you for you patience.
<br><br>Natasha<br><br>________________________________<br><br>From: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> on behalf of Athur Krishna
<br>Sent: Tue 12/6/2005 9:25 AM <br>To: SAP Workflow Users' Group<br>Subject: Re: Refresh UWL task list after completion of workitem<br><br><br>Hi Natasha,<br><br>you can use EPCF.doNavigate("PCD URL") or use a javascript function
<br><br>window.location.href ("Full URL of the UWL Role).<br><br>if you do not know the proper role to navigate. this is the simple way to find.<br><br>when you are in the UWL main screen save that screen in favorites using the portal button on the top right corner.
<br><br>then go to the favorites page and see its URL in properties<br><br>I hope it helps,<br><br>-Krishna<br><br><br><br>On 12/5/05, Baunach, Natasha R <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:natasha.r.baunach@intel.com" target="_blank">
natasha.r.baunach@intel.com </a>> wrote:<br><br> Thanks Krishna.<br><br><br><br> Clarification on my first question...<br><br><br><br> The users enters UWL, and click on the subject of my webflow task. The webflow task calls a BSP application that has two buttons - approve and reject. When the user clicks on approve or reject, the workitem gets completed but my application still displays the same page. Instead of staying on that page and having users click on Universal Worklist from the menu again, I would like the user to be redirected to UWL automatically. Do you know how I can accomplish this?
<br><br><br><br> Thanks.<br><br><br><br><br>________________________________<br><br><br> From: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu
</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sap-wug-bounces@mit.edu" target="_blank"> sap-wug-bounces@mit.edu</a>] On Behalf Of Athur Krishna<br> Sent: Monday, December 05, 2005 6:47 PM
<br> To: SAP Workflow Users' Group<br> Subject: Re: Refresh UWL task list after completion of workitem<br><br><br><br> Natasha,<br><br><br><br> The main Iview of UWL contains attribute for referesh time
<br><br> I donot understand your first question regardin BSP<br><br><br><br> -Krishna<br><br><br><br> On 12/2/05, Baunach, Natasha R < <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:natasha.r.baunach@intel.com" target="_blank">
natasha.r.baunach@intel.com</a> <mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:natasha.r.baunach@intel.com" target="_blank">natasha.r.baunach@intel.com</a>> > wrote: <br><br> Hello all,
<br><br><br><br> We are on NW04, support 13 and EP 6.0. I have configured UWL to receive workitems from this system and able to see them in UWL just fine. I am also able to execute those workitems in UWL. It should return from my BSP back to the UWL and also refresh it. But it doesn't. It stays on the same page (although in the workflow log I can see that workitem got completed). When I click on UWL from the menu, I still see the item there. Only after I click on Refresh button it disappears. So two questions (that have been posted before on SDN by another person):
<br><br><br><br> 1. How do I return to UWL from my BSP?<br> 2. How do I force UWL to automatically refresh?<br><br><br><br> I have looked through configuration guides and searched this forum but didn't find any answers.
<br><br><br><br> Thank you!<br><br><br><br><br><br> Natasha Baunach<br> Office: (971) 215-2276<br> Pager: (866) 272-3809 or mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:8662723809@archwireless.net" target="_blank">
8662723809@archwireless.net </a><br><br><br><br><br> _______________________________________________<br> SAP-WUG mailing list<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu" target="_blank">
SAP-WUG@mit.edu</a><br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br><br>
<br><br><br><br> _______________________________________________<br> SAP-WUG mailing list<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu
</a><br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br><br><br><br><br><br>
_______________________________________________<br>SAP-WUG mailing list <br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">
http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br></span></font></p></div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></span></div></div><br>_______________________________________________<br>SAP-WUG mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:SAP-WUG@mit.edu">
SAP-WUG@mit.edu</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br><br><br></blockquote>
</div><br>