Dear,
Recently I develop a program display with multiple ALV: when I select one data of one ALV(like the image ) I want to know the data is in which output table (three table) and in which line. how can I get this ?
Thanks for your sincerely asnwer.
The diaplay code:
CREATE OBJECT container
EXPORTING
container_name = g_container.
CREATE OBJECT grid1
EXPORTING
i_parent = container_1.
CALL METHOD grid1->set_table_for_first_display
CHANGING
IT_FIELDCATALOG = GT_FIELDLOG
it_outtab = <DYN_T_SAME>.
CREATE OBJECT container
EXPORTING
container_name = g_container.
CREATE OBJECT grid3
EXPORTING
i_parent = container_5.
CALL METHOD grid3->set_table_for_first_display
CHANGING
IT_FIELDCATALOG = GT_FIELDLOG
it_outtab = <DYN_TAB1>.
CREATE OBJECT container
EXPORTING
container_name = g_container.
CREATE OBJECT grid4
EXPORTING
i_parent = container_6.
CALL METHOD grid4->set_table_for_first_display
CHANGING
IT_FIELDCATALOG = GT_FIELDLOG
it_outtab = <DYN_TAB2>.