cancel
Showing results for 
Search instead for 
Did you mean: 

Hyperlink in smartform.

0 Kudos

Hi All,

I have a requirement as follows:

A) In smartforms i have 2 hyperlinks used with some name such as for eg: 1) ABC

2) PQR

B) My requirement is when i click on ABC --> 'www.rediff.com' should launch

PQR --> 'www.yahoo.com' should launch.

what i should do to to get my requirement done.

Thanks in advance,

Regards,

SD

Accepted Solutions (0)

Answers (7)

Answers (7)

0 Kudos

Hi All,

Thanks for the help provided till now.

I can create a link which once clicked will directly take me to that clicked link, but my requirement is there will be a link for eg. www.abc.com

When i click on the specified link it should take me to www.google.com but not www.abc.com.

This means there will be something else written and when i click on that link it should divert me to some other link.

Thanks in advance,

Regards,

SD

Former Member
0 Kudos

How u created the link?

did u use

<a href>

?

кu03B1ятu03B9к

Edited by: kartik tarla on Mar 11, 2009 10:04 AM

0 Kudos

Hi Kartik,

I had used URL (<%W>) but if we use this then we can directly click on the link and it will take us to the same link as displayed.

But thing is i will display like "Click Here",and when user clicks on "Click Here" it should take to the www.yahoo.com Webpage.

so Code for this is as follows:

<%w> Click Here </>

Now tell me where i should pass the value "www.yahoo.com" so that when user clicks on "Click Here" www.yahoo.com will launch.

Thanks in advance,

Waiting for reply.

Regards,

SD

Edited by: swapnil datar on Mar 12, 2009 5:49 AM

Former Member
0 Kudos

I am trying to check, how we can get it, will let u know if i find something useful.

кu03B1ятu03B9к

Former Member
0 Kudos

HI,

USE THE CHARACTER FORMAT <%W>

Former Member
0 Kudos

Hi

You can create the hyperlink in the samrtforms, by using the button which is there in the general attributes of the text window.

or use the

<%w> <a href="www.sap.com" TARGET="test_blank">www.sap.com</a> </>

but you cannot connect to the site from the smartform itself as it is just a print preview you have but once you download it to the PDF document of something like that you can definetly connect to the site you have mentioned in the smart form.

check this link to convert the smartform into pdf and try the requirement it will definetly work

[https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/convertSmartformtoPDFformat]

regards

sarves

Former Member
0 Kudos

Hi,

Use character format <%W> to display text as hyperlink.

Former Member
0 Kudos

check this sample form

SF_WEBFORM_02

SF_WEBFORM_03

кu03B1ятu03B9к

Edited by: kartik tarla on Mar 9, 2009 7:37 PM

0 Kudos

Hi all,

Any more options to have a solution.

Thanks in advance.

Regards,

SD

Former Member
0 Kudos

Hi,

Create the character format in the smartstyle under fonttab->check the check box of underline.

u can select the color as blue.

Include this smartform, OUTPUT OPTIONS --> style .

give the text in the text node and assign the declared character format

Regards,

jaya