2006 Jun 28 5:46 PM
I want to create some blank screen space between the two ALV grids I have on the screen. Can someone tell me how to do this?
Thanks and best regards,
Sandy
2006 Jun 29 2:12 AM
I don't understand how to link the two custom contols I created in Screen Painter (I called them CONTAINER_1 and CONTAINER_2) to the ALV code that creates the ALV objects.
create object g_alv_tr
exporting
i_parent = container_1.
Can you please explain how I do this?
Thanks.
Sandy
I want to create some blank screen space between the two ALV grids I have on the screen. Can someone tell me how to do this?
Thanks and best regards,
Sandy
2006 Jun 28 5:50 PM
2006 Jun 29 2:12 AM
I don't understand how to link the two custom contols I created in Screen Painter (I called them CONTAINER_1 and CONTAINER_2) to the ALV code that creates the ALV objects.
create object g_alv_tr
exporting
i_parent = container_1.
Can you please explain how I do this?
Thanks.
Sandy
2006 Jun 29 2:20 AM
You don't have link the two containers.
I guess you have a grid and tree control that you want to display. So, use a different container for each of these controls, so that they appear differently.
If you don't want space in between them, you can have one container and split that into and display the tree and grid in each of the split portions.
The advantage with this will be you can resize the tree/grids using the vertical line that separates them.
Take a look at WE02 transaction to see what I am trying to explain.
Regards,
Ravi
2006 Jun 29 2:23 AM
First you must create the object for the custom container then assign it to the ALV_GRID object.
DATA: ALV_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
ALV_GRID TYPE REF TO CL_GUI_ALV_GRID.
* Create Controls
CREATE OBJECT ALV_CONTAINER
EXPORTING CONTAINER_NAME = 'CONTAINER_1'.
CREATE OBJECT ALV_GRID
EXPORTING I_PARENT = ALV_CONTAINER.
Regards,
Rich Heilman