Skip to Content
0
Former Member
Feb 18, 2009 at 07:24 AM

header in alv grid using class

380 Views

Hello All,

I developed alv grid using class method.

First I created CREATE OBJECT GR_CCONTAINER

then CREATE OBJECT GR_ALVGRID

then PERFORM FIELD_CATALOG TABLES GT_FIELDCAT----


for field catalog

PERFORM LAYOUT CHANGING GS_LAYOUT.----


for header

p_gs_layout-grid_title = 'class method'.

p_gs_layout-sel_mode = 'D'.

APPEND P_GS_LAYOUT TO IT_LAYOUT.

and finally CALL METHOD GR_ALVGRID->SET_TABLE_FOR_FIRST_DISPLAY

the report is cooming fine but in header it comes only "class method".

but i need also

1. reporting date

2. reporting time.

can any body tell me how i can i put 2 more heading line

Thanks,

Rakesh