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

How to pass url param to an embedded external component ?

Hi all,

I'm using a view container which is linked to an external component.

I need to pass a URL parameter from my main component to the external component.

Any Idea how to achive that ?

Thanks

Ziv

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2011 at 08:48 AM

    You can pass it via plug parameter or call the interface method of the other component and set the data or use a singleton object between the components and set the data to an attribute and access it from other component.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I have already mentioned in my earlier post about the other possibilities.

      1) Using interface method

      2) Use Singleton class

      I would prefer to go with Singleton class methods. Create Setters/Getters , call the setters from parent component and call the readers from the used components.

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2011 at 10:25 AM

    Dear Ziv,

    please check this post, it might help you:

    [http://wiki.sdn.sap.com/wiki/display/WDABAP/ExampleforpassingvaluesfromoneApplicationtoanotherApplicationinWebDynproABAP.]

    Kind Regards

    /Ricardo Quintas

    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.