2013 Mar 26 12:22 PM
Hi gurus this is my present ALV output ... my client need to see once the report will execute they what to see defaultly Expand Selection As i shown in the image 2,(when i click image1 o/p bottom eExpand selation it will become as i shown in image2) so can any one pls tell me hw to make a default Expand selation. when i run the report.
Pls give me a code..
i tried this
ls_layout-EXPAND_FIELDNAME = 'EXPAND'.
it does n't work
IMAGE 1.
IMAGE2. This what i need defaultly
2013 Mar 26 1:34 PM
Hi Srithar,
If u have used SALV , the following code will do the trick.
data lo_columns TYPE REF TO cl_salv_columns_hierseq.
lo_columns = alv->get_columns( 1 ).
lo_columns->set_expand_column( 'EXPAND' ).
Thanks,
Sivakumar
2013 Mar 26 1:34 PM
Hi Srithar,
If u have used SALV , the following code will do the trick.
data lo_columns TYPE REF TO cl_salv_columns_hierseq.
lo_columns = alv->get_columns( 1 ).
lo_columns->set_expand_column( 'EXPAND' ).
Thanks,
Sivakumar