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

How to remove extra space %20 from URL?

Hi Everyone,

I have a program that sends mail to the user.

To populate the mail body, I have maintained text in SO10.

In S010, I have a link/URL coded as shown below:

When I click the link from SOST everything works fine, but when I click this link from Outlook Mail I can see '%20' in the link.

I have checked while debugging, there is no space in the URL.

Could you please let me know how to remove this extra space from the URL.

Thanks,

Faraz Khan

URL Issue.JPG (18.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Aug 22, 2016 at 07:17 PM

    I'd like to know at which debug place you made sure there was "no space in the URL", as apparently the space has been added. If you use the paragraph format *, by definition it adds a newline. = concatenates lines. (cf Structure TLINE of the Lines Table - BC SAPscript: Printing with Forms - SAP Library)

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sandra,

      I checked the text in debugger just before sending the mail.

      As I am using " '=' Extended line" in SO10, I don't see any space in the URL.

      I tried with " ' ' Continuous Text" as well but to no luck.

      The same URL when clicked from SOST has no space and opens the correct website.

      The problem is when this link is clicked from Microsoft Outlook.

      Thanks,

      Faraz Khan

      URL issue2.JPG (56.6 kB)
  • Posted on Aug 22, 2016 at 05:39 PM

    Hi Faraz,

    storing html in SO10 sometimes brings some troubles, when I use SO10 for such things then I always replace "<" with "{" and ">" with "}" before storing in SO10 and then when I want to use it, then I replace it back in a program.

    In other cases often the texts contains some additional characters when read by FM READ_TEXT.

    Cheers

    Łukasz

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2016 at 03:06 PM

    At which point in the url are you getting the extra space? just after https:// or between the data in line 10 and 11 ?

    Add a comment
    10|10000 characters needed characters exceeded

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.