01-17-2008 6:42 AM
Hi guru's,
wht is the diff between normal function modules and using OOPS in alv's.
thanks
01-17-2008 10:36 AM
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.
01-17-2008 10:38 AM
Please refer to the link below :
http://www.sapdevelopment.co.uk/reporting/alv/alv_variousfcat.htm
Regards.
01-17-2008 11:07 AM
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