Skip to Content
avatar image
Former Member

Hyperlink in Smartform

Hello,

I am able to create hyperlink in smartform and also able to open the link when I output the in pdf format. My question is how to I hide hyper link and display test ex: If i click on SAP it should go to WWW.SAP.COM

I tried to serach SDN forum but did'nt get the answer.

Thanks,

AP

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 29, 2010 at 03:50 PM

    Hi,

    You ca try using the callback method described in the following Notes:

    622718 - SF Web Forms: Callback for the URL format

    707931 - Web Forms: Incorrect URL address with the HTML output

    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.

    You must create your own function module with the following interface:

    *"

    *" CHANGING

    *" REFERENCE(DATA) TYPE TTXCTOKEN

    *"

    Data: i_data type STXCTOKEN,

    (see note 622718; TTXCTOKEN is an internal table of type STXCTOKEN)

    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.

    Regards,

    Aidan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Sharief,

      How you have achived by using Standard text ?. Please share your knowledge, it will be veymuch helpful for me.

      Thanks & Regards,

      Hema

  • Oct 29, 2010 at 02:37 PM

    You didn't search very well then - I've answered this several times before...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 24, 2011 at 06:08 AM

    We have a requirement wherein we need to provide a dynamic hyperlink in the smart form.

    We have tried to create a function module passing changing parameter as TTXCTOKEN and used the function module in output_options-URLCALL. This is not working.

    The output of the smartform is in the form of .pdf.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 24, 2011 at 06:18 AM

    Hi All,

    We have a requirement wherein we need to provide a dynamic hyperlink in the smart form.

    We have tried to create a function module passing changing parameter as TTXCTOKEN and used the function module in output_options-URLCALL. This is not working.

    The output of the smartform is in the form of .pdf.

    Thanks in advance

    nikhil

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Nikhil,

      I am also facing the same issue, could you please specify the procedure you followed to fix the long URL issue in the smartforms.

      Thanks in advance.

      Regards,

      krishna