on 03-02-2012 7:18 AM
Hi I need to get the WebDynpro component name in its own DOINIT method for some processing.
Is there any way to get that ??
For Ex: I call a ZWD_TWO from ZWD_ONE.
I need to get the name of ZWD_ONE in the DOINIT of ZWD_TWO..
Edited by: karthikeyan.chandrasekaran on Mar 2, 2012 12:52 PM
Hi,
The code shows how you can get the component name.
data comp type REF TO if_wd_component.
data comp_info type REF TO if_wd_rr_component.
data str type string.
comp = wd_this->wd_get_api( ).
comp->get_component_info( RECEIVING component_info = comp_info ).
comp_info->get_name( RECEIVING result = str ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try below methods of If_wd_component interface.
GET_ID
GET_COMPONENT_INFO
Regards
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.