on 10-31-2007 1:28 PM
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.
--->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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Peter,
-->Of course, if you create an interface, you can generate a proxy, but not only from FM..
Here i agree..
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.