Skip to Content
author's profile photo Former Member
Former Member

Email with worklfow problem text is broken in middle.

HI ,

I have a problem as described below:

Requirement.

To send Email notification using workflow .

I am using the standard method <i>SENDTASKDESCRIPTION</i> of BOR object <i>SELFITEM</i> in the task .

while passing the text in the email i have a url link

which is quite long and has character equal to as shown below :

http://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Problem :

1) Is there a way I can hide this link or create a hyperlink to this with a small text like for example text 'click here ' will have the hyperlink . But as I understood its only possible with HTML Email . And SAP does not support to conver the raw text to HTML. and the possible solution to achive this I believe is to code the logic.

If some have some have other way to achive this please let me know ?

2) Secondly the link gets broken in between when it is sent from SAP and to the Outlook . SO the email which is seen by the user does not have this link in complete .

Can I stop the system not to braeak this link while sending ?

Thanks in advance for spending you valuable time !

Thanks and Kind Regards,

Ankur

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2005 at 10:36 AM

    Hi Ankur,

    Standard SAP uses SAPscript for creating the email, which breaks down the lines to 60 characters.

    The easiest way to achieve the same is to write your own Function Module (you can go up to 1024 characters then). In this module you use the standard SAP FM SO_DOCUMENT_SEND_API1 to send the email.

    By setting the body type to HTML you can create a hyperlink with just a text to be displayed.

    Regards,

    John.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      HI John,

      Many thanks for you prompt reply!

      Well I have just now solved this issue and in a little bit more simpler way .

      I am using the container linewidth for specifying this length and it works.

      But thanks for your suggestion .

      Kind Regards,

      Ankur

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.