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

Regarding Function modules and methods

Former Member
0 Likes
539

Hi,

which of these calls to GUI_UPLOAD is more efficient?

CALL METHOD cl_gui_frontend_services=>gui_upload

or

CALL FUNCTION GUI_UPLOAD

3 REPLIES 3
Read only

athavanraja
Active Contributor
0 Likes
423

both does the same job. if you look at the code inside the method cl_gui_frontend_services=>gui_upload

it would be calling GUI_UPLOAD function.

in terms of performance efficiency, there will be a very negligible differece and call function will be slightly better in my opinion.

Regards

Raja

Read only

Former Member
0 Likes
423

Hi, I think these two one is same in the efficency.

You can find that the cl_gui_frontend_services=>gui_upload directly call FUNCTION GUI_UPLOAD in the method code.

the cl_gui_frontend_services is developed for envelop the exists functions, to meet the OO develop requirement.

Thanks

Read only

Former Member
0 Likes
423

Hi,

The function module GUI_UPLOAD can be used as per the same input parameters which were used in WS_UPLOAD. GUI_UPLOAD is the new version of WS_UPLOAD.

Regards

Abhishek