cancel
Showing results for 
Search instead for 
Did you mean: 

creating server proxy from FM

Former Member
0 Kudos

Hi all

I have a Function module ,I want to generate a server proxy from this FM.

How can i do it?Can anyone please help me?I don't want to use RFC Adapter.

thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

--->you can't generate a proxies from FM.

<b>Sorry Peter , I don't agree with you...</b>

Srinivas, Here is the trick for you..

Step 1. Import the RFC in XI.

Step 2. Export the XSD schema of both request and response structure of Function Module. ( <b>Go to Imported Function Module->Choose Tools->Export XSD both request as well as response</b> )

3. Now Import the XSD in External Definition objects .

4. Create Message Interface using the External Definition .

5. Use SPROXY at Application Server and generate proxy...

And here you go...::)

Regards,

Former Member
0 Kudos

Santosh,

I wrote: you can't generate proxies from FM, proxies are generated from interfaces.. Create the interface first..

Of course, if you create an interface, you can generate a proxy, but not only from FM..

Peter

Former Member
0 Kudos

Thanks santosh.

Answers (3)

Answers (3)

Former Member
0 Kudos

Peter,

-->Of course, if you create an interface, you can generate a proxy, but not only from FM..

Here i agree..

Regards,

Former Member
0 Kudos

Srinivas,

you can't generate a proxies from FM. Proxies are generated from interfaces.

So if you want to call your FM from XI via ABAP Proxies, create the interface on XI first, then generate the proxy classes (described answer above) and call the FM from this classes' method.

Peter

Former Member
0 Kudos

Hi

1) use SPROXY transaction,

2) choose your interface .

3) click right click on it , genrate proxy.

4) use here your FM Code there.

Thanks

sudhir sharma