Hyperlink in the mail body
I need to put hyperlink in th mail body.I am using the following lines to display the hyperlink........................
<a href = xyz.com > test </a>
But the problem is that instead of displaying the test hyrerlink it is showing me :-
<a href = _xyz.com_ > test </a>.
How to fix this problem.
Here it is
<a href="www.xyz.com"> test </a>
that's it.
Regards,
IA
Edited by: Imthiaz Ahmed on Apr 9, 2008 4:55 PM
Similar Messages
-
How to get the content of message in the mail body
Hi,
Can anyone suggest me to get the message content as the mail body using messagetTransformation bean????Hi
In the Receiver Mail Adapter use these settings
Message Protocol:XIPAYLOAD
and tick on Use mail package.
Gt back if you have more doubts
Thanks -
Hi to all
Is it possible to format the mail body that we create using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' like a rich user interface?
Kindly suggest.
Thanks & Regards
VipinIts possible to give html tags in the body internal table thereby make it a rich user interface. For html you may need to use document type as HTM.
I 've given an example in this link. Please have a look.
Re: Bold, Colors in mail - Urgent
Rgds,
TM. -
How to sending simple text in the mail body
Hi friends,
How to send simple text in the mail body through ABAP code
plz send me the related code and setting for that mail.
Thanks&Regards,
Srinivastry this...
FORM send_file_as_email_attachment .
DATA: objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.
DATA: objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
DATA: reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE.
DATA: objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE.
DATA : i_body TYPE soli_tab WITH HEADER LINE.
DATA: it_attach LIKE it_display1 OCCURS 0 WITH HEADER LINE.
DATA: doc_chng LIKE sodocchgi1.
DATA: tab_lines LIKE sy-tabix.
DATA: att_lines TYPE i.
DATA: lv_lines TYPE i.
DATA: file TYPE string.
data: g_datum like sy-datum.
data: g_datum1(10) type c.
DATA: len TYPE n.
LOOP AT it_email.
CLEAR : objpack,
objhead,
objbin,
objtxt,
reclist.
REFRESH: objpack,
objhead,
objbin,
objtxt,
reclist.
g_datum = sy-datum - 1.
concatenate g_datum6(2) '.' g_datum4(2) '.' g_datum+0(4) into
g_datum1.
doc_chng-obj_descr = 'Aged Stock more than 45 Days'.
CONCATENATE 'Aged Stock more than 45 Days' '-' it_email-vkbur INTO
doc_chng-obj_descr.
CONCATENATE 'Please find enclosed Aged Stock Details ( >45days ) report as on'
g_datum1
INTO objtxt-line SEPARATED BY space.
APPEND objtxt.
objtxt-line = ' '.
APPEND objtxt.
objtxt-line = 'Regards'.
APPEND objtxt.
objtxt-line = 'LIS SAP Projects'.
APPEND objtxt.
objtxt-line =
'PS: Pls send feedback for futher improvements to SAP office.'.
APPEND objtxt.
DESCRIBE TABLE objtxt LINES tab_lines.
READ TABLE objtxt INDEX tab_lines.
doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 1.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'TXT'.
objpack-obj_name = 'Run_prog'.
objpack-obj_descr = 'Agestock.txt'.
lv_lines = tab_lines.
APPEND objpack.
*CONCATENATE 'Plant' 'Material Number' 'Qty(More than 45days)'
*'Amount' INTO
it_display SEPARATED BY space.
append objbin.
clear: objbin.
CLEAR:it_display2.
REFRESH it_display2.
it_display2-werks = 'Plant|'.
it_display2-matnr = 'Material Number'.
it_display2-qty = '|Qty > 45 days'.
it_display2-amount = ' |Amount'.
APPEND it_display2.
it_display2-werks = ''.
it_display2-matnr = ''.
it_display2-qty = ''.
it_display2-amount = ''.
APPEND it_display2.
CLEAR : it_display2.
sort it_display1 by amount descending.
LOOP AT it_display1 WHERE werks = it_email-vkbur.
AT FIRST.
*CONCATENATE 'Plant ' 'Material Number' 'Qty(More than 45days)'
*'Amount' INTO
objbin-line SEPARATED BY space.
append objbin.
clear: objbin.
ENDAT.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = it_display1-matnr
IMPORTING
output = it_display1-matnr.
it_display1-qty = TRUNC( it_display1-qty ).
MOVE-CORRESPONDING it_display1 TO it_display2.
APPEND it_display2.
CLEAR:it_display1,it_display2,objbin.
CLEAR:it_display1.
ENDLOOP.
objbin[] = it_display2[].
DESCRIBE TABLE objbin LINES tab_lines.
objhead = 'Suug'.
APPEND objhead.
objpack-transf_bin = 'X'.
objpack-head_start = 3.
objpack-head_num = 1.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'RAW'.
objpack-obj_name = 'Run_prog'.
objpack-obj_descr = 'Agestock.txt'.
APPEND objpack.
reclist-receiver = '[email protected]'.
reclist-rec_type = 'U'.
APPEND reclist.
=====================================================================
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = doc_chng
commit_work = 'X'
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
OTHERS = 99.
CLEAR : it_email.
ENDLOOP.
ENDFORM. "send_mail
Message was edited by:
Sugumar Ganesan -
Launch an ios app using hyperlink in the mail
Hi,
I want to launch an ios app using a hyperlink in the mail and sms. I tried but not able to launch because while tapping on link it target to safari to launch that link not to the os.
example :- There is an app installed in the device with the scheme name "abc".
So the hyperlink for the app would be abc://
While I am sending this url in the mail ans open the mail then it's not able to launch the app.
ThanksAre you sure the Info.plist of the abc app is correct?
http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneos programmingguide/AdvancedAppTricks/AdvancedAppTricks.html#//apple_ref/doc/uid/TP 40007072-CH7-SW18 -
Including hyperlink in outlook mail body not working
Hi,
We have a requirement to open an outlook mail on click of a link on webdynpro screen and also inlcude a hyperlink in the body of the mail.
I created a LinkToURL and assinged the following to the 'reference' property :-
mailto:?body=http://<xyz>:80/DSARCLNK_AP10D/CONTENTSERVER.ASP?get&pVersion=0045&contRep=D1&docId=AP10D_332
Outlook opens properly, but the complete link is not appearing in the body of the e-mail.
it shows just the following :-
http://<xyz>:80/DSARCLNK_AP10D/CONTENTSERVER.ASP?get
so what's happening is it breaks when it finds '&'.
Can some one help me in resolving this issue?
Thanks,
HariHi Hari,
Replace "&" by "%26"
Best regards, Maksim Rashchynski. -
How can I get the mail body of the start point mail
Hi,
I am using 'MailStartPoint' activity to fetch mails using POP3 protocol. It is fetching the mail successfully. Now, how can I read the different parts of mail message such as Subject, Body in variables.
Thank You,
Hali Gerorge.You need to set data types values as below for reading the mail.
%SUBJECT%
%BODY%
%HEADER%
%SENDER%
Check this link for more details - http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=001463.html
Also see "Use an e-mail start point" @ http://www.adobe.com/devnet/livecycle/videotraining.html
~ Varun -
Hi
i am doing file to mail scenario. i need to add link in the mail how can we do this. i tried TransformBean. but it's not working could u please help me
Thank you
Regards
SundherHi Sundher,
Web Blogs on File Scenario:
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
/people/community.user/blog/2006/09/07/email-reporting
Check the following links:
these links should help you clear your doubts regarding Configuring a Receiver Mail Adapter and possibly find the cause for your error.
http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8c/607fe4756b654ab9f420097c29f6e9/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/5d/112d20f6ce6c46ba66afb98d278fbd/frameset.htm
Ignore the Image part and use this for your file to mail:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
Hope it will work for you
Amaresh -
I am having trouble accessing my mails. Mails appear in inbox,but preview not available. Not able to read mails.
Try a reset: hold down the home button along with the sleep/wake button until you see the apple, then let go.
-
I want to convison the mail body 's Content-Transfer-Encoding to base64
Return-Path: <[email protected]>
Received: from tobacco ([130.130.160.76]) by webapp.tobacco
(Netscape Messaging Server 3.6) with ESMTP id AAA70AC;
Tue, 6 Nov 2001 18:26:28 +0800
type: ���� intra@ius_center 1670
subject: ������gggggg��
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Tue, 6 Nov 2001 18:26:28 +0800
Message-ID: <[email protected]>
From: [email protected]
<center><h1>����</h1><TABLE BORDER=1 CELLPADDING=5 width=90%%>
<TR><TD BGCOLOR=#CCCC99 width=74 valign=top><STRONG>��������</STRONG></TD><TD BGCOLOR=#EEEEEE>gggggg</TD> </tr>
<TR><TD BGCOLOR=CCCC99 VALIGN=TOP><STRONG>�� �� ��</STRONG></TD><TD BGCOLOR=#EEEEEE>������ ������������������</td></tr>
<tr><TD BGCOLOR=#CCCC99 VALIGN=TOP><STRONG>�� �� ��</STRONG></TD><TD BGCOLOR=#EEEEEE >������ ������������������</td></tr>
<tr><TD BGCOLOR=#CCCC99 VALIGN=TOP><STRONG>��������</STRONG></TD><TD BGCOLOR=#EEEEEE >fdsf</td></tr></TABLE>Me too. I want to find out what encoding a particular $INPUT_FILE part is when I need to parse it in my conversions script.
-
Hello,
I'm using class CL_BCS for sending mail. I need to add an hyperlink to the mail body. The following text works fine when i'm openning the mail in sap office, but shown as a simple text in outlook:
"gv_body = '<A HREF="V:\SAPDOCS\logo_black_white.bmp"> hyperlink texte </A>"'."
Thank you,
koby.
Edited by: jack hershcovitz on May 25, 2009 10:42 AM
Edited by: jack hershcovitz on May 25, 2009 10:43 AMhi,
I did solvethe problem!
I found list of html commands you add to the text in the mail body. For hyper link you concatenate the following strings:
concatenate '</br>'
text-b01 <- name of the hyper link
into gs_listtxt.
append gs_listtxt to l_mailtext.
loop at mailbody_hypers.
concatenate '</br>'
mailbody_hypers <- path+filename
into gs_listtxt.
append gs_listtxt to l_mailtext.
endloop.
for more details , i attached the list of html commands:
[http://www.transaction.net/web/tutor/cmdtable.html#body]
koby.
Edited by: jack hershcovitz on Aug 23, 2009 7:49 AM -
Create hyperlink for reply to in mail body while sending email.
Hi All,
We have a requirement where we need to create an hyperlink for reply to in the mail body.
We have implemented entire functionality using CL_BCS classes and everything is working fine.
Only problem we have is when we give document type as HTM instead of RAW then entire formatting of mail body gets disturbed although we get the hyperlink.
Is there any way where we can send the mail in html format using CL_BCS,CL_DOCUMENT_BCS ?
KR Jaideep,Hi ,
Please find the code below I am using to make the hyperlink. Do I need to fill the entire mail body using HTML Tags ? If yes, then I guess it will increase the complexity of program as the mail content will vary from one mail to another depending upon whether different invoice documents have text maintained in them.
lwa_text = '<html>'.
APPEND lwa_text TO li_text.
CLEAR lwa_text.
lwa_text = '<body>'.
APPEND lwa_text TO li_text.
CLEAR lwa_text.
lwa_text = text-012.
APPEND lwa_text TO li_text.
CLEAR lwa_text.
CONCATENATE '<a href="mailto:'
lv_receiver
'">'
lv_receiver
'</a>'
INTO lwa_text.
APPEND lwa_text TO li_text.
CLEAR lwa_text.
lwa_text = '</body>'.
APPEND lwa_text TO li_text.
CLEAR lwa_text.
lwa_text = '</html>'.
APPEND lwa_text TO li_text.
CLEAR lwa_text.
TRY.
CALL METHOD cl_document_bcs=>create_from_text
EXPORTING
i_text = li_text
i_documenttype = 'HTM'
i_subject = 'Test for hyperlink'
i_importance = '1'
i_sensitivity = 'P'
RECEIVING
result = lref_document_bcs.
CATCH cx_document_bcs .
ENDTRY. -
Prob in getting Mail body for the standard tcode F150(Dunning).
Hello all,
I am using F150 for the dunning notice print out.After seeing the display of the dunning notice once we come back it populates a popup window where it asks to send the mail to the particular mailid or not. I have used the BTE --- SAMPLE_PROCEE_00001040 and copied it as z function module and customised according to my requirement in order to get the mail id of the customer in the pop up.My mail is going to the customers mail id properly only but my prob is that we are not able to get any mail body for that particular mail.Where can we add the mail body text to that mail in the standard tcode f150.can any one suggest is it possible or not.
Regards,
Pavani.
Edited by: Pavani Rayappureddi on Aug 11, 2009 11:21 AMsolved my self.
added C_ITCPO-TDTITLE = 'Pending Receivables Statement-XXX GROUP'.
in the bte code. -
Mail body with attachments in the demo mail
hi,
i m using the demo mail to create the mail with attachments.
i had attach the file from database and mail to the receipts but when i want to send any text in the body then the text is also goes as the attachment.
i need to send the text in the mail body . can this is possible.by the way i had found the solution
and if u do not know the answer ten please do not wate my and u r time. -
How to place a Logo, Picture ..etc in the main body of an email.
My requirement is to send an email having a logo as the header. The logo must be placed in the main body of the email and NOT as an attachment.
I have tried out the following but it gives garbage:
REPORT ztest_pratik01.
INTERNAL TABLES
DATA:
i_objpack TYPE STANDARD TABLE OF sopcklsti1,
i_objtext TYPE STANDARD TABLE OF solisti1,
i_objbin TYPE STANDARD TABLE OF solisti1,
i_hex TYPE STANDARD TABLE OF solix,
i_receivers TYPE STANDARD TABLE OF somlreci1.
WORK AREAS
DATA: wa_email_doc TYPE sodocchgi1,
wa_objpack TYPE sopcklsti1,
wa_objtext TYPE solisti1,
wa_hex TYPE solix,
wa_receivers TYPE somlreci1.
CONSTANTS
CONSTANTS: c_x TYPE flag VALUE 'X',
c_u TYPE char1 VALUE 'U'.
DATA: v_body TYPE i.
START-OF-SELECTION
START-OF-SELECTION.
PERFORM sub_get_logo.
END-OF-SELECTION
END-OF-SELECTION.
wa_email_doc-obj_name = 'TEST Mail'.
"Mail Subject
wa_email_doc-obj_descr
= 'TEST'.
v_body = LINES( i_hex ).
Creating the entry for the compressed document
*--(1): Creating entry for the Main Mail body text in itab i_objtext
wa_objpack-transf_bin = 'X'.
" Starting index(row) For header information in the itab i_objpack
wa_objpack-head_start = 1.
" No of lines for the header information in itab i_objpack
wa_objpack-head_num = 1.
" The row(index) of the itab i_objtext from where the Mail Body starts
wa_objpack-body_start = 1. "Skipped the first Line
" The number of lines in the Mail body
wa_objpack-body_num = v_body. "We have two lines from the 2nd row
" Document type. There are also whole lot of other options
wa_objpack-doc_type = 'RAW'.
wa_objpack-obj_name = 'LOGO.BMP'.
wa_objpack-obj_descr = 'MAIL BODY'.
wa_objpack-obj_langu = ' '.
" In this case one can skip this. Normally ist calculated as
" no of linex * 255
wa_objpack-doc_size = v_body * 255.
APPEND wa_objpack TO i_objpack.
CLEAR wa_objpack.
*Building the recepient list
Receipient information
wa_receivers-receiver = sy-uname.
wa_receivers-rec_type = 'B'. "To SAP Inbox
APPEND wa_receivers TO i_receivers.
CLEAR wa_receivers.
wa_receivers-receiver = mail id.
wa_receivers-rec_type = c_u.
APPEND wa_receivers TO i_receivers.
CLEAR wa_receivers.
Finally Send the Document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_email_doc
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = i_objpack
contents_bin = i_objbin
contents_txt = i_objtext
contents_hex = i_hex
receivers = i_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*& Form SUB_GET_LOGO
text
--> p1 text
<-- p2 text
FORM sub_get_logo .
DATA: graphic_url(255),
graphic_refresh(1).
DATA: graphic_size TYPE i.
DATA: l_graphic_xstr TYPE xstring,
l_graphic_conv TYPE i,
l_graphic_offs TYPE i.
DATA: BEGIN OF graphic_table OCCURS 0,
line(255) TYPE x,
END OF graphic_table.
CLEAR: graphic_url,
graphic_table[].
CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
EXPORTING
p_object = 'GRAPHICS'
p_name = 'Z_LOGO'
p_id = 'BMAP'
p_btype = 'BMON'
RECEIVING
p_bmp = l_graphic_xstr
EXCEPTIONS
not_found = 1
OTHERS = 2.
if sy-subrc = 1.
message e287 with g_stxbitmaps-tdname.
elseif sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
exit.
endif.
graphic_size = XSTRLEN( l_graphic_xstr ).
CHECK graphic_size > 0.
l_graphic_conv = graphic_size.
l_graphic_offs = 0.
WHILE l_graphic_conv > 255.
graphic_table-line = l_graphic_xstr+l_graphic_offs(255).
APPEND graphic_table.
l_graphic_offs = l_graphic_offs + 255.
l_graphic_conv = l_graphic_conv - 255.
ENDWHILE.
graphic_table-line = l_graphic_xstr+l_graphic_offs(l_graphic_conv).
APPEND graphic_table.
LOOP AT graphic_table.
wa_hex = graphic_table.
APPEND wa_hex TO i_hex.
ENDLOOP.
ENDFORM. " SUB_GET_LOGO
Any Ideas how to do the same???Hi ,
I advice you to raise a OSS Note so that SAP Can suggest what needs to be done in this case .
Hope my suggestion is helpful.
Thanks & Regards
Pradeep Akula .
Maybe you are looking for
-
Why will FireFox not work on my system? (Windows 7) Help.
This is the error message I receive when attempting to open FireFox "Your Firefox profile cannot be loaded. It may be missing or inaccessible." I do not like using any of the "Brand-X" browsers and I wish to have FireFox working again. My operating s
-
Settings and usage of external FTP Server in ECC 6.0
Dear all, I work in ECC 6.0, and I want to configure and use an external FTP Server for upload, download and delete file from FTP Server. My questions are: 1) Which are steps for configure an FTP connection? 2) How can I read, delete and send a flat
-
Using package constants in package SQL - acts as bind variable or literal?
I'm looking for confirmation on the performance impact of using package constants in package SQL. Let's say I have a number of queries in package code that refer to various literals that are prone to typos e.g. "CANCELLED" instead of "CANCELED". To r
-
How to use BAPI_PERSDATA_CHANGE
what should i pass when i call this finction module? Is it neccessary to call BAPI_EMPLOYEE_ENQUEUE,then BAPI_PERSDATA_CHANGE,then HR_INFOTYPE_OPERATION,then bapi_commit_transaction ,then BAPI_EMPLOYEE_DEQUEUE Should i follow the steps as above?
-
Just a quickie... I'm playing around with a Mac Mini Server and testing out different methods of setting up. I've noticed that when using setup assistant, if I specify that the DNS Server is the OSX Server's IP then the DNS Service is automatically c