on 12-20-2006 11:02 PM
Hi all,
I need to make some communication between two WD componenets.
I have two WD applications. I need to display a screen of one application in a pop up of another application. How would I do this?
Also, when a screen from second application is called I need to pass some parameters to it.
Please let me know if you've ever faced this need.
Thank you.
Regards,
Georgy Norkin
Hi,
you can execute any method of the component-B using this code in component-A:
DATA: l_ref_INTERFACECONTROLLER TYPE REF TO ZIWCI_PROJECT_DISPLAY .
l_ref_INTERFACECONTROLLER = wd_This->wd_CpIfc_Display( ).
l_ref_INTERFACECONTROLLER->Get_Project( PROJID = pid ).
Here Get_Project( ) is declared in the methods of the Interface controller. And this Get_Project( ) method is implemented in the component-B. In Get_Project( ) you can directly access the context of Component-b. And ZIWCI_PROJECT_DISPLAY is ABAP interface of the Interface controller created.
This is the way we can access the context of component-B from component-A. Hope I am clear..
Regards,
Ravikiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.