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: 
2 REPLIES 2
Read only

Former Member
0 Likes
370

Hi manjunatha,

DATA: go_grid1

TYPE REF TO cl_gui_alv_grid,

go_grid2

TYPE REF TO cl_gui_alv_grid,

go_container1

TYPE REF TO cl_gui_custom_container,

go_container2

TYPE REF TO cl_gui_custom_container.

Function module for screen 1:

IF go_container1 IS INITIAL.

CREATE OBJECT go_container1

EXPORTING container_name = 'CONTAINER_T'.

CREATE OBJECT go_grid1

EXPORTING i_parent = go_container1.

ENDIF.

Function module for screen 3:

IF go_container2 IS INITIAL.

CREATE OBJECT go_container2

EXPORTING container_name = 'CONTAINER_C'.

CREATE OBJECT go_grid2

EXPORTING i_parent = go_container2.

ENDIF.

se these threads for alv using objects//

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/interactive%2balv%2busing%2babap%2bobjec...

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/interactive%2balv%2busing%2babap%2bobjec...

thanks

karthik