Class CL_HRPAYNA_GUI_ALV_TREE
Create a class
Create a class
Call transaction SE24 and specify name of creating class ZXLWB_ALV_TREE and press the button «Create»:
Specify a Superclass
Specify a Superclass
Go to «Properties» tab and press a button «Superclass».
After that, type CL_GUI_ALV_TREE in the Superclass input field :
Create a GET_OUTTAB method
Create a GET_OUTTAB method
Go to the «Methods» tab and add a new method GET_OUTTAB (Instance method, Public) :
Add parameter ET_OUTTAB for the method GET_OUTTAB
Add parameter ET_OUTTAB for the method GET_OUTTAB
Ptess a button «Parameters» , and create a Returning-parameter ET_OUTTAB (with typing Type Ref To DATA):
Implement a code for the method GET_OUTTAB
Implement a code for the method GET_OUTTAB
Press a button «Source code», and follow to the code editor. Type just a single code line :
ET_OUTTAB = MT_OUTTAB .
Activate the class
Activate the class
Acticate the class by pressing a button «Activate»
Replace all matches of the CL_HRPAYNA_GUI_ALV_TREE with the ZXLWB_ALV_TREE in a ZXLWB_INCLUDE code.
Replace all matches of the CL_HRPAYNA_GUI_ALV_TREE with the ZXLWB_ALV_TREE in a ZXLWB_INCLUDE code.