Skip to Content
author's profile photo Former Member
Former Member

WD ABAP - reload iView

We run a WD ABAP application in an EP iView. I understand I can navigate thru iViews from WD ABAP with navigate_absolute and navigate_relative.

What is the easiest way to reload my iView (the one the WD application runs in) - like the browser reload.

Add a comment
10|10000 characters needed characters exceeded

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 04, 2007 at 07:45 AM

    What I did was this here

    CALL METHOD lo_portal_mgr->navigate_relative

    EXPORTING

    levels_up = '0'

    path = pathlist

    navigation_mode = if_wd_portal_integration=>co_show_inplace

    history_mode = if_wd_portal_integration=>co_no_duplicates.

    But I was not sure whether it is the best way.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      So what kind of problem is still outstanding?

      You have a solution and are not sure whether it's the best or are you still looking for a solution? In the first case you can mark the question as answered, in the latter case please tell us what's the current state of your problem ...

      Regards,

      volker

  • author's profile photo Former Member
    Former Member
    Posted on Sep 03, 2007 at 09:54 AM

    Hi!

    What is the exact purpose? Is the reload to be done automatically without user interaction? Manual ways could be:

    1. iView has reload functionality; have a look at the iView tray.

    2. In your WDA appl. implement a button "refresh" the user can press ... an din your coding you react to this event with updating the contexts ....

    Regards,

    Volker

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 03, 2007 at 05:29 PM

    The goal is to reload the view as it was newly called ("called the first time"). The trigger is a button which the user presses. Just to force a roundtrip is not sufficient, because the WD application must be completely reinitialized for some reasons.

    In WD ABAP standalone I got a solution via plugs:

    ABAP WD reload button

    The above works well but not when applied in the EP. Since we have to use uidpw SSO the WD requires a new login when the WD reload bypasses the iView. So I have to call the link of the iView rather than the link of the WD.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi!

      1. The refresh button mentioned in my reply above could do exactly this: completely restart the WDA application - UIDPW login should normally not be a problem in EP, because once logged in to the backend the brwoser should hold the credentials in the browser cache and reuse them when the same backend is called as long as the browser session exists.

      2. The other option is to use the iView's refresh feature (see iView Tray)

      3. Third option is to present a Link not to the backend url but to the portal URL inplace.

      If you are not an expert in portal questions you can use an HTTP trace tool to find out the portal link (like e.g. HTTPWatch) or you ask your portal guys.

      Regards,

      Volker

  • author's profile photo Former Member
    Former Member
    Posted on Sep 04, 2007 at 06:04 PM

    Yep, the above approach is from this part of documentation

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2007 at 09:16 AM

    My point simply was

    a) Is there a better way to do it?

    b) Is this correct to call the method for this purpose, e.g. it works not(!) with Firefox, but with IE (SPS 12). This makes some alarm bells ringing.

    I just try to understand whether it is a diry hack what I am doing or the right way. However, thanks a lot for your support and effort.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2007 at 09:17 AM

    Still ot sure whether it is the best way to do it, but it works. Thanks for all the support.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.