on 09-30-2008 4:11 PM
Hey,
I want to have a reference within my normal component to a different component - Is this possible?
Thanks in advance,
Patric
Hey,
in the meanwhile i solved the problem by my own - it was easier as i thought!
Here's my solution:
data: l_cmp_api type ref to if_wd_component.
l_cmp_api = wd_comp_controller->wd_get_api( ).
cl_wd_popup_factory=>popup(
component = l_cmp_api
used_component_name = 'ANOTHER_COMPONENT_NAME
view_name = 'VIEW_OR_WINDOW_NAME'
close_button = abap_true
).
Anyhow - thank you for your help!
Best regards,
Patric
Edited by: Patric Stade on Sep 30, 2008 7:34 PM
Edited by: Patric Stade on Sep 30, 2008 7:35 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want to create a popup which contains a view of a different component.
Currently i'm just able to create a popup which contains a view from vom own component as you can see below:
data comp type ref to if_wd_component.
com = wd_comp_controller->wd_get_api( ).
*TRY.
CALL METHOD cl_wd_popup_factory=>popup
EXPORTING
component = comp
* used_component_name =
view_name = 'VTEST'
* create_only = ABAP_FALSE
* modal = ABAP_TRUE
* window_title =
close_button = abap_true
* button_kind =
* message_type = IF_WD_WINDOW=>CO_MSG_TYPE_NONE
* close_in_any_case = ABAP_TRUE
* IMPORTING
* popup_window =
* component_usage =
.
But i want to use a view from a different component than my normal one, and because of that i need a reference to the different component.
regards
Edited by: Patric Stade on Sep 30, 2008 5:47 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you talking about component usage..?( usage of one component in another component.)
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.