<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hyperlink problem in Smartform PDF in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hyperlink-problem-in-smartform-pdf/m-p/9793280#M1778754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Dear Friends,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I have an issue in smartform pdf hyperlink. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;When I click the URL from the PDF, complete URL is not placed into the browser. If I copy and paste the&amp;nbsp; URL from the pdf&amp;nbsp; into the browser, it is working fine. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;The URL looks like &lt;A href="https://connect.ariba.com/KAAcontent/1,,109705,00.html"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://ABC.com/KAAcontent/1,,109705,00.html" target="test_blank"&gt;https://ABC.com/KAAcontent/1,,109705,00.html&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif';"&gt;. &lt;/SPAN&gt;Here the URL is having&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;‘,,’ &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; font-weight: normal;"&gt;which&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; causes the error, it is treated as a TAB character maybe.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;SPAN&gt;When I click the URL from the PDF, it navigates to ‘&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://abc.com/KAAcontent/1’"&gt;https://abc.com/KAAcontent/1’&lt;/A&gt;&lt;SPAN&gt; in the browser, remaining content&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;‘,,109705,00.html’&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;is not copied into the browser.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Please find the steps, which I have followed in the development. I have included the images too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I have maintained the URL in the tcode SO72.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Above maintained URL is called in the standard text. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;In SMARTFORMS the variable &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;GV_TERMS will have the text at the runtime.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;After Execution of Tcode F150, I have converted form output into PDF using the tcode PDF!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;The problem is with the &lt;STRONG&gt;‘,,’&lt;/STRONG&gt; maintained in the URL because &lt;STRONG&gt;‘,,’&lt;/STRONG&gt; might be treated as a&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;tab character.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Oct 2013 07:03:04 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2013-10-22T07:03:04Z</dc:date>
    <item>
      <title>Hyperlink problem in Smartform PDF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hyperlink-problem-in-smartform-pdf/m-p/9793280#M1778754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Dear Friends,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I have an issue in smartform pdf hyperlink. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;When I click the URL from the PDF, complete URL is not placed into the browser. If I copy and paste the&amp;nbsp; URL from the pdf&amp;nbsp; into the browser, it is working fine. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;The URL looks like &lt;A href="https://connect.ariba.com/KAAcontent/1,,109705,00.html"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://ABC.com/KAAcontent/1,,109705,00.html" target="test_blank"&gt;https://ABC.com/KAAcontent/1,,109705,00.html&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif';"&gt;. &lt;/SPAN&gt;Here the URL is having&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Arial, sans-serif;"&gt;‘,,’ &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif; font-weight: normal;"&gt;which&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; causes the error, it is treated as a TAB character maybe.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;SPAN&gt;When I click the URL from the PDF, it navigates to ‘&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://abc.com/KAAcontent/1’"&gt;https://abc.com/KAAcontent/1’&lt;/A&gt;&lt;SPAN&gt; in the browser, remaining content&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;‘,,109705,00.html’&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;is not copied into the browser.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Please find the steps, which I have followed in the development. I have included the images too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I have maintained the URL in the tcode SO72.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Above maintained URL is called in the standard text. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;In SMARTFORMS the variable &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;GV_TERMS will have the text at the runtime.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;After Execution of Tcode F150, I have converted form output into PDF using the tcode PDF!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;The problem is with the &lt;STRONG&gt;‘,,’&lt;/STRONG&gt; maintained in the URL because &lt;STRONG&gt;‘,,’&lt;/STRONG&gt; might be treated as a&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG&gt;tab character.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 07:03:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hyperlink-problem-in-smartform-pdf/m-p/9793280#M1778754</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2013-10-22T07:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink problem in Smartform PDF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hyperlink-problem-in-smartform-pdf/m-p/9793281#M1778755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you try to replace the special character "," with "&amp;amp;#44;" or "&amp;amp;#x2C;" in the link ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 12:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hyperlink-problem-in-smartform-pdf/m-p/9793281#M1778755</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-10-22T12:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink problem in Smartform PDF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hyperlink-problem-in-smartform-pdf/m-p/9793282#M1778756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kesav, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the character ',' is a reserved character in a URI. Maybe you could try using the escape character pattern '%XX'&amp;nbsp; for URI parameters with reserved characters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Wikipedia link on URI escape characters might be a good reference.&lt;/P&gt;&lt;P&gt;&lt;A href="http://en.wikipedia.org/wiki/Percent-encoding"&gt;http://en.wikipedia.org/wiki/Percent-encoding&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 17:19:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hyperlink-problem-in-smartform-pdf/m-p/9793282#M1778756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-22T17:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink problem in Smartform PDF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hyperlink-problem-in-smartform-pdf/m-p/9793283#M1778757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kesavadas&lt;/P&gt;&lt;P&gt;Thank you for mentioning pdf!&lt;/P&gt;&lt;P&gt;I have limited experience in this area, and the function code came as a surprise.&lt;/P&gt;&lt;P&gt;It calls FM SSFCOMP_PDF_PREVIEW behind the scenes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coming to your question, only URL is stored in standard text, and FM CONVERT_OTF creates a hyperlink out of it using some logic. Locating it would need more investigation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By escaping the comma character, hyperlink can be fixed. Only downside is that display URL wouldn't look that good.&lt;/P&gt;&lt;P&gt;After replacing comma by %2C, corrected dummy URL would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;A class="active_link" href="https://ABC.com/KAAcontent/1%2C%2C109705%2C00.html" title="https://ABC.com/KAAcontent/1%2C%2C109705%2C00.html"&gt;https://ABC.com/KAAcontent/1%2C%2C109705%2C00.html&lt;/A&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After fixing the URL, hyperlink navigation works. Here is a proof. (image is based on real URL &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1904/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt; )&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/303643" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 19:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hyperlink-problem-in-smartform-pdf/m-p/9793283#M1778757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-22T19:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink problem in Smartform PDF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hyperlink-problem-in-smartform-pdf/m-p/9793284#M1778758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venkat &amp;amp; Raymond &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; ,&amp;nbsp; thanks for your time and suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCN the best &lt;SPAN __jive_emoticon_name="love" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1904/images/emoticons/love.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 05:31:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hyperlink-problem-in-smartform-pdf/m-p/9793284#M1778758</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2013-10-23T05:31:16Z</dc:date>
    </item>
  </channel>
</rss>

