on 04-12-2016 11:09 PM
Hi.
A client is asking to expose, via SAP PI, a web service developed in their ECC with tcode SE80.
I want to know what could be the best way to do it from the design perspective, I mean, how should the receiver side looks like if I did everything correctly.
I'm thinking on 2 options:
I read a lot of threads inside SCN but could find a definitive answer. I don't know, maybe my search criteria was not good enough.
I really appreciate your insights, links, tips, advices or anything you'd like to share on this topic.
Thanks.
Hello guys and thank you all for your replies.
I apologize for the late reply.
I'm replying to the post since I wanted to ask you all a few more questions.
In response to your own questions and doubts: I think the ECC services were developed with function modules and they are already exposed via SOAMANAGER. The whole idea is to avoid external calls directly to ECC, everything have to be through PI. I consider this is not about redesigning, just exposing some existing ECC web services via PI.
Here are my final questions:
1. Can you please refer me to some guide on proxy generation? I'm no expert on ABAP development.
2. Do I generate the proxy for the service interface referring the function module or for the function module itself?
3. If it's for the function module, does it refer the function module automatically after generation or do I have to code the referral? This is to decide if I'm going to need some help form ABAP side or not.
Thanks again. I look forward to read your replies.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Juan.
Guess the below links will address the you 3 queries.
Proxy to file scenario using AAE - with full configuration
Step-by-step FTP to ABAP Proxy - Process Integration - SCN Wiki
SAPTechnical.COM - ABAP Proxy Communication Scenario (Client Proxy)
Juan,
If the intent is to expose a SAP FM as a Webservice and this has to be mediated via PI, then this is what I would recommend,
2. Do I generate the proxy for the service interface referring the function module or for the function module itself?
Generate a Service Interface which uses the RFC Request and Response Structures as its input and output. You cannot generate a Proxy for a RFC directly.
3. If it's for the function module, does it refer the function module automatically after generation or do I have to code the referral? This is to decide if I'm going to need some help form ABAP side or not.
In the implementation logic, of the ABAP Proxy, you would just map the request data to the FM import data and vice versa.
Regards,
Bhavesh
- Generate a consumer Proxy in ECC for the web service and configure the scenario using the ABAP-Proxy Runtime. What I don't know in this case is what to use receiver side if its not an ESR object. What definition to set for the receiver service interface.
If the Webservice definition was not built using the Service Interface, then this is what you would need to do,
My challenge with this design approach though is :
The easiest approach is the Option 1 you have listed where PI makes the direct Webservice call but the better approach is Option 2 and what I have described. The final answer thought lies in terms of time and redesign effort
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Juan,
Regards,
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Juan
I agree with Praveen. I personally prefer using the proxy runtime compared to the Web Service Runtime (WSRT) in ECC.
Additionally, below are some further reading on approaches for web service development.
http://help.sap.com/saphelp_nw74/helpdata/en/60/00623c4f69b712e10000000a114084/frameset.htm
By the way, do you know how the web service was developed in ECC, i.e. is it an existing RFC exposed as a web service?
Regards
Eng Swee
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.