<?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 Re: How to display hyperlink under alias from smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-display-hyperlink-under-alias-from-smartforms/m-p/629728#M26386</link>
    <description>&lt;P&gt;Hello Hedwig,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Thank you for the answer.&lt;BR /&gt;1)We have created the smartforms text element as below :&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;LOGIN&lt;BR /&gt;&lt;BR /&gt;2)We have created custom FM and function group by copying standard HRRCF00_CALLBACK and have inserted the below code in smartforms calling program. (here url is 42 chars long and in custom FM &lt;/P&gt;
  &lt;P&gt;ZHR_RCF_SF_URL_CALLBACK we have kept max length as 70 chars) :&lt;/P&gt;
  &lt;P&gt; ls_url-name = 'LOGIN'.&lt;BR /&gt; ls_url-url = sf_tam_url.&lt;BR /&gt; APPEND ls_url TO lt_url.&lt;BR /&gt; CALL FUNCTION 'ZHR_RCF_SF_URL_REFRESH_GT'.&lt;BR /&gt; CALL FUNCTION 'ZHRRCF_SF_URL_PREPARE_CALLBACK'&lt;BR /&gt; TABLES&lt;BR /&gt; PT_URL = lt_url.&lt;BR /&gt; s_output_options-urlcall = 'ZHR_RCF_SF_URL_CALLBACK'.&lt;/P&gt;
  &lt;P&gt;URL data :&lt;/P&gt;
  &lt;P&gt;Row Code Line Len string&lt;/P&gt;
  &lt;P&gt;1 ST 11 5 LOGIN&lt;/P&gt;
  &lt;P&gt;2 LK 0 42 &lt;A href="https://p2pdev.pok" target="test_blank"&gt;https://p2pdev.pok&lt;/A&gt;.&lt;/P&gt;
  &lt;P&gt;The output still does not show the hyperlink under alias "LOGIN" &lt;BR /&gt;Can u please suggest if any other change is needed apart from above steps.&lt;/P&gt;</description>
    <pubDate>Thu, 17 May 2018 07:35:42 GMT</pubDate>
    <dc:creator>sayani_sarkar</dc:creator>
    <dc:date>2018-05-17T07:35:42Z</dc:date>
    <item>
      <title>How to display hyperlink under alias from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-display-hyperlink-under-alias-from-smartforms/m-p/629726#M26384</link>
      <description>&lt;P&gt;We have a requirement to display 100 char long urls under alias text as hyperlink, such that on clicking on the alias it is redirected to the url. We have gone through related links &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;A href="https://archive.sap.com/discussions/thread/1819587" target="test_blank"&gt;https://archive.sap.com/discussions/thread/1819587&lt;/A&gt; and &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;A href="https://blogs.sap.com/2014/01/28/hyperlink-alias-in-smartform/" target="test_blank"&gt;https://blogs.sap.com/2014/01/28/hyperlink-alias-in-smartform/&lt;/A&gt; but not getting the hyperlink displayed from smartforms.&lt;BR /&gt;We have followed below steps :&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;1)We have created text element "LOGIN" in smartforms and clicked on URL button to activate hyperlink&lt;BR /&gt;2)In the Calling program we have declared url with name "LOGIN" and passed to FM HR_RCF_SF_URL_PREPARE_CALLBACK&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;3)In the Calling program we have declared the output_options-urlcall = 'HR_RCF_SF_URL_CALLBACK'.&lt;BR /&gt;The smartform conversion data format is ASCII. Kindly assist &amp;lt;removed by moderator&amp;gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 10:54:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-display-hyperlink-under-alias-from-smartforms/m-p/629726#M26384</guid>
      <dc:creator>sayani_sarkar</dc:creator>
      <dc:date>2018-05-16T10:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to display hyperlink under alias from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-display-hyperlink-under-alias-from-smartforms/m-p/629727#M26385</link>
      <description>&lt;P&gt;Hi Sayani,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;You can get a different title of the link by using a kind of user exit for the URL processing, which is described in Note 622718.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; You may create your own function module with the following interface: *" *" CHANGING *" REFERENCE(DATA) TYPE TTXCTOKEN *" Data: i_data type STXCTOKEN, (see the note 622718; TTXCTOKEN is an internal table of type STXCTOKEN) &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Now when you call the function module of the Smartform, you should fill the parameter OUTPUT_OPTIONS-URLCALL with the name of the new function module. As a result your function module is called, when the URL is processed by the Smartforms composer.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; Let's look at an example: Let's say you use the URL &lt;A href="https://community.sap.com/www.web.uk" target="test_blank"&gt;www.web.uk&lt;/A&gt; in your Smartform. &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Then the internal table 'data' is filled with the following contents, when the function module is called: &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; CODE LINE LEN STRING&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; 1 ST 1 16 &lt;A href="http://www.web.uk" target="test_blank"&gt;http://www.web.uk&lt;/A&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; 2 LK 0 20 &lt;A href="http://www.web.uk" target="test_blank"&gt;http://www.web.uk&lt;/A&gt; &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;ST Line with alias&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; LK Line with link &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;LINE index of line in the table &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;LEN length on data in the row &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;You can change the content of this structure in your function module. Long links must be split to different rows with maximum length 70.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; Each row must start with 4 spaces. E.g. if you change the table according to the PNG file&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://answers.sap.com/storage/attachments/141975-link-alias.png"&gt;link-alias.png&lt;/A&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;For this example the following HTML tag is generated: &amp;lt;a href="http://www.1234567890.12345.uk"&amp;gt;Link&amp;lt;/a&amp;gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Best regards,&lt;/P&gt;
  &lt;P&gt;Hedvig&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 13:58:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-display-hyperlink-under-alias-from-smartforms/m-p/629727#M26385</guid>
      <dc:creator>hedvig_rohonyi</dc:creator>
      <dc:date>2018-05-16T13:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to display hyperlink under alias from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-display-hyperlink-under-alias-from-smartforms/m-p/629728#M26386</link>
      <description>&lt;P&gt;Hello Hedwig,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Thank you for the answer.&lt;BR /&gt;1)We have created the smartforms text element as below :&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;LOGIN&lt;BR /&gt;&lt;BR /&gt;2)We have created custom FM and function group by copying standard HRRCF00_CALLBACK and have inserted the below code in smartforms calling program. (here url is 42 chars long and in custom FM &lt;/P&gt;
  &lt;P&gt;ZHR_RCF_SF_URL_CALLBACK we have kept max length as 70 chars) :&lt;/P&gt;
  &lt;P&gt; ls_url-name = 'LOGIN'.&lt;BR /&gt; ls_url-url = sf_tam_url.&lt;BR /&gt; APPEND ls_url TO lt_url.&lt;BR /&gt; CALL FUNCTION 'ZHR_RCF_SF_URL_REFRESH_GT'.&lt;BR /&gt; CALL FUNCTION 'ZHRRCF_SF_URL_PREPARE_CALLBACK'&lt;BR /&gt; TABLES&lt;BR /&gt; PT_URL = lt_url.&lt;BR /&gt; s_output_options-urlcall = 'ZHR_RCF_SF_URL_CALLBACK'.&lt;/P&gt;
  &lt;P&gt;URL data :&lt;/P&gt;
  &lt;P&gt;Row Code Line Len string&lt;/P&gt;
  &lt;P&gt;1 ST 11 5 LOGIN&lt;/P&gt;
  &lt;P&gt;2 LK 0 42 &lt;A href="https://p2pdev.pok" target="test_blank"&gt;https://p2pdev.pok&lt;/A&gt;.&lt;/P&gt;
  &lt;P&gt;The output still does not show the hyperlink under alias "LOGIN" &lt;BR /&gt;Can u please suggest if any other change is needed apart from above steps.&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 07:35:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-display-hyperlink-under-alias-from-smartforms/m-p/629728#M26386</guid>
      <dc:creator>sayani_sarkar</dc:creator>
      <dc:date>2018-05-17T07:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to display hyperlink under alias from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-display-hyperlink-under-alias-from-smartforms/m-p/629729#M26387</link>
      <description>&lt;P&gt;Did you ever solve this? I'm having the same issue&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 15:00:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-display-hyperlink-under-alias-from-smartforms/m-p/629729#M26387</guid>
      <dc:creator>e_shijaku</dc:creator>
      <dc:date>2022-03-02T15:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to display hyperlink under alias from smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-display-hyperlink-under-alias-from-smartforms/m-p/629730#M26388</link>
      <description>&lt;P&gt;Esto les puede servir.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://blogs.sap.com/2014/01/28/hyperlink-alias-in-smartform/"&gt;Hyperlink alias in Smartform | SAP Blogs&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 21:06:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-display-hyperlink-under-alias-from-smartforms/m-p/629730#M26388</guid>
      <dc:creator>esnidergomez</dc:creator>
      <dc:date>2023-07-20T21:06:41Z</dc:date>
    </item>
  </channel>
</rss>

