Problem with webflow task that calls PCUI application

Baunach, Natasha R natasha.r.baunach at intel.com
Fri Dec 23 21:22:30 EST 2005


All,

 

In case you are interested in solution...  There is no elegant solution
here.  PCUI framework is somewhat inflexible and requires variables to
be built into the URL.  We ended up creating a generic BSP page which
accepts parameters like application name, event id, object key and
whatever else you may require, build a URL within it and redirects to
the built URL.

 

When you generate your task, you will put your generic BSP there -> thus
you have generic task as well as long as you defined parameters
generically (be sure to check them as optional as some PCUI screens may
not need all of them).  However, when you go to transaction SWFVISU, be
sure to select BSP Blueprint if at the end what you are calling is a
PCUI application.

 

Regards,

Natasha

 

 

 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Baunach, Natasha R
Sent: Thursday, December 22, 2005 1:44 PM
To: SAP Workflow Users' Group
Subject: Problem with webflow task that calls PCUI application 

 

Hello all,

 

We are building a custom application that utilizes PCUI framework.
Workflow is triggered when work order is submitted for approval.  It is
routed to manager for approval.  PCUI (which is essentially a BSP)
application developer provided me with the following URL for this
approval page:

 

http://fmsap701.fm.intel.com:8000/sap/bc/bsp/sap/crm_bsp_frame/entrypoin
t.do?appl=ZCWFAP_FI_MGR_APPRVL&crm_appl_event=ZCWFE_APPROVEWO&crm_appl_o
bject_id=0000000013

 

I generated a webflow task as follows:

Host: fmsap701.fm.intel.com

Port: 8000

Path: /sap/bc/bsp/sap/crm_bsp_frame/entrypoint.do?=ZCWFAP_FI_MGR_APPRVL

Call Mode: Dialog based Service

 

I also created the following parameters as export: 

crm_appl_event

crm_appl_object_id

 

I entered visualization in SWFVISU as BSP Blueprint and registered task
in UWL.

 

When I trigger workflow, I receive my workitem in the UWL.  When I click
on the subject line, it opens a generic approval page - not specific for
object id that I passed.  In the workflow logs I can see that containers
are being populated correctly.  The application itself also has those
variables declared.  My PCUI developer is telling me that the only way
this would work in PCUI framework is to add the event and object id into
URL.  As far as I know, I cannot do that.

 

Does anyone know how I can add dynamic parameters into the path of
webflow task?

 

If not, does anyone know what needs to be done on application itself to
avoid having these parameters as part of URL?

 

Any light on this would much-much appreciated.

 

Thanks,

Natasha

 

Natasha Baunach, Sr. Application Developer 
Office: (971) 215-2276 
Pager:   (866) 272-3809 or mailto:8662723809 at archwireless.net 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20051223/5b20584f/attachment.htm


More information about the SAP-WUG mailing list