Application Development 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: 

Old and new OO based ALV

Former Member
0 Kudos
138

Hi,

What are the advantages of new oo based alv grid over the older function module based version?

In new version, we need to define a screen to keep the container.

If I do not want to define a screen, can I still use the older version?

How do I create a field catalog automatically ( i.e. from a dictionary table) in older version?

Can I have a mix of these 2?

Thanks,

Rupalee.

3 REPLIES 3

Former Member
0 Kudos
67

There are many advantages of the OO as opposed using the FM. I prefer to answer your specific questions. Yes, you can continue to use FM, and if your field catalog is only the list of fields from data dictionary structure/table, you can just specify this in the I_STRUCTURE_NAME field.

Albert

Former Member
0 Kudos
67

Advantage in the case of OO based ALV is you have various methods related to ALV which can help modify the ALV Screen or maintain the screen in a better and easier way.

You can still use the Old FM.

'REUSE_ALV_FIELDCATALOG_MERGE': will help you build field catalog for old version.

You cannot have Mix

Former Member
0 Kudos
67

thanks