Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8720

Re: two alv on single screen oop

$
0
0

Hi Rohit,

 

Please follow below procedure.

 

in your screen editor, create 2 custom containers. say CONT1, CONT2.

 

in the PBO module,

 

create object O_CONT1(type cl_gui_custom_container) by passing the container name CONT1.

same for CONT2 also.

 

now create field catalog tables for each ALV table by using FM 'REUSE_ALV_FIELDCATALOG_MERGE'. say it_fcat1 and it_fcat2.

 

now create 2 alv references for each alv by passing the O_CONT1 , O_CONT2 respectively. say o_alv1(type ref to cl_gui_alv_grid) and o_alv2.

 

now everything is ready except the data, fetch that based on your requirement.

 

call method 'SET_TABLE_FOR_FIRST_DISPLAY' for both O_ALV1 & O_ALV2.

 

Please publish if you face any further issues.

 

Thanks and Regards,

Bhaskar


Viewing all articles
Browse latest Browse all 8720

Latest Images

Trending Articles



Latest Images