Workflow EMail

Dart, Jocelyn jocelyn.dart at sap.com
Thu May 18 09:58:55 EDT 2000


Hi Kamaraj,=20
Glad it worked!  Thanks for the info on the 75 characters -=20
I haven't been able to get back into a BBP 1.0B system to check how
they handled it there but your approach sounds reasonable.
 
For your info, looks like in 4.6C a linewidth parameter
is being added to SELFITEM.SENDTASKDESCRIPTION so you=20
can specify a length up to 132 characters.  The parameter
is fed into function module swu_get_task_textlines within the method.=20
 
Usual provisos about this not being "official" information=20
but a little something you might want to keep against=20
future upgrades. =20
 
Of course you could always create a subtype to selfitem and do=20
something similar - the parameter exists on the function module
in earlier releases so it's just a case of adding a method parameter and
making a link between the method parameter and the function module.  That
would then solve the problem for all mail items and save you some
hassle later on upgrade.
Regards, Jocelyn.
 
-----Original Message-----
From: Kamaraj Shankar [mailto:kamaraj at ureach.com]
Sent: Thursday, 18 May 2000 4:46 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Workflow EMail
 
 
Hi Jocelyn,
 
      Thanks for your response, I developed with=20
SO_NEW_DOCUMENT_SEND_API1 method and it is working. This=20
appears to be a limitation of SENDTASKDESCRIPTION method, which=20
limits the URL to 75 characters and then inserts a linefeed.
 
Cheers.
 
Kamaraj =20
=20
 
 
 
 
 
________________________________________________
Get your own "800" number - Free
Free voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
 
 
---- On    , Dart, Jocelyn (jocelyn.dart at sap.com) wrote:
 
>=20
> ATTACHMENT 0: multipart/alternative
>=20
> Hi Kamaraj,
> Normal method for sending emails from workflow is to use a=20
task
> with object SELFITEM, method SENDTASKDESCRIPTION, and set the=20
Typeid
> parameter
> to "U" for internet mail, receivers are then email addresses=20
e.g.
> "sap-wug at mitvma.mit.edu".
>=20
> To send the actual office object if you work through the=20
programming
> beneath
> the SELFITEM and
> SOFM objects you eventually find there is a function module
> SO_NEW_DOCUMENT_SEND_API1 which does
> actual send.  But honestly, it's a lot easier to use
> SELFITEM.SENDTASKDESCRIPTION than to
> manually fill the interface of SO_NEW_DOCUMENT_SEND_API1=20
yourself.
>=20
> Regarding the URL, putting a URL in the task description=20
works fine in
> Business-to-Business Procurement - I haven't noticed any=20
limitation of
> 80
> characters and some of the URLs created are definitely longer=20
than that.
> You need to make sure the URL is continuous of course and=20
should cater
> for
> URL-encoding with spaces and special characters.
>=20
> What are you using to view the email?  Are you sure the=20
limitation is on
> the
> workflow side and not part of your email system?
>=20
> Regards,
>=20
>  <http://www.mysap.com/>         Jocelyn Dart
> Consultant (BBP, Ecommerce, Internet Transaction Server,=20
Workflow)
> SAP Australia
> Tel: +61 412 390 267
> Fax: +61 2 9935 4880
>=20
>=20
>=20
>=20
>=20
> -----Original Message-----
>> From: Kamaraj Shankar [ mailto:kamaraj at ureach.com
> <mailto:kamaraj at ureach.com> ]
> Sent: Friday, 12 May 2000 8:23 AM
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: Workflow EMail
>=20
>=20
> Hi,
>=20
> Has any one sent a URL through work flow task
>=20
> I have a requirement to send a URL longer than 80
> characters as a part of task description to send
> EMail. EMail sent perfectly, but only the first
> 80 characters of the URL get interpreted as URL
> rest of them as normal text. Is this a limitation
> ..
>=20
> Can we send email within workflow other than
> using the task method. Can I invoke a function. I
> appreciate any help .
>=20
> Thanks.
>=20
> Kamaraj Shankar
>=20
> ________________________________________________
> Get your own "800" number - Free
> Free voicemail, fax, email, and a lot more
> http://www.ureach.com/reg/tag <http://www.ureach.com/reg/tag>
>=20
>=20
>=20
>=20
>=20
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html;=20
charset=3Diso-8859-1">
> <TITLE></TITLE>
>=20
> <META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR></HEAD>
> <BODY>
> <P><FONT size=3D2>Hi Kamaraj,<BR>Normal method for sending=20
emails from
> workflow is
> to use a task<BR>with object SELFITEM, method=20
SENDTASKDESCRIPTION, and
> set the
> Typeid parameter<BR>to "U" for internet mail, receivers are=20
then email
> addresses
> e.g. "sap-wug at mitvma.mit.edu".<BR><BR>To send the actual=20
office object
> if you
> work through the programming beneath the SELFITEM and<BR>SOFM=20
objects
> you
> eventually find there is a function module=20
SO_NEW_DOCUMENT_SEND_API1
> which
> does<BR>actual send.=A0 But honestly, it's a lot easier to use
> SELFITEM.SENDTASKDESCRIPTION than to<BR>manually fill the=20
interface of
> SO_NEW_DOCUMENT_SEND_API1 yourself.</FONT></P>
> <P><FONT size=3D2>Regarding the URL, putting a URL in the task=20
description
> works
> fine in Business-to-Business Procurement - I haven't noticed=20
any
> limitation of
> 80 characters and some of the URLs created are definitely=20
longer than
> that.=A0 You need to make sure the URL is continuous of course
> and=A0should cater for URL-encoding with spaces and special
> characters.
> </FONT></P>
> <P><FONT size=3D2>What are you using to view the email?=A0 Are=20
you sure
> the
> limitation is on the workflow side and not part of your email
> system?=A0
> </FONT></P>
> <P><FONT size=3D2>Regards,</FONT><FONT size=3D2>
> <DIV style=3D"HEIGHT: 90px; WIDTH: 374px"><FONT face=3DArial=20
size=3D2>
> <TABLE>
>   <TBODY>
>   <TR>
>     <TD><A href=3D"http://www.mysap.com/"><IMG border=3D0=20
height=3D40
>       src=3D"cid:694254823 at 11052000-0dd6"=20
width=3D120></A></TD></FONT>
>     <TD><FONT face=3D"Book Antiqua"><FONT size=3D2><FONT
> color=3D#0000ff>Jocelyn
>       Dart</FONT> <BR></FONT><FONT color=3D#0000ff face=3DRoman
> size=3D2>Consultant
>       (BBP, Ecommerce, Internet Transaction Server,
> Workflow)</FONT><FONT
>       size=3D2> <BR><FONT color=3D#0000ff>SAP Australia<BR>Tel:=20
+61<SPAN
>       class=3D153385400-09052000> 412 390 267</SPAN><BR>Fax:=20
+61=A02
> 9935
>      =20
4880</FONT></FONT></FONT></TD></TR></TBODY></TABLE></DIV></P>
> <P><BR><BR><BR><BR>-----Original Message-----<BR>From:=20
Kamaraj Shankar
> [<A
>=20
href=3D"mailto:kamaraj at ureach.com">mailto:kamaraj at ureach.com</A>]
<BR>Sent:
> Friday,
> 12 May 2000 8:23 AM<BR>To: SAP-WUG at MITVMA.MIT.EDU<BR>Subject:=20
Workflow
> EMail<BR><BR><BR>Hi,<BR><BR>Has any one sent a URL through=20
work flow
> task<BR><BR>I have a requirement to send a URL longer than
> 80<BR>characters as a
> part of task description to send<BR>EMail. EMail sent=20
perfectly, but
> only the
> first<BR>80 characters of the URL get interpreted as=20
URL<BR>rest of them
> as
> normal text. Is this a limitation<BR>..<BR><BR>Can we send=20
email within
> workflow
> other than<BR>using the task method. Can I invoke a function.
> I<BR>appreciate
> any help .<BR><BR>Thanks.<BR><BR>Kamaraj
>=20
Shankar<BR><BR>________________________________________________<
BR>Get
> your own
> "800" number - Free<BR>Free voicemail, fax, email, and a lot=20
more<BR><A
> href=3D"http://www.ureach.com/reg/tag"
>=20
target=3D_blank>http://www.ureach.com/reg/tag</A><BR></FONT></P></
BODY></HTML>
>=20
>=20
>=20
>=20
> ATTACHMENT 3: image/gif;        name=3D"mysapsig.gif"
> DISPOSITION: attachment;        filename=3D"mysapsig.gif"
>=20
 


More information about the SAP-WUG mailing list