on 04-20-2009 1:48 PM
Hello experts!
I have a web dynpro application, and i want to retrieve the application name in a method of that application
how can i do that?
Thanks!!!
Hello,
DATA:
lr_ctrl_api TYPE REF TO if_wd_controller,
lr_comp_api TYPE REF TO if_wd_component,
lr_appl_api TYPE REF TO if_wd_application,
lr_appl_info TYPE REF TO if_wd_rr_application,
l_appl_name TYPE string.
* get app name
lr_ctrl_api = wd_this->wd_get_api( ).
lr_comp_api = lr_ctrl_api->get_component( ).
lr_appl_api = lr_comp_api->get_application( ).
lr_appl_info = lr_appl_api->get_application_info( ).
l_appl_name = lr_appl_info->get_name( ).
In this l_appl_name will be containing the name of application.
You can go for the following link as well.
I hope it helps.
Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey!
Please refer to reply of Rohit Makkar !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.