09-05-2006 7:24 AM
Hello All,
I need to place both ALV Tree and field catalog on a container . Which container I need to use for this.
Regards,
Prasad
09-05-2006 7:28 AM
09-05-2006 7:30 AM
Hello,
As Kishan told go to the transaction DWDM. There are many examples available with source code.
Regs,
Venkat Ramanan N
09-05-2006 7:31 AM
Hello Prasad
If you have a single control (like the ALV tree) then you could use either a normal container (CL_GUI_CONTAINER or CL_GUI_CUSTOM_CONTAINER) or, alternatively, a docking container (CL_GUI_DOCKING_CONTAINER) if you want to attach the control at specific parts of the dynpro.
What I do not understand is your question concerning the field catalog. This has nothing to do with the container but has to be imported into the corresponding "functional" control (e.g. ALV grid control).
If you have more than one control that you want to display side by side then you need a splitter container (CL_GUI_SPLITTER_CONTAINER).
Regards
Uwe
09-05-2006 7:41 AM
Hello Uwe,
I should disply values in the field catalog whenever user clicks on the tree.I need to display item details whenever user browsed through tree. Is there any chance to keep tree or brousing facility in field catalog itself.
Regards,
Prasad
09-05-2006 7:42 AM
Hi,
U can use the function module 'REUSE_ALV_HIERSEQ_LIST_DISPLAY', in that u can pass the field catalog also.
DATA : FCAT TYPE SLIS_T_FIELDCAT_ALV.
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
IS_LAYOUT = WA_LAYOUT
IT_FIELDCAT = FCAT
I_TABNAME_HEADER = 'IT_Sales_Header'
I_TABNAME_ITEM = 'IT_Sales_Item'
IS_KEYINFO = WA_KEYINFO
TABLES
T_OUTTAB_HEADER = IT_SALES_HEADER
T_OUTTAB_ITEM = IT_SALES_ITEM.
Regards,
Router