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

ALV grid

Former Member
0 Likes
637

Hi,

I need an example of object oriented alv grid display

with-

Headings set.

Thanks.

Regards,

Madhu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
605

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

6 REPLIES 6
Read only

Former Member
0 Likes
605

Use the functional module 'REUSE_ALV_GRID_DISPLAY' and pass your internal table into this FM.

Regards,

Subhasish

Read only

Former Member
0 Likes
606

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

Read only

Former Member
0 Likes
605

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

Read only

Former Member
0 Likes
605

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

Read only

Former Member
0 Likes
605

Hi,

Did you check the transaction code which I mentioned.

If not check it.

Regs,

Venkat Ramanan

Read only

Former Member
0 Likes
605

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