Adding URL in e-mails

Rickayzen, Alan alan.rickayzen at sap.com
Wed Aug 15 13:16:59 EDT 2001


Hi Richard,
Sorry you didn't succeed. You could create your own method using the
SO_NEW_DOCUMENT_ATT_SEND_API1 function module to create the mail with an
attachment. It is well documented but rather complicated so it's worth
searching for examples where it is used (cross-reference).
But if your URL is not too long Jocelyn's method will be easier to
implement.
Alan
-----Original Message-----
From: Richard Schot [mailto:richard.schot at avelon-it.com]
Sent: Mittwoch, August 15, 2001 6:25 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Adding URL in e-mails
 
 
Hi Jocelyn, thanks for your reply.
The problem described below occurs in a 4.0B environment. How must I proceed
here? I tried the suggestion of Alan but did not succeed in creating a url
as attachment in background. Any suggestions ?
 
Regards,
Richard
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]On Behalf Of
Dart, Jocelyn
Sent: woensdag 15 augustus 2001 3:41
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Adding URL in e-mails
 
 
Hi Richard,
In 4.6C, SELFITEM.SENDTASKDESCRIPTION has an optional parameter
LINEWIDTH which will let you increase the length up to 132 characters
(75 characters is just the default width).
Not perfect,but most URLs will fit within that space.
You'll need to make sure you include the LINEWIDTH parameter in your
bindings.
 
If SAPSCRIPT is killing you - e.g. by adding unwanted new line characters -
using the CHANGE EDITOR option while changing the long description will take
you to the old editor.  It's clunkier but does have the advantage of giving
you
a little more control over the formatting.
Regards,
        Jocelyn Dart
Consultant (EBP, BBP, Ecommerce, Internet Transaction Server, Workflow)
SAP Australia
Email jocelyn.dart at sap.com <mailto:jocelyn.dart at sap.com>
Tel: +61 412 390 267
Fax: +61 2 9935 4880
 
 
-----Original Message-----
From: Rickayzen, Alan
Sent: Friday, 10 August 2001 4:02 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Adding URL in e-mails
 
 
Hi Richard,
There are limitations in sapscript which make long embedded URLs impossible.
Have you tried adding the URL as an attachment? This will work in all
inboxes (Windows, Web, Outlook Lotus...) .
 
Kind regards,
 
Alan Rickayzen
 
 
-----Original Message-----
From: michel Tallon [mailto:michel.tallon at ifrance.com]
Sent: Donnerstag, August 09, 2001 1:16 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Adding URL in e-mails
 
 
Hi Richard,
 
For the fisrt problem, try <(>&<)>_report=ZZTEST<(>&<)> instead of
&_report=ZZTEST& , by enclosing the & with <(> you it will be displayed
correctly.
 
The second point (cutting URL) is more tricky.
Method SendTaskDescription use some function module (SWU_GET_TASK_TEXTLINES)
with restriction to the lenght (75 characters, at least in 4.6C). And even
if you change the value directly in the code, you have to take care of all
the other treatment in this method you may restrict the lenght.
The easier way is to restrict to URL lenght to 75 char.
The more complex it's to try to modify the SendTaskDescription Method.
 
Hope it helps.
 
Regards.
 
Michel Tallon.
 
-----Message d'origine-----
De : SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]De la part de
Richard Schot
Envoyi : jeudi 9 ao{t 2001 11:50
@ : SAP-WUG at MITVMA.MIT.EDU
Objet : Adding URL in e-mails
 
 
Hi all,
I have a problem when sending a SMTP mail to sap users with a hyperlink to a
web report. It is possible to store in the hyperlink the reportname, variant
and parameters/select-option values.
 
However....
I have a task that sends the email (selfitem sendtaskdescription) and I pass
a
container value with the URL in question. In the email a part of the URL is
disappeared....
If you specify the url f.i. like
http://sdfsdfsd/scripts/wgate.dll/webrfc/!?_function=www_get_report&_report=
ZZTEST&_variant=ITS&_parc_ebeln=4500000123
 
the part between &...& is disappeared. I think this is caused by the
interpretation of SAP that values between '&' must be replaced by the value
of
the attribute of the buisness object. This is not present and therfore
skipped.
 
The result of the URL:
http://sdfsdfsd/scripts/wgate.dll/webrfc/!?_function=www_get_report_variant=
ITS&_parc_ebeln=4500000123
 
Another question I have is about the cut of the URL. In outlook the URL is
cut
in half so therefore can not be used.
 
Has anyone a solution for this ? Any help is appreciated!
 
 
Regards,
Richard Schot
 
Kind regards,
Richard Schot
 
_____________________________________
 
Avelon BV
Mobile: +31 (0)6 - 150 13 152
Info  : www.avelon-it.com
_____________________________________
 
 
____________________________________________________________________________
__
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif
 


More information about the SAP-WUG mailing list