Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding grid display

Former Member
0 Likes
945

Hi,

I need to display some data using write statement while displaying ALV GRID display on same screen. How to achieve this functionality.

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
908

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

7 REPLIES 7
Read only

Former Member
0 Likes
909

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

Read only

0 Likes
908

Hi Shiva,

Can you elaborate this a little please.

Thanks

Read only

former_member386202
Active Contributor
0 Likes
908

Hi,

Try using custom container refer program BCALV_GRID_02

Regards,

Prashant

Read only

Former Member
0 Likes
908

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 countfname

slis_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

Read only

Former Member
0 Likes
908

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

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
908

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

Read only

Former Member
0 Likes
908

search ALV TOP_OF_PAGE and REUSE_ALV_COMMENTRY_WRITE in SCN. you will get your required help