SWFVISU question

Dart, Jocelyn jocelyn.dart at sap.com
Sun Jun 26 22:05:14 EDT 2005


Hi Gaurav, 
 
Transaction SWFVISU is used to maintain a table which determines which launch mechanism is used when executing work items. 
 
For each dialog task used in your workflow, enter the task id "TS" + number and the visualization type, e.g. iview, web dynpro abap, web dynpro java, portal component, etc. You can also specify any visualization parameters if necessary. 
 
Essentially it's a quick way to ensure the correct launch mechanism is used when the usual re-register of work item types may not be able to determine the launch mechanism accurately enough on its own. 
 
I'd suggest you fill the table and then run the "re-register of work item types" from UWL administration. 
 
You just enter your tasks in the transaction directly - as once-off configuration.  There's no need for any function modules.
 
If you are trying to figure out the task id/ config used by a particular work item, turn on the UWL Support Info via the Portal Content configuration - very helpful.  

Regards, 
Jocelyn Dart 
Senior Consultant 
SAP Australia Pty Ltd. 
Level 1/168 Walker St. 
North Sydney 
NSW, 2060 
Australia 
T   +61 412 390 267 
M   + 61 412 390 267 
E   jocelyn.dart at sap.com 
http://www.sap.com <http://www.sap.com/>  

The information contained in or attached to this electronic transmission is confidential and may be legally privileged. It is intended only for the person or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any distribution, copying, review, retransmission, dissemination or other use of this electronic transmission or the information contained in it is strictly prohibited. If you have received this electronic transmission in error, please immediately contact the sender to arrange for the return of the original documents. 

Electronic transmission cannot be guaranteed to be secure and accordingly, the sender does not accept liability for any such data corruption, interception, unauthorized amendment, viruses, delays or the consequences thereof.

Any views expressed in this electronic transmission are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of SAP AG or any of its subsidiaries. SAP AG, its subsidiaries, and their directors, officers and employees make no representation nor accept any liability for the accuracy or completeness of the views or information contained herein. Please be aware that the furnishing of any pricing information/ business proposal herein is indicative only, is subject to change and shall not be construed as an offer or as constituting a binding agreement on the part of SAP AG or any of its subsidiaries to enter into any relationship, unless otherwise expressly stated. 

 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Gaurav Naik
Sent: Friday, 24 June 2005 3:56 PM
To: sap-wug at mit.edu
Subject: SWFVISU question


Hi Friends,
I have a some doubts regarding the use of the transaction SWFVISU. 
ERP2004 onwards SAP suggests the use of the workflow WS12300111 for Time mgmt and leave applications. If as a normal workflow programmer you go to thte first dialog step, it uses a class method designed to throw error. So when the workitem is executed form the SAP Inbox the WF goes into error. 
The workitems are meant to be executed from the web environment, eg. ESS/MSS and the configuration for the same is maintained in the Xac "SWFVISU". 
Can anybody please let me know the process flow while executing workitems from Web and how the config in SWFVISU is used and which FM (if any) are used to configure the same.
 
Thanks & Regards,
Gaurav.

sap-wug-request at mit.edu wrote:

	Send SAP-WUG mailing list submissions to
	sap-wug at mit.edu
	
	To subscribe or unsubscribe via the World Wide Web, visit
	http://mailman.mit.edu/mailman/listinfo/sap-wug
	or, via email, send a message with subject or body 'help' to
	sap-wug-request at mit.edu
	
	You can reach the person managing the list at
	sap-wug-owner at mit.edu
	
	When replying, please edit your Subject line so it is more specific
	than "Re: Contents of SAP-WUG digest..."
	
	
	Today's Topics:
	
	1. Re: Issue with transporting webservices & generated tasks.
	2. Re: RE : Task Wait for event and deadline delay (Mike Pokraka)
	3. Problem with sofm email attachment
	4. RE: page display in UWL with WEBSERVICE object (Dart, Jocelyn)
	5. RE: Issue with transporting webservices & generated tasks.
	(Dart, Jocelyn)
	
	
	----------------------------------------------------------------------
	
	Date: Thu, 23 Jun 2005 07:35:59 -0400
	From: tamara.elliott at kodak.com
	To: "SAP Workflow Users' Group" 
	Subject: Re: Issue with transporting webservices & generated tasks.
	Message-ID: 
	Content-Type: multipart/alternative;
	boundary="=_alternative 003FB74F85257029_="
	MIME-Version: 1.0
	Precedence: list
	Reply-To: SAP Workflow Users' Group 
	Message: 1
	
	This is a multipart message in MIME format.
	--=_alternative 003FB74F85257029_=
	Content-Type: text/plain; charset="us-ascii"
	
	There is an OSS note out there that talks about entries on table 
	SWLWPTSSID - 746709. Unless you are on WAS 640, you must maintain this 
	table manually in each environment. That is what we had to do.
	
	Tami
	Eastman Kodak Company
	(585)724-4927
	
	
	
	
	
	
	pramod reddy 
	Sent by: sap-wug-bounces at mit.edu
	06/22/2005 10:31 PM
	Please respond to "SAP Workflow Users' Group"
	
	
	To: "SAP Workflow Users' Group" 
	cc: 
	Subject: Issue with transporting webservices & generated tasks.
	
	
	Hi All,
	URL is being incorrectly prepared whenever task[associcated with 
	webservice] is executed; hence BSP page/webserive is not started in 
	browser. This I am facing in QA.
	After debugging in QA, I found, linkage missing between webservices & 
	tasks[which was generated from WF_extsrv].
	Entries for the same linkage, i could see it in table "SWLWPTSSID"(Task 
	Linkages for WebFlow Services) in DEV. I am not sure why this is not 
	locked under Transport. 
	(one more observation during development in DEV is, Generated tasks are by 
	default saved under &tmp; I have manually assigned them another packa! ge 
	for transporting) 
	As for as my understanding this is causing the problem. 
	So now the question is how these entries can be transported into QA?
	or should I maintain this table directly in QA? (SAP allows maintenance of 
	this table directly; I have verified this from SM30). [I guess this table 
	maintained manually, the reason being this table also contains Logical 
	system name; And this value will be different in DEV & QA hence can't 
	transported from DEV to QA. Correct me if am wrong].
	Hints please to "fix" this(corrective actions). And how this can be 
	prevented in first place(in DEV itself).
	we have to fix this as early as possible.
	I would appreciate if any one can summarize what steps need to be followed 
	before and after transporting the webservices into QA. otherwise please 
	provide me the links to documentation on this subject.
	Thanking in advance.
	Pramod.
	How much free photo storage do you get? Store your holi! day snaps for FREE 
	with Yahoo! Photos. Get Yahoo! Photos_______________________________________________
	SAP-WUG mailing list
	SAP-WUG at mit.edu
	http://mailman.mit.edu/mailman/listinfo/sap-wug
	
	
	
	--=_alternative 003FB74F85257029_=
	Content-Type: text/html; charset="us-ascii"
	
	
	
	There is an OSS note out there that talks about entries on table SWLWPTSSID - 746709.  Unless you are on WAS 640, you must maintain this table manually in each environment.  That is what we had to do.
	
	
	
	Tami
	
	Eastman Kodak Company
	
	(585)724-4927
	
	
	
	
	
	
	
	
	
	
	



	pramod reddy <rkpramod at yahoo.co.uk>

Sent by: sap-wug-bounces at mit.edu


06/22/2005 10:31 PM

Please respond to "SAP Workflow Users' Group"




        

        To:        "SAP Workflow Users' Group" <sap-wug at mit.edu>

        cc:        

        Subject:        Issue with transporting webservices & generated tasks.	






	Hi All,
	

	URL is being incorrectly prepared whenever task[associcated with webservice] is executed; hence BSP page/webserive is not started in browser. This I am facing in QA.
	

	After debugging in QA, I found, linkage missing between webservices & tasks[which was generated from WF_extsrv].
	

	Entries for the same linkage, i could see it in table "SWLWPTSSID"(Task Linkages for WebFlow Services) in DEV. I am not sure why this is not locked under Transport. 
	

	(one more observation during development in DEV is, Generated tasks are by default saved under &tmp; I have manually assigned them another package for transporting) 
	

	As for as my understanding this is causing the problem. 
	

	So now the question is how these entries can be transported into QA?
	

	or should I maintain this table directly in QA? (SAP allows maintenance of this table directly; I have verified this from SM30). [I guess this table maintained manually, the reason being this table also contains Logical system name; And this value will be different in DEV & QA hence can't transported from DEV to QA. Correct me if am wrong].
	

	Hints please to "fix" this(corrective actions). And how this can be prevented in first place(in DEV itself).
	

	we have to fix this as early as possible.
	

	I would appreciate if any one can summarize what steps need to be followed before and after transporting the webservices into QA. otherwise please provide me the links to documentation on this subject.
	

	Thanking in advance.
	

	Pramod.
	

	
	
________________________________

	How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo! Photos <http://us.rd.yahoo.com/mail/uk/taglines/default/photos/*http://uk.photos.yahoo.com/> _______________________________________________
	
	SAP-WUG mailing list
	
	SAP-WUG at mit.edu
	
	http://mailman.mit.edu/mailman/listinfo/sap-wug
	
	
	

	
	

	
	--=_alternative 003FB74F85257029_=--
	------------------------------
	
	Date: Thu, 23 Jun 2005 13:08:20 +0100 (BST)
	From: "Mike Pokraka" 
	To: "SAP Workflow Users' Group" 
	Subject: Re: RE : Task Wait for event and deadline delay
	Message-ID: <10401.194.74.217.206.1119528500.squirrel at secure.workflowconnections.com>
	In-Reply-To: 
	<22E9CE7D80AB574EB9875288AB610DBC123854 at fr-ex002.groupinfra.com>
	References: 
	<22E9CE7D80AB574EB9875288AB610DBC123854 at fr-ex002.groupinfra.com>
	Content-Type: text/plain;charset=iso-8859-1
	MIME-Version: 1.0
	Content-Transfer-Encoding: 8bit
	Precedence: list
	Reply-To: SAP Workflow Users' Group 
	Message: 2
	
	Hi Eric,
	Create a dummy step that does nothing, and put it in a fork parallel to
	your wait for event:
	
	Branch A -> Wait for event
	Branch B -> Wait step (dummy method) with requested start! of 2 days.
	
	After 2 days the step in branch B will execute, terminating the fork and
	killing the wait for event step.
	
	Cheers
	Mike
	
	Caillet, Eric wrote:
	>
	> Hi Mike,
	>
	> sorry i don't understand your answer : create a wait step in a parallel
	> branch, ok but what's about my deadline ?
	>
	> Regards,
	> Eric C.
	>
	> ________________________________
	>
	> De: sap-wug-bounces at mit.edu de la part de Mike Pokraka
	> Date: mar. 21/06/2005 17:14
	> À: SAP Workflow Users' Group
	> Objet : RE: Task Wait for event and deadline delay
	>
	>
	>
	> Hi Eric,
	> I'm not too sure but I think I tried that some time back with the same
	> result.
	> Your best bet is to use a wait step in a parallel branch.
	> Cheers
	> Mike
	>
	> Caillet, Eric wrote:
	>> Hi,
	>>
	>>
	>>
	>> I agree with you and I did al! l that. Well I summarize what I did in my
	>> workflow example :
	>>
	>>
	>>
	>> - create a new BOR named ZTEST with one key field and one event
	>> :
	>> ChangeStatus ;
	>>
	>> - create a new workflow with a new element in container :
	>> ZELEMENT, a object type ZERCA ;
	>>
	>> - in the new workflow I create a new event "Wait for event"
	>> task
	>> with ZELEMENT like container element and ChangeStatus event. In the
	>> outcomes tab I've selected "Wait step terminated", "Latest end" and
	>> "Processing obsolete".
	>>
	>> - In the "Latest end" tab, Refer. Date/time is Work item
	>> creation
	>> + 2 minutes
	>>
	>>
	>>
	>> Well, in my workflow I've one task and 3 steps (Event arrived, Obsolete,
	>> Deadline). I launch my workflow and when the deadline is arrived,
	>> workflow>> isn't stopped, in the protocol workflow, at the wait event line I see
	>> Deadline reached, that's all.
	>>
	>>
	>>
	>> Regards,
	>>
	>> Eric C.
	>>
	>>
	>>
	>> ________________________________
	>>
	>> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
	>> Of Kjetil Kilhavn
	>> Sent: mardi 21 juin 2005 14:37
	>> To: SAP Workflow Users' Group
	>> Subject: RE: Task Wait for event and deadline delay
	>>
	>>
	>>
	>> Remember, in addition to defining the deadline and naming the outcome
	>> you
	>> must activate the outcome (Outcomes tab). I assume you have done that
	>> since you say you can observe the deadline being reached. To get the
	>> "Processing obsolete" outcome you must activate it and add a process
	>> control step to the modelled deadline ha! ndling branch (e.g. "Latest end
	>> reached!"). The process control step is used to obsolete the step that
	>> has
	>> reached its deadline (or another step if you choose to). Just add the
	>> step
	>> and you'll see how it is done.
	>>
	>> --
	>>
	>> Kjetil Kilhavn, Statoil KTJ IT BKS
	>>
	>>
	>>
	>>
	>>
	>> ________________________________
	>>
	>> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
	>> Of Caillet, Eric
	>> Sent: 21. juni 2005 14:09
	>> To: SAP Workflow Users' Group
	>> Subject: RE : Task Wait for event and deadline delay
	>>
	>> Dear Jocelyn,
	>>
	>>
	>>
	>> thanks for your answer.
	>>
	>>
	>>
	>> Well, in my business scenario i'm waiting a event, if the event arrive
	>> in
	>> the ! limit of work item creation + 2 days i take a action and if the
	>> event
	>> don't arrive at the limit i want to take a another action (for exemple,
	>> notification email).
	>>
	>>
	>>
	>> What i don't understand this is why SAP put on the task deadline
	>> informations ? when i look the protocol's worklow and particulary the
	>> waiting a event task, deadline is arrived but the event is always in
	>> progress... it don't stop ?
	>>
	>>
	>>
	>> Regards,
	>>
	>> Eric C.
	>>
	>>
	
	
	Mike Pokraka
	Senior Consultant
	Workflow Connections Ltd.
	Mobile: +44 (0)7786 910 855
	------------------------------
	
	Date: Thu, 23 Jun 2005 14:28:29 +0200
	From: 
	To: 
	Subject: Problem with sofm email attachment
	Message-ID: <526307A8F5C5AF47ADA1A97C62F969B4013EB2B5 at EMEXM1107.dir.svc.accenture.com>
	Content-Type: text/plain;
	charset="iso-8859-1"
	MIME-Version: 1.0
	Content-Transfer-Encoding: 8bit
	Precedence: list
	Reply-To: SAP Workflow Users' Group 
	Message: 3
	
	Hi everyone,
	
	I have some problems with email notification attachments sent out to users, hope you can be of help. I'm on 4.6c.
	
	So we're running an invoice approval workflow and at a certain point, an office document (type SOFM) is sent as an attachment of the notification email with the help of a method sofm-compose based task. The attached office document contains further an ArchiveLink object converted to a .fax format image (not sure of the terms..) which the user can then read with an ixos viewer. 
	
	My problem is that the .fax file getting sent is not the complete copy of the original scanned image which resides in the ixos content server. If you're familiar with ixos! viewer, you can sometimes see multi-page invoices - the problem is that the .fax-file contains only one page and the other pages are discarded. 
	
	Previously in the workflow, there is a custom task which gets the image from the ixos content server, creates an sofm document for it and attaches it to the invoice with a binary relation. Based on the sofm object key, the document is then eventually put into a workflow container element and used in the send mail step.
	
	So somewhere in the process of creating the office document containing the archivelink object link and sending it as an email attachment with sofm-compose the other pages of the invoice image are left out. I presume it must be somewhere when creating the SOFM object with the image as an attachment, but I haven't been able to check this because I'm getting a mysterious error "Maintain ArchiveLink in the file 'front.ini'" and I don't know how o fix it based on note 566398. If I were able to instantiate the sofm o! bject and display its attachments I'd probably be able to limit this to the .fax-file creation phase.
	
	But would you have any suggestions where I should look into with this one before going to OSS? Any experiences, tips and hints are very appreciated since my hair will soon be pulled off completely...
	
	Best regards,
	Mikko
	
	
	This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
	
	------------------------------
	
	Date: Thu, 23 Jun 2005 21:04:48 +0800
	From: "Dart, Jocelyn" 
	To: "SAP Workflow Users' Group" 
	Subject: RE: page display in UWL with WEBSERVICE object
	Message-ID: 
	Content-Type: text/plain;
	charset="us-ascii"
	MIME-Version: 1.0
	Content-Transfer-Encoding: 8bit
	Precedence: list
	Reply-To: SAP Workflow Users' Group 
	Message: 4
	
	Hi Jacob, 
	Webservice replaces EXTSRV - do not go back to EXTSRV.
	
	Read the UWL administration guide on help.sap.com (its in the latest
	NetWeaver EP help). You need to make sure you have completed the
	relevant config in the Portal Content section of the UWL. 
	You also need to make sure you have re-registered the work item types
	after you created the task.
	A couple of other options: use transaction WF_EXTSRV to enter your
	webservice URL and parameters and generate a task from this. 
	There's also a table in R/3 that the UWL uses to determine what launch
	mechanism to use for specific tasks. Can't remember the name but I think
	you can find it in the UWL admin guide - probably in the section on work
	item launch execution.
	
	
	
	Regards,
	Jocelyn Dart
	Senior Consultant
	SAP Australia Pty Ltd.
	Level 1/168 Walker St.
	North Sydney 
	NSW, 2060
	Australia
	T +61 412 390 267
	M + 61 412 390 267
	E jocelyn.dart at sap.com
	http://www.sap.com
	
	The information contained in or attached to this electronic transmission
	is confidential and may be legally privileged. It is intended only for
	the person or entity to which it is addressed. If you are not the
	intended recipient, you are hereby notified that any distribution,
	copying, review, retransmission, dissemination or other use of this
	electronic transmission or the information contained in it is strictly
	prohibited. If you have received this electronic transmission in error,
	please immediately contact the sender to arrange for the return of the
	original documents. 
	Electronic transmission cannot be guaranteed to be secure and
	accordingly, the sender does not accept liability for any such data
	corruption, interception, unauthorized amendment, viruses, delays or the
	consequences thereof.
	Any views expressed in this electronic transmission are those of the
	individual sender, except where the message states otherwise and the
	sender is authorized to state them to be the views of SAP AG or any of
	its subsidiaries. SAP AG, its subsidiaries, and their directors,
	officers and employees make no representation nor accept any liability
	for the accuracy or completeness of the views or information contained
	herein. Please be aware that the furnishing of any pricing information/
	business proposal herein is indicative only, is subject to change and
	shall not be construed as an offer or as constituting a binding
	agreement on the part of SAP AG or any of its subsidiaries to enter into
	any relationship, unless otherwise expressly stated. 
	
	
	-----Original Message-----
	From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
	Of Jacob CraneSent: Thursday, 23 June 2005 11:23 AM
	To: 'sap-wug at mit.edu'
	Subject: page display in UWL with WEBSERVICE object
	
	Howdy,
	Sorry for the previous bad post. I'm using the WEBSERVICE object to
	open a BSP in the universal work list on a NetWeaver 05 portal and don't
	like the way the BSP is displayed. When I click on the work item, the
	WebGUI is started and the BSP appears in another window. I need to
	prevent
	the WebGUI from being used, if at all possible. Is there an easy way to
	get
	around this? Would EXTSRV be a better option?
	
	Thanks,
	Jacob
	_______________________________________________
	SAP-WUG mailing list
	SAP-WUG at mit.edu
	http://mailman.mit.edu/mailman/listinfo/sap-wug
	
	------------------------------
	
	Date: Thu, 23 Jun 2005 21:09:19 +0800
	From: "Dart, Jocelyn" 
	To: "SAP Workflow Users' Group" 
	Subject: RE: Issue with transporting webservices & generated tasks.
	Message-ID: 
	Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C577F4.BB31AB3B"
	MIME-Version: 1.0
	Precedence: list
	Reply-To: SAP Workflow Users' Group 
	Message: 5
	
	This is a multi-part message in MIME format.
	
	------_=_NextPart_001_01C577F4.BB31AB3B
	Content-Type: text/plain;
	charset="us-ascii"
	Content-Transfer-Encoding: quoted-printable
	
	Pramod,=20
	Have a look in service.sap.com/notes with key word SWLWPTSSID - The
	transport issue has been asked and answered before and you should find a
	note about it.
	=20
	
	Regards,=20
	Jocelyn Dart=20
	Senior Consultant=20
	SAP Australia Pty Ltd.=20
	Level 1/168 Walker St.=20
	North Sydney=20
	NSW, 2060=20
	Australia=20
	T +61 412 390 267=20
	M + 61 412 390 267=20
	E jocelyn.dart at sap.com=20
	http://www.sap.com =20
	
	The inf! ormation contained in or attached to this electronic transmission
	is confidential and may be legally privileged. It is intended only for
	the person or entity to which it is addressed. If you are not the
	intended recipient, you are hereby notified that any distribution,
	copying, review, retransmission, dissemination or other use of this
	electronic transmission or the information contained in it is strictly
	prohibited. If you have received this electronic transmission in error,
	please immediately contact the sender to arrange for the return of the
	original documents.=20
	
	
	=== message truncated ===

________________________________

Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=33539/*http://football.fantasysports.yahoo.com?ovchn=YAH&ovcpn=Integration&ovcrn=Mail+footer&ovrfd=YAH&ovtac=AD>  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20050627/954094c0/attachment.htm


More information about the SAP-WUG mailing list