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 using oops or traditional method?

Former Member
0 Likes
1,598

Hi all!

Which is fesible in case of large amount of data?

and why?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,450

Hi prasad,

1. Which is fesible in case of large amount of data?

If u only want to display the data,

then traditional method (using FM)

will be simpler & faster.

2. If u want data entry,

then OOPS will provide more features, flexibility.

3. If data is VERY LARGE, (for entry purpose)

then TABLE CONTROL is suitable,

bcos it reduces network traffic,

as compared to grids.

regards,

amit m.

Hi all!

Which is fesible in case of large amount of data?

and why?

10 REPLIES 10
Read only

Former Member
0 Likes
1,450

From a data perspective either of them should be OK.

However, I would personally prefer using OO method as it gives a lot of flexibility to develop the user friendly features.

Regards,

Ravi

Note : Please mark all the helpful answers

Read only

dani_mn
Active Contributor
0 Likes
1,450

Hi,

oops is new concept in abap so better use it. It have more options than the function module technique. like event capturing, and others.

Regards,

Wasim Ahmed

Read only

Former Member
0 Likes
1,450

Both r equally good.

OO ALV gives more control over the ALV Grid.

<b>Reward Points & Mark Helpful Answers</b>

Read only

Former Member
0 Likes
1,450

Hi,

If you can use any of the ALV more preferable is OOALV,

In OOALV the event handling becomes easier.

Also with OOALV you can have multiple screen elements other than ALV grid.

and check the following link

Hope this helps you to decide.

Regards,

kinshuk

Read only

Former Member
0 Likes
1,450

Hi,

Both are good, But Coming to Features <b>OO ALV has lot of extra features</b> than Traditional ALV Grid/LIST

Regards

vijay

Read only

Former Member
0 Likes
1,450

Hi,

Both can be equally used for constructinjg ALV display

But OO method has many advantages:

· · It frees the programmer of the ABAP’s runtime implicit control of program flow.

· · ABAP Objects offer better syntax and semantic rules. Most of the error prone concepts (e.g.:- header, for all entries command) are not permitted in the ABAP classes.

· · ABAP Objects is the only platform on which we can use the new SAP technologies like NetWeaver, and all the new advanced GUI concepts like DOI (Desktop Office Integration), BSP (Business Server Pages), CFW (SAP Control Frame Works) etc.

With regards to ALV , oo method is highly flexible compared to traditional method using FM's

Regards,

Sharat

Read only

Former Member
0 Likes
1,450

Hi,

I would suggest you to go for Object Oriented ALV. It gives lot of facilities and also easy to develop.

Check the transaction DWDM for many exercises with source code.

Regs,

Venkat Ramanan N

Read only

Former Member
0 Likes
1,451

Hi prasad,

1. Which is fesible in case of large amount of data?

If u only want to display the data,

then traditional method (using FM)

will be simpler & faster.

2. If u want data entry,

then OOPS will provide more features, flexibility.

3. If data is VERY LARGE, (for entry purpose)

then TABLE CONTROL is suitable,

bcos it reduces network traffic,

as compared to grids.

regards,

amit m.

Read only

Former Member
0 Likes
1,450

Prasad

OO way of designing ALV is the best practice !!!

As of the Industy Standards are moving or using more of OO features, It is recommended to use the OO way of ALV.

But Still FM based ALV offers good Program Development Support.(As it is the traditional)

From the Data point of view, both are same !!!!

Thanks

Jack

<b>Allot points if my post helps !!!!</b>

Read only

Former Member
0 Likes
1,450

Kudos to all!

Thanks you very much for your help.!