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

expose a FunctionModule as an http url

Former Member
0 Likes
511

Hi,

We have a function module e.g. Z_PROCESS_ORDERS, it does not have any import parameters, and there are no export parameters.

the FM basically performs some action in SAP. e.g inserting current datetime stamp in a ztable.

is it possible to invoke this FM over the internet url.

I am not speaking about webservice.

I am talking about a plain http url. something like: http://sapserver:xxxx/blahblah/Z_PROCESS_ORDERS/xyz/something

if anyone clicks or opens this url in Internet explorer, the FM should be invoked in sap.

i searched on sdn, and found that webservice is an option, but to invoke it we need a webservice client or consumer proxy.

but my end user doesnot have that, and he wants just a IE link (http link) to invoke this function.

is it possible,

any inputs appriciated.

thanks in advance,

Madhu_1980

1 ACCEPTED SOLUTION
Read only

guillaume-hrc
Active Contributor
0 Likes
474

Hi,

Try to simply create an ICF service that would call the required FM.

http://help.sap.com/erp2005_ehp_04/helpdata/EN/71/1cd240cfd7742ae10000000a155106/frameset.htm

Best regards,

Guillaume

2 REPLIES 2
Read only

guillaume-hrc
Active Contributor
0 Likes
475

Hi,

Try to simply create an ICF service that would call the required FM.

http://help.sap.com/erp2005_ehp_04/helpdata/EN/71/1cd240cfd7742ae10000000a155106/frameset.htm

Best regards,

Guillaume

Read only

guillaume-hrc
Active Contributor
0 Likes
474

Hi,

Check this recent weblog: /people/michael.hardenbol/blog/2010/12/07/android-and-restful-web-service-instead-of-soap

Best regards,

Guillaume