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

diff bet FM and oops

Former Member
0 Likes
576

Hi guru's,

wht is the diff between normal function modules and using OOPS in alv's.

thanks

3 REPLIES 3
Read only

Former Member
0 Likes
539

Hi Sathish,

As an example, i will try to explain. For example, if there are four function, like addition, subtraction, multiplication and division. There are four variables, a, b, and c. If you write an FM for this. Just think, how can you display the out put for all these four function, using single FM?

This is not possible. For such type of scenarios, Classes (OOPS concept) have introduced. Where, we can define, several methods, under each method you can define separate logic. And whenever necessary, you can use that.

Thanks

Manju.

Read only

Former Member
0 Likes
539
Read only

Kanagaraja_L
Active Contributor
0 Likes
539

ALV list is done with Function modules ALV GRID done with CLASS->Methods.

ALV No need to design the screen ALV Grid We need to design the Screen/Container.

ALV Grid uses ActiveX controls present on the Presentation Server.Hence, it consumes More Memory on the presentation server.

ALV Can be displayed hieratically But ALV GRID cannot be displayed hieratically.

Kanagaraja L