on 08-22-2012 10:07 AM
Hi,
How can I get the Webdynpro application name in a method?
* Interface Declarations
DATA: lo_ctrl_api TYPE REF TO if_wd_controller,
lo_comp_api TYPE REF TO if_wd_component,
lo_appl_api TYPE REF TO if_wd_application,
lo_appl_info TYPE REF TO if_wd_rr_application,
lo_api_controller TYPE REF TO if_wd_controller,
lv_appl_name TYPE string.
* Get the Application Name
lo_ctrl_api = wd_this->wd_get_api( ).
lo_comp_api = lo_ctrl_api->get_component( ).
lo_appl_api = lo_comp_api->get_application( ).
lo_appl_info = lo_appl_api->get_application_info( ).
lv_appl_name = lo_appl_info->get_name( ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanku...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This link explains how to get application name.
http://help.sap.com/SAPhelp_nw73/helpdata/en/46/9c786b77922c0ee10000000a114a6b/content.htm
Read
Message was edited by: Khushboo Sachdeva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.