Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Container usage

Former Member
0 Likes
747

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

5 REPLIES 5
Read only

Former Member
0 Likes
696

see transaction <b>DWDM</b> ur point wiil clear.

Read only

Former Member
0 Likes
696

Hello,

As Kishan told go to the transaction DWDM. There are many examples available with source code.

Regs,

Venkat Ramanan N

Read only

uwe_schieferstein
Active Contributor
0 Likes
696

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

Read only

0 Likes
696

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

Read only

baskaran00
Active Participant
0 Likes
696

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