on 12-14-2011 9:11 AM
Hello All,
I have one dynpro component, where multiple application has been created for multiple windows in the same component. Each component has different default view set.
Is there any way fetch or get the name of application name that is ran, in the component controller's WDINIT method?
Thanks,
Bhushan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found & the answer is -
DATA: lo_component TYPE REF TO if_wd_component,
lo_application TYPE REF TO if_wd_application,
lo_application_info TYPE REF TO if_wd_rr_application,
lv_appl_name_str TYPE string.
Get component
lo_component = wd_this->wd_get_api( ).
Set application name
lo_application = lo_component->get_application( ).
lo_application_info = lo_application->get_application_info( ).
lv_appl_name_str = lo_application_info->get_name( ).
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.