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

Create External Window in Webdynpro for Abap

I am creating an external window using method CREATE_EXTERNAL_WINDOW. The componentcontroller context and the assistance class attributes are not available in the Handledefault method of the external window. Is there a way to pass data to the external window without using URL parameters?

Thanks

Cindy

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Sep 16, 2010 at 06:46 PM

    When you create an external window, that application in the new window is in a separate user session (perhaps even running on a different applciation server). So there are no direct ways to pass info except via the URL parameters. You could store the data in a server cookie (data table entry basically) or in shared memory (careful of the multi-app server situation however) and pass the key (probably a GUID) via the URL parameter to go and lookup this data in the use application instance running in the external window.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Thomas,

      I just created a new thread http://scn.sap.com/thread/3325875 and just saw your answer here, that is connected to my question.

      I want to know how to keep the session when using the method create_external_window. Do you know if this is possible with a SAP webdispatcher, or not ? If yes, how is it possible ?

      Thanks a lot in advance, if you have time to look at my thread, and tell me what you know about it...

      Guillaume

  • author's profile photo Former Member
    Former Member
    Posted on Sep 17, 2010 at 03:50 PM

    I am displaying a ALV list and on_click event displaying a document with different text layouts based on criteria that is already stored in the component controller context. The document has to be displayed in another browser window enabling another document to be selected from the list. Am I going down the right path using method create_external_window or is there another way of accomplishing this?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2010 at 08:08 PM

    Thank you for your help, I am using the server cookie method and it works perfectly.

    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.