cancel
Showing results for 
Search instead for 
Did you mean: 

The webdynpro/ABAP (WDA) calling RFC enabled FM of other ECC systems

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Thanks

abhimanyu_lagishetti7
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Sascha,

Sorry, I could find much information on webservices generation with ONLY ABAP stack.

Can you please elaborate or help me get few links?

I went through the services forum. Perhaps, I missed some links.

Can you help please?

Former Member
0 Kudos

Sascha,

Sorry, I could find much information on webservices generation with ONLY ABAP stack.

Can you please elaborate or help me get few links?

I went through the services forum. Perhaps, I missed some links.

Can you help please?

Former Member
0 Kudos

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

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

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