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: 

Why again funtion modules in ABAP OO ?

Former Member
0 Kudos
54

if you look at the code inside

cl_gui_frontend_services->gui_upload they use gui_upload function.

there is no difference.

internally the class also uses GUI_UPLOAD ..........

there is conflict like data consistancy problem with function module ..

why again sap is using funtion modules in class method ...

Instead sap can develope method purely by coding in method know ?

Can any body explain what are the advantages and disadvantages ?

2 REPLIES 2

Former Member
0 Kudos
33

Hi

Check this thread

Regards

Raj

marcelo_ramos
Active Contributor
0 Kudos
33

Hi,

I think the FM can be used by only one way, with the same calls way( depending for parameters ) and always with the same behavior.

But if you extends the class you can inherits the class's components and insert new attributes.

This is one of the benefits of the OO.

Each SAP's release, many FM are being modified to OO.

Regards,

Marcelo Ramos