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

Function Module vs. Function Group Web Service

sap_cohort
Active Contributor
0 Likes
659

Hi, Can someone tell me the difference between creating a web service for a Function Module vs. Function Module Group?

Thanks!

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
362

Sure Kenneth, it is really quite simple. If you create a web service based on a function module, you expose that FM via exactly one operation, think of an operation as sort of a method. If you expose an entire function group, all function modules within the group(if you select them all in that appropriate step of the wizard) will be exposed via that many operations. So just think of exposing a function group as a short cut to exposing more than one function module at one time, the function modules of one specific group.

Regards,

RIch Heilman

1 REPLY 1
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
363

Sure Kenneth, it is really quite simple. If you create a web service based on a function module, you expose that FM via exactly one operation, think of an operation as sort of a method. If you expose an entire function group, all function modules within the group(if you select them all in that appropriate step of the wizard) will be exposed via that many operations. So just think of exposing a function group as a short cut to exposing more than one function module at one time, the function modules of one specific group.

Regards,

RIch Heilman