on 11-11-2014 9:15 AM
Hello Gurus,
I have been working with a Webdynpro development.
In my Webdynpro application development, I am using a Function module to get the PO numbers based on the time frame of PO's.
Here i have not used Service Call to call my Function module. I directly called the FM and my FM is giving me the PO no's.
When should i need to use Service call option of Webdynpro component? In this particular case dont i need to use service call?
What is the difference between calling a FM directly and through Service call in Webdynpro/ABAP ?
Thanks in advance.
Regards
Dev
Hi Dev,
Creating a service call and calling a function module through it, give you flexibility of creating nodes/attributes in line with function module parameters. if does even automatically does the node binding process.
Where as if u call a function module, node and attributes need to explicitly created and binding has to be done through coding, if there is need to modify the parameters and display the same in UI.
If there is not customizations are required for the parameters that are available in the FM , then we go for service call.Most of time, since we go for property binding of UI elements, adding more attributes to the node, which differ from the parameters of the FM, we go for calling the FM explicitly.
Regards,
Harsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The way you used is much better. With the "Service call" there is waste of data and you have Business logic within WebDynpro Component. Such calls should be done in the assistance class or in other classes where Business logic is developed.
The pattern functionality of WebDynpro shouldn't be used, it's like developing web pages with MS Word. Lot's of Overhead and too many variables and source code
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.