cancel
Showing results for 
Search instead for 
Did you mean: 

Incorporation of Tiff Documents / omiting Browser Task Bars

Former Member
0 Kudos

Hello,

we are developing a webbased (ABAP WebDynpro) factual approval workflow

for incoming invoices. Therefore we need to incorporate the original

tiff document in it.

We implemented it now in an IFrame. The problem

ist that the document loads by every round trip.

Is there a chance to avoid this reloading? If not which other

alternatives can be use to incorporate the tiff Document in the

approval user interface?

We need the invoice to be displayed in the local software (LiveLink

Viewer/ IXOS) so that the notes for the invoices can be displayed.

A second Question: how can you start the webDynpro application on the browser not displaying the task bars? I think this can be very confusing for the users, because they start cklicking at back and forward and so on.

Could you please help?

Best Regards,

Ofelia Fernandez

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I had an idea for you to try:

MAIN WDC - existing tool.

second WDC - Show tiff via start-up plug parameter

From Main WDC do a file download.

This file can be xxxxx.htm

htm should open automatically in browser on front-end.

The content of the HTM file can be simple html/javascript to launch

second tiff viewer WDC with start plug parameter

http:/<url for wdc app>?tiff=xxxxxxx

This way you get 2 separate browser windows. And no refresh of tiff page.

Otherwise if you need to control the application with JAVA script

BSP is there to use.

cheers

Phil.

thomas_szcs
Active Contributor
0 Kudos

Hi Ofelia,

>We implemented it now in an IFrame. The problem ist that the document loads

>by every round trip. Is there a chance to avoid this reloading?

Unfortunately, this behaviour is caused by the browser. There's is no way to avoid it by using iframes.

>If not which other alternatives can be use to incorporate the tiff Document in the

>approval user interface?

There is the Image ui element, but since the screen is redrawn with every roundtrip, the behavior will be similar. You could speed up the loading though by making it possible for the browser to place the tif into the browser cache, but probably that's not desireable for security reasons.

Another option would be to display the tif inside of a separate browser window (as a so called external url window) or inside of a separate iView using the portal.

>A second Question: how can you start the webDynpro

>application on the browser not displaying the task bars?

It's possible for external url windows, but not for the main window.

>I think this can be very confusing for the users,

>because they start cklicking at back and forward and

>so on.

There are mechanisms in place to prevent strange effects from happening.

Best regards,

Thomas

Message was edited by:

Thomas Szuecs

Former Member
0 Kudos

Hi Thomas!

Thank you very much for your quick response. That is a pity, but then I guess we will have to think about another solution. Maybe a separate window or just letting the image reload after every roundtrip ;(

What do you mean by

"There are mechanisms in place to prevent strange effects from happening."?

Thanks again in advance,

Best Regards

Ofelia

thomas_szcs
Active Contributor
0 Kudos

Hi Ofelia,

>What do you mean by

>"There are mechanisms in place to prevent strange effects from happening."?

Well, the Web Dynpro framework ensures that if a user pressed the back or forward button, no harm is done to an application. The framework detects such a state and then automatically rerenders the current page. A popup is displayed in addition to educate the user.

Best regards,

Thomas

michael_umlauff
Explorer
0 Kudos

Hello Thomas,

thank you for good answers.

I am the ABAP guy that implements this Web Dynpro for Ofelia. Could you please look again at her two questions?

1. Unfortunately we don't get any portal shortly. But I found a solution for the problem by using two IFrames in the top level WD view, and including the button view in the first IFrame, and the tiff-Image in the second IFrame. I include each as a separate WD application in a separat WD Window.

But there remains the obstacle that IFrames are stigmatized as deprecated UI Elements. Is there any alternative to IFrames for standalone WebDynpros, and if not why are they deprecated?

2. How can I open the external URL without the task bars? In BSP this would be no problem, the JavaScript 'window.open()' could do this by some parameters.

But when I try to use JavaScript as the reference in a LinkToURL UI-Element, e.g.

'javascript:window.open("http://www.sap.com", "popup_window","locationbar=no,menubar=no")'.

But when I start this WD application, I run into a shortdump "WebDynpro Exception: URL may contain Fatal Script". How could I overcome this?

Kind regards

Michael Umlauff