Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Multiple line hyperlink problem in smartform PDF

parshuram_kokare
Explorer
0 Likes
1,864

Hi All,

My requirment is to dipsplay hyperlink in smartform. I achieved it by using <%W>&GV_URL&</>

Then this smartform will be sent as PDF attachment in e-mail. The length of hyperlink is long so in PDF it takes 2 lines to display hyperlink. But in PDF only first line is underlined as hyperlink and only from first line I can navigate to the URL, sencod line is displayed as normal text. But if I check e-mail in transaction SOST then both lines are hyperlink.

So here problem is that in PDF hyperlink is shown only for first line and it navigates properly to whole URL, but second line in PDF is diplayed as text and no navigation from second line.

If any one have idea to solve it kindly let me know.

Thanks & Regards,

Parshuram.

1 ACCEPTED SOLUTION
Read only

parshuram_kokare
Explorer
0 Likes
1,582

Hi All,

Thanks alot for your help and quick reply!!!!!

I managed to display link in one line by reducing font size of link. So second line issue is no more present.

Thanks & Regards,

Parshuram.

8 REPLIES 8
Read only

FredericGirod
Active Contributor
0 Likes
1,582

Hi,

there is an OSS note that will explain how to reduce the size of the link.

I will try to find it

regards

Fred

Read only

Read only

0 Likes
1,582

Hi All,

Thanks for yopur reply!

My form is linked to some customizing in SOLMAN. So I can not pass the url in output option of FM for smartform. The URL is created dynamically in smartform and then stored in one varaible GV_URL. The length of URL is long so in PDF the url is diplayed on 2 lines. But in PDF If I click on first line of URL then it is navigation correctly to complete URL. But when clicking on second line there is no navigation.

SO I also want navigation to complete URL when clicked on second line in of URL.

Thanks & Regards,

Parshuram.

Read only

0 Likes
1,582

Hi the last time I use this solution that was for Solman for a generate URL

The FM is like a user-exit that rewrite the link. Instead of having the long URL writing in hyperlink you have only the short version.

like this

Read only

0 Likes
1,582


Hi

But in order to shrink the URL I have to populate/fill OUTPUT_OPTIONS of function module which calls smartform, right?

Thing is that my smartform is linked in customizing and there is no driver program to call smartfrom, so I can not populate the OUTPUT_OPTIONS.

Thanks & Regards,

Parshuram.

Read only

0 Likes
1,582

Hi , there should be some program to read Smartform assigned in the configuration and driver program to call the same. Assume if the smartform is called inside Class method. Then you can do overwrite exit and amend the code according to your requirements. If it is program try with implicit enhancement.

Ravi.

Read only

parshuram_kokare
Explorer
0 Likes
1,583

Hi All,

Thanks alot for your help and quick reply!!!!!

I managed to display link in one line by reducing font size of link. So second line issue is no more present.

Thanks & Regards,

Parshuram.