‎2006 Jul 03 6:16 AM
Hi,
I need an example of object oriented alv grid display
with-
Headings set.
Thanks.
Regards,
Madhu
‎2006 Jul 03 6:26 AM
Hi,
Please refer the example demo with source code in the transaction DWDM. You will come to know not only about OOPS ALV, but also different control with examples.
If you want small example for OOPS ALV with input enabled, gimme your mail ID, I will forward one sample code what I did.
Regs,
Vnkat Ramanan
‎2006 Jul 03 6:25 AM
Use the functional module 'REUSE_ALV_GRID_DISPLAY' and pass your internal table into this FM.
Regards,
Subhasish
‎2006 Jul 03 6:26 AM
Hi,
Please refer the example demo with source code in the transaction DWDM. You will come to know not only about OOPS ALV, but also different control with examples.
If you want small example for OOPS ALV with input enabled, gimme your mail ID, I will forward one sample code what I did.
Regs,
Vnkat Ramanan
‎2006 Jul 03 6:45 AM
Take a look at the step by step process
/people/ravikumar.allampallam/blog/2005/06/01/alv-reporting-using-controls--part-i
/people/ravikumar.allampallam/blog/2005/06/01/alv-reporting-using-controls-control-layouts--part-ii
Regards,
Ravi
note : Please mark all the helpful answers
‎2006 Jul 03 6:52 AM
Hi...
You need to define ALV Grid intance reference i.e. TYPE REF TO CL_GUI_ALV_GRID
You need to define CUSTOM COLNTROL ADDED ON THE SCREEN i.e. TYPE SCRFNAME
Define CUSTOM CONTAINER INSTANCE REFRENCE i.e. TYPE REF TO CL_GUI_CUSTOM_CONTAINER
CREATE CUSTOM CONTAINER INSTANCE. - Use CREATE OBJECT GR_CCONTAINER
CREATE ALV GRID INSTANCE. Use - CREATE OBJECT GR_ALVGRID
Then, CALL METHOD GR_ALVGRID->SET_TABLE_FOR_FIRST_DISPLAY
Regards,
Meena
‎2006 Jul 03 7:05 AM
Hi,
Did you check the transaction code which I mentioned.
If not check it.
Regs,
Venkat Ramanan
‎2006 Jul 03 7:12 AM
HI
GOOD
GO THROUGH THE FOLLOWING LINKS,I HOPE THIS WILL HELP YOU GIVE THE IDEA TO WORK WITH ALV GRID REPORTS
http://sap.ittoolbox.com/code/archives.asp?i=10&d=3619&a=s
THANKS
MRUTYUN