Skip to Content
0
Former Member
Nov 13, 2013 at 12:06 PM

Including hyperlink in ABAP Email in SAP BW 7.3

2949 Views

Hello Experts,

We are working on SAP BW 7.3. We need some guidance on including hyperlinks in email body, the email being set via an ABAP routine.

We have an ABAP routine to send out certain emails after the BW data-load is complete. This ABAP routine is included in the process chain. The routine uses function module ‘SO_NEW_DOCUMENT_SEND_API1‘ to send out emails.

We want to include a static link (that navigates to a Webi Report) in the body of the email. The two issues we are facing are-

  1. The link appears as plain text, and not as a clickable link (hyper-link)
  2. The link being too long, we have split it into two parts.



Sample Code:

DATA t_mail_content LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.

..

..

..

CONCATENATE

'Link: '

http://XXXXXXXX:1111/BOE/OpenDocument/opendoc/openDocument.jsp?'

'sIDType=CUID&iDocID=ATAhFFwzWwBKobXkRYIYmFY'

INTO t_mail_content .

APPEND t_mail_content.

CLEAR t_mail_content.

..

..

Please guide us through this.

Regards,

Chetana