cancel
Showing results for 
Search instead for 
Did you mean: 

IWDLinkToUrl - program click on the link

0 Kudos

Good day,

I have the IWDLinkToUrl element (not visible on the View)

and

IWDButton element(visible on the View).

I need by click on the button - programmly click on the link, but not(!!!) in popup window.

(Popups blocked on all our workstations and we cannot use this tehnology).

How can i solve this problem?

Regards.

Accepted Solutions (1)

Accepted Solutions (1)

p330068
Active Contributor
0 Kudos

Hi Andrey,

I don't think this programmatically possible..

Please have a look at [LinkToURL|http://help.sap.com/saphelp_nw04/helpdata/EN/c5/dc99f5d1b1504aa0045a7070a0f500/frameset.htm] and [IWDButton |http://help.sap.com/saphelp_nw04/Helpdata/EN/62/832cf3cd35004aa4ea8a2378c8a2be/frameset.htm] API.

Hope it helps

Regards,

Arun

0 Kudos

Arun, thanks!

When i want Export IWDTable to Excel:

by press the button i am prepare data and making link

and

by press the link i am starting download?

Two steps? It's comfortably for user?

p330068
Active Contributor
0 Kudos

Hi Andrey,

Offcoure not...Two step it bit uncomfirtable for the users.

Please try with this below link to one step export to excel:-

[Excel download Wikki.|http://wiki.sdn.sap.com/wiki/display/WDJava/ExporttoExcel(WithoutthirdpartyAPIs)]

[Reusable WebDynpro Component for Export to Excel from Table UI Element|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d01854fd-1579-2c10-63ad-dd62edca2381?quicklink=index&overridelayout=true].

Hope it helps.

Regards,

Arun

Answers (1)

Answers (1)

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi Andrei

I do not get you actually... Typical download scenario: user clicks on the link targeting some document, browser shows Save/Open dialog and user stores the attachment. This is achieved by

IWDWindowManager.createNonModalExternalWindow(java.lang.String URL, java.lang.String title) 
          Method createNonModalExternalWindow creates a window that contains/displays the content of an url.

If any new windows are blocked as you said maybe a redirect will help you. Try to exist from the WebDynpro application and redirect it to your URL with document to download. For this you can use parameter url and exit plug.

BR, Siarhei