on 09-21-2011 9:33 AM
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
Dear Ziv,
please check this post, it might help you:
[http://wiki.sdn.sap.com/wiki/display/WDABAP/ExampleforpassingvaluesfromoneApplicationtoanotherApplicationinWebDynproABAP.]
Kind Regards
/Ricardo Quintas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Baskaran
Your suggestions were very helpful but I'm not quite satisfied with the results, let me explain :
Has you know url parameter is processed during the default plug phase, which if after wddoinit event.
I meant to call an RFC function in wddoinit of my external component.
This function need the URL parameter but since default plug hasn't been executed yet , I'm stuck.
As a workaround I used your suggestion and passed the URL parameter to an outbound plug in my main component.
I later linked that plug with the default plug of my external component.
There (In my external default plug) I made the RFC call and got the info I needed.
It just seems to my that this way is a little backwards.
Can you think of a better way ?
Thanks
Ziv
Edited by: Ziv Katz on Sep 21, 2011 5:20 PM
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.