on 02-21-2013 11:02 AM
Hi,
How to handle abstract classes in webdynpro.
I want to use the method AGGR_MOVE_DOWN of abstract class CL_WDR_P13N_BASE in webdynpro.
Best Regards
Hi,
Create a sub class for CL_WDR_P13N_BASE and use it.
Procedure:
Create a Z class in SE24.
Go to properties tab and enter CL_WDR_P13N_BASE as super class.
Also, you can check this class CL_WDR_P13N_DT and CL_WDR_P13N_RT which are sub class of CL_WDR_P13N_BASE. May be this is what you are looking for. You can simple call the method AGGR_MOVE_DOWN of CL_WDR_P13N_RT/CL_WDR_P13N_DT instead of creating a Z sub class.
Hope this helps u.,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your prompt response.
My issue with the abstract class is solved by using CL_WDR_P13N_DT but how did
you come to know that it is a subclass of CL_WDR_P13N_BASE.
Now I have a table binded with child node 'RESB_TAB' with visible rows 10.
I want to provide a separate button for scrolling down the table and am using the follwing code:
*******************************************************************************
DATA nd_resb_tab TYPE REF TO if_wd_context_node.
Data vn type ref to CL_WDR_P13N_DT.
nd_resb_tab = wd_context->get_child_node( name = 'RESB_TAB' ).
create object vn.
CALL METHOD VN->AGGR_MOVE_DOWN
EXPORTING
VISIBLE_NODE = nd_resb_tab.
***************************************************************
I am getting the error
Subnode COMPONENTCONTROLLER.1.RESB_TAB.INDEXING_NODE does not exist
Can you look into this pls.
Regards
User | Count |
---|---|
90 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.