Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

How to catch the select data in multiple ALV

$
0
0

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>.

QQ截图20141223191930.png


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>