Creating mail with attachment link to transaction

Kjetil Kilhavn KJETILK at statoil.com
Mon May 8 09:09:54 EDT 2006


Just study RSWUWFML2 and you will see it. There is a function method that creates/compiles the actual attachment data.
-- 
Kjetil Kilhavn, Statoil ØFT KTJ BAS DEV SAP
 


________________________________

	From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Shai Eyal
	Sent: 8. mai 2006 11:18
	To: sap-wug at mit.edu
	Subject: Creating mail with attachment link to transaction
	
	
	Hi all,
	 
	My workflow sends mail message to outlook. I wish to add attachment which link to transaction (with parameters) so that the user can log into SAP to view object data (for example display Purchase Order in ME23N, BUS2012 display metnod). I know RSWUWFML2 does it for workitem, however its not good enough since:
	a. This workitem may never be executed.
	b. Once the workitem is executed, you can't do it again.
	 
	Any idea how to use the &Attachment& in mail step for such issue ? I know to link documents but not a link...
	 
	Thanks in advance,
	 
	
	Regards,
	Shai Eyal
	 

________________________________

	מאת: sap-wug-bounces at mit.edu בשם sap-wug-request at mit.edu
	נשלח: ב 01/05/2006 16:26
	אל: sap-wug at mit.edu
	נושא: SAP-WUG Digest, Vol 18, Issue 1
	
	

	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. How to use FORM-HTMLPROCESS (Khanna, Manish)
	   2. RE: Role Resolution problems (rina spector)
	   3. RE: How to use FORM-HTMLPROCESS (lianghuan.x.hu at accenture.com)
	
	
	----------------------------------------------------------------------
	
	Message: 1
	Date: Mon, 1 May 2006 03:54:21 -0500
	From: "Khanna, Manish" <manish.khanna at amd.com>
	Subject: How to use FORM-HTMLPROCESS
	To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
	Message-ID:
	        <493F4B73971F3C4DA0FDBB28AFB68A42043E0C2B at SAUSEXMB2.amd.com>
	Content-Type: text/plain; charset="us-ascii"
	
	Hi,
	
	I need to enhance an exiting workflow.
	
	1. One step is to input rejection comments from the user if the document
	is rejected.
	2. This step in the workflow refers to a custom task which in turn calls
	FORM-HTMLPROCESS.
	3. Binding from workflow passes lots of parameter that is displayed in
	the FORM. However in the task I could not find how and where those
	container elements were used.
	
	Any suggestions?
	
	Regards,
	Manish
	
	
	-------------- next part --------------
	An HTML attachment was scrubbed...
	URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060501/d7973ed5/attachment-0001.htm
	
	------------------------------
	
	Message: 2
	Date: Mon, 1 May 2006 16:47:18 +0200
	From: "rina spector" <rina.spector at ness.com>
	Subject: RE: Role Resolution problems
	To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
	Message-ID: <60A88EAE4CA2FF479F1AE3B8A6652C590FF027 at NESSNT11.ness.com>
	Content-Type: text/plain; charset="windows-1255"
	
	 ,Hello Shai
	 It can happen if  the container elements that are passed to the role   remain empty 
	
	then all  assinged users in the role will be returned
	Or on the contrary no  agent was found and you didn't check the
	terminate if role resolution has no result flag  " in the role .
	check the values \attributes that you  pass to the role
	activate the debugger from  SWUD
	Another option is  Authorization lack  for preceeing agent before the problematic step because if you look at the  technical worklfow log  part of  creating the workitem is done on behalf of the user preceeding the step
	in question
	
	Regards,
	Rina
	
	________________________________
	
	???: sap-wug-bounces at mit.edu ??? Shai Eyal
	????: ? 30/04/2006 11:32
	??: sap-wug at mit.edu
	????: Role Resolution problems
	
	
	
	Hi all,
	
	I'm using Role Resolution in my WF. I've created resposibilty role and
	when I test it from t.code PFAC it works correctly. However in
	Production system, for certains tasks, it doesn't work. What actualy
	happens is that a workitem is created for all assigned agents. For the
	best of my knowlodge, such happens if the workflow couldn't find the
	correct agent. Therefore my suspicion is that in runtime the Role I've
	created find no agent.
	
	How can I debug it ? How can I find the parameters' value transferred to
	the Role Container ?
	
	Thanks,
	
	
	Regards,
	Shai Eyal
	
	
	_______________________________________________
	SAP-WUG mailing list
	SAP-WUG at mit.edu
	http://mailman.mit.edu/mailman/listinfo/sap-wug
	
	
	-------------- next part --------------
	A non-text attachment was scrubbed...
	Name: not available
	Type: application/ms-tnef
	Size: 5133 bytes
	Desc: not available
	Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20060501/81503f4a/attachment-0001.bin
	
	------------------------------
	
	Message: 3
	Date: Mon, 1 May 2006 09:23:04 -0500
	From: <lianghuan.x.hu at accenture.com>
	Subject: RE: How to use FORM-HTMLPROCESS
	To: <sap-wug at mit.edu>
	Message-ID:
	        <DA8A2E1F7A4B6141AE579B40FF60B9E802AE8ED9 at AMRXM1108.dir.svc.accenture.com>
	       
	Content-Type: text/plain; charset="us-ascii"
	
	Manish:
	
	1. Any task that calls FORM-HTMLPROCESS has a web transaction code that
	is created when you click the menu item Web Transaction while creating
	the task itself.  The web transaction code creation is a unique step
	only needed for tasks like this. This transaction code remembers the
	text container elements of the task. Suppose you have specifed 4 text
	elements. When you execute the web transaction outside the workflow, you
	will be presented a form that has 4 input fields where you can type your
	rejection reasons.
	
	2. When the method HTMLPROCESS is executed, the web transaction code is
	called, and the rejection reasons are passed to the workflow containers
	via memory manipulation. We do not need to bother about all the details
	in the dark box. What we need to know is: if we need a form with n input
	fields to let the user enter his rejection reasons, all we need to do is
	the following:
	- create a task that calls FORM-HTMLPROCESS, and specify n text elements
	for export.
	- do not forget to create the web transaction code for the task.
	- specify n text element in the workflow container for import.
	- create the step using the task and bind the task text elements to the
	workflow text elements.
	
	Thanks,
	Larry Hu
	
	________________________________
	
	From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
	Of Khanna, Manish
	Sent: Monday, May 01, 2006 4:54 AM
	To: SAP Workflow Users' Group
	Subject: How to use FORM-HTMLPROCESS
	
	
	Hi,
	
	I need to enhance an exiting workflow.
	
	1. One step is to input rejection comments from the user if the document
	is rejected.
	2. This step in the workflow refers to a custom task which in turn calls
	FORM-HTMLPROCESS.
	3. Binding from workflow passes lots of parameter that is displayed in
	the FORM. However in the task I could not find how and where those
	container elements were used.
	
	Any suggestions?
	
	Regards,
	Manish
	
	
	
	
	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.
	-------------- next part --------------
	An HTML attachment was scrubbed...
	URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060501/97b009ac/attachment.htm
	
	------------------------------
	
	_______________________________________________
	SAP-WUG mailing list
	SAP-WUG at mit.edu
	http://mailman.mit.edu/mailman/listinfo/sap-wug
	
	
	End of SAP-WUG Digest, Vol 18, Issue 1
	**************************************
	



-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20060508/ffd62a55/attachment.htm


More information about the SAP-WUG mailing list