on 03-28-2007 8:55 PM
The webdynpro/ABAP (WDA) has problem calling RFC enabled FM of other ECC systems.
WDA expects all the ABAPs, RFC FMs of remote system(DEV, QA..) to reside inside its own instance.
It is hard to transport and maintain these ABAPs FMs into a portal ABAP WDA instance.
Proxy generation at WDA client:
=======================
1. If we can make an XI enable an ABAP or RFC enabled FM of the remote ECC,
I think the XI proxy classes can be generated at the client WDA system.
Other options?
How do I do it? Can you give some tips.
2. How do I manually code the RFC Call to BAPI/FM from Webdynpro controller or other interface?
I am stuck with the above as the webservice option is not available at our ECC server. It does not have a java engine installed for webservice to be available.
Can you help on the above 2 options?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mike,
You can call the RFC FM using Web Services.
First Goto Transaction SE80 run BSP application WebserviceBrowser
select your function module and download your wsdl file.
now go to SE80 where your WDA is, and in your package Create Proxy Object
it asks for Local file give the wsdl file you downloaded from the first step.
It creates all the proxies, now you can use the class to call your Webservice.
For More Info on Consuming webservice refer:
http://help.sap.com/saphelp_nw04/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/frameset.htm
Regards
Abhimanyu L
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mike ,
<b><b> Answer of 2.</b></b>
How do I manually code the RFC Call to BAPI/FM from Webdynpro controller or other interface?
I am doing same thing for my current SRM implementation.I am taking data to SRM server from another R/3 server .
This is solution I have used
1) First of all I have made ABAP connection in SM59 .
Go to SM59 .In ABAP Connection creat ABAP connection with system with which u want communicate .
Eg I am connection with Systems PB1.
So i developed Connection call PB1CLNT800.
2) In my requirement I have taken data in my context from another r/3,
I have give called RFC in my supply function of node.
Call to RFC is as usual.
In my case,
CALL FUNCTION 'RFC_MATNR'
DESTINATION 'PB1CLNT800'
TABLES
IT_MATNR = IT_MATNR.
Onwards I have read my itab IT_MATNR and populated data to context.
Hope solution will serve your purpose.
Give point if it works .If any problem i have other ways.
Cheers
-
Parry B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mike.
Regarding point 1. I am not the WebService configuration expert but as far as I
know you also can generate web services for Abap FMs and the Abap stack
should be sufficent for this.
If you have your web service running it is easy to generate a proxy class in SE80
by using the URL of the WSDL file which easily can be used in you assistance
class to get data from remote systems.
Maybe you can find some answers on setting up web services on Abap stack
Cheers,
Sascha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mike.
Just have a look:
<a href="/people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices
and
<a href="/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
These are blogs by Thomas Jung. Maybe you can find helpful info there.
Cheers,
Sascha
2. How do I manually code the RFC Call to BAPI/FM from Webdynpro controller or other interface?
Put all of your coding inside of an assistance class and manually call your RFC and BAPIs using the DESTINATION keyword in side methods of your assistance class, then simply call these methods of the assistance class inside you web dynpro app.
Regards,
Rich Heilman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.