Escalation & sending external Mail (outlook)

Gopinath Addepalli Prasad gopinathp at intelligroup.com
Thu May 26 00:24:13 EDT 2005


Hi Guys,
 
   Thanks for your reply.
 
   But any one please let me the process to do external mail( i.e., once the approver approves the mail with content should go to the outlook of the requestor )?
 
Regards,
Gopi.

	-----Original Message----- 
	From: sap-wug-bounces at mit.edu on behalf of Zavier, Johnson 
	Sent: Thu 5/26/2005 3:58 AM 
	To: sap-wug at mit.edu 
	Cc: 
	Subject: RE: Escalation & sending external Mail (outlook)
	
	

	If you want to calculate say '3' working days after work item creation 
	date, you may use following functions as below. l_calid is factory 
	calendar id, l_createdate = workitem creation date. L_days = number of 
	days(eg 3) and l_result is the working date according to the factory 
	calendar. 

	To notify the creator about the approval, you may use 'notification' tab 
	in the approval task and use expression. However you need to have the 
	external e-mail address for the initiator populated before this task. I 
	normally add a e-mail step after the approval and send appropriate text 
	based on the result of the approval. 

	Hope it helps. 

	Regards 
	Johnson Zavier 


	FORM f_get_working_day  USING    l_calid                   
	                                  l_CREATEDATE              
	                                  l_days                    
	                                  l_result.                 
	  data: l_factdate like SCAL-FACDATE.                       
	 CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'                
	   EXPORTING                                                
	     DATE                               = l_createdate      
	     FACTORY_CALENDAR_ID                = l_calid           
	  IMPORTING                                                 
	    FACTORYDATE                        = l_factDate         
	          . 

	IF SY-SUBRC <> 0. 

	* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO 

	*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. 

	ENDIF. 

	

	l_factdate = l_factdate + l_days. 

	CALL FUNCTION 'FACTORYDATE_CONVERT_TO_DATE' 

	  EXPORTING 

	    FACTORYDATE                        = l_factdate 

	    FACTORY_CALENDAR_ID                = l_calid 

	 IMPORTING 

	   DATE                               = l_result 

	          .                                                       
	IF SY-SUBRC <> 0.                                                 
	* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO               
	*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.               
	ENDIF.                                                            
	                                                                  
	                                                                  
	ENDFORM.                    " f_get_working_day                   



	From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf 
	Of Gopinath Addepalli Prasad 
	Sent: May 24, 2005 10:38 PM 
	To: sap-wug at mit.edu 
	Subject: Escalation & sending external Mail (outlook) 


	Hi, 
	=20 
	   Could any one tell me how to find the day as a working day for giving 
	reminder to the=20 
	   approver to approve ? 
	=20 
	    Could any one tell me how to send the external mail (outlook) from 
	the task approved to request creator..? 
	=20 
	   Thier help is greatly appriciated. 
	=20 
	Regards, 
	Gopi. 


	------------------------------------------------------------------------ 
	This e-mail contains confidential information.  If you are not the intended recipient or have received this e-mail in error, please notify the sender immediately and destroy this e-mail.  Any unauthorized copying, disclosure or distribution of the e-mail or the information it contains, is strictly forbidden.


	_______________________________________________ 
	SAP-WUG mailing list 
	SAP-WUG at mit.edu 
	http://mailman.mit.edu/mailman/listinfo/sap-wug 

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


More information about the SAP-WUG mailing list