‎2009 Aug 21 12:38 PM
Hi,
I need to display some data using write statement while displaying ALV GRID display on same screen. How to achieve this functionality.
Thanks.
‎2009 Aug 21 12:42 PM
Hi,
You can use the WRITE statement to write the text in the TOP OF PAGE event and normal data in ALV Display.
Make sure you write the statements in the TOP OF PAGE subroutine and pass the same to the ALV events FM.
Regards
Shiva
‎2009 Aug 21 12:42 PM
Hi,
You can use the WRITE statement to write the text in the TOP OF PAGE event and normal data in ALV Display.
Make sure you write the statements in the TOP OF PAGE subroutine and pass the same to the ALV events FM.
Regards
Shiva
‎2009 Aug 21 12:47 PM
‎2009 Aug 21 12:43 PM
Hi,
Try using custom container refer program BCALV_GRID_02
Regards,
Prashant
‎2009 Aug 21 12:46 PM
Hi,
SLIS_LAYOUT_ALV* is a structure which contains -->slis_layout_main. -->slis_layout_alv_spec. structures. Actually these structure contains the formatting options of the ALV Display
Again slis_layout_alv_spec. include contains -->slis_layout_alv_spec0. -->slis_layout_alv_spec1 includes. In slis_layout_alv_spec0 we contain the following fields
no_col head no headings no_hotspot headings not as hotspot zebra striped pattern no_vline columns separated by space no_hline rows separated by space cell_merge not suppress field replication edit for grid only edit_mode or grid only numc_sum totals for NUMC-Fields possib. no_input only display fields f2code sy-ucomm, reprep report report interface active no_keyfix do not fix keycolumns expand_all Expand all positions no_author No standard authority check def_status default status space or 'A' item_text Text for item button countfnameslis_layout_alv_spec1 contains
no_sumchoice no choice for summing up no_totalline( no total line no_subchoice no choice for subtotals no_subtotals no subtotals possible no_unit_splitting no sep. tot.lines by inh.units totals_before_items diplay totals before the items totals_only show only totals totals_text text for 1st col. in total line subtotals_text text for 1st col. in subtotals*Actually these structure contains the formatting options of the ALV Display.
Regards,
Shamma
‎2009 Aug 21 12:56 PM
Hi,
Use the Class CL_GUI_ALV_GRID To display the ALV grid
control and call Method SET_TABLE_FOR_FIRST_DISPLAY.
with regards,
Mamta Kumari
‎2009 Aug 21 1:02 PM
Hello Aamir,
You cannot WRITE anything to an ALV Grid )
ALV Grid is a container & you cannot use WRITE statements there.
If you can elaborate on your req. make be we can suggest something more concrete.
BR,
Suhas
‎2009 Aug 21 1:30 PM
search ALV TOP_OF_PAGE and REUSE_ALV_COMMENTRY_WRITE in SCN. you will get your required help