cancel
Showing results for 
Search instead for 
Did you mean: 

Web dynpro and Web Services

Former Member
0 Kudos

Hi all,

I want to create a Web Service, that calls a BAPI or RFC similar to the "Webdynpro components".

Can someone tell me a way to create this Web Service?

Or have I to do this manually over a EJB?

Regards

Olli

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Oliver,

in addition to that, what Helmut said:

If your ABAP backend is WAS >= 6.20, all remote enabled function modules (including BAPIs, since they are a "special kind" of RFMs) are also accessible as Web Services.

Hope that helps.

Regards

Stefan

Former Member
0 Kudos

Hi Stafan and Helmut,

thanks for the quick response.

Stefan,

The BAPIs are natively accessible as Web Service?

Thats new to me. How do you call them and how to generate the WSDL?`

Thanks in advance,

Olli

Former Member
0 Kudos

Hi Olli,

it's possible to generate Web Services from RFMs. Please have a look at the following doc: http://help.sap.com/saphelp_nw04/helpdata/en/0d/2eac5a56d7e345853fe9c935954ff1/frameset.htm

Having done so and after WSDL generation and publishing (documentation how to do this is also available), it's possible to import the published WSDL source as a Web Dynpro Web Services model (via UDDI or URL).

Hope that helps.

Regards

Stefan

Former Member
0 Kudos

Hi Stefan,

do you know from which version on the WebService-CreationWizard is available in the ObjectNavigator?

Regards

Michael

Former Member
0 Kudos

Hi Michael,

not for sure, sorry. Maybe it's a good idea to ask the ABAP cracks in their forum.

Regards

Stefan

htammen
Active Contributor
0 Kudos

Hi Oliver,

1. I´ve done this via an EJB that uses JCO to connect to the R/3 System.

2. You can use the Adaptive RFC Model within your Web Dynpro if you don´t have the need to use a Web Service.

The first way is more flexible (e.g. you can replace RFC through a database for testing purposes) and gives you the possibility to create a Web Service.

The second way is more convenient.

Regards

Helmut