on 06-17-2015 5:28 PM
Hello guys and girls
I want to use standard ALE scenario, which uses standard BAPIs, between two SAP systems.
Usually I should use RFC connection but this is forbidden by our security department
We envisage the following scenario :
SAP system A --> Web service system A --> Web service system B --> SAP system B
Connection between SAP and Web service will be thru RFC (authorised this one), and in HTTPS between both web service systems.
The idea is to convert the BAPI RFC call into web service by the web service system A and from web service to RFC call by the WS system B.
So in theory it is transparent for SAP systems because SAP A still send RFC call and SAP B still receive RFC call.
But I think that it could be hard work to transform BAPI RFC call into WS by the WS system.
So I have seen that we can transform BAPI into WS "easily" in SAP (we are in ECC6 EHP5 - NW 702). But I do not know if it could help us
Can you give me some recommendation for my scenario ?
Could it be helpful to transform BAPI into webservice ? Can an ALE scenario call WS instead of BAPIs ?
Thanks in advance for your help
Best regards,
Christophe.
Hi E-Travel,
First of all, i think you don't have a PI isn'it?
If you don't have PI the best way is to use the ECC webservice runtime. Yes, you can transform easily a BAPI in webservice or to do a webservice proxy to call an external webservice. This technology is better than use IDOC or RFC because you are using an standard to communicate, and for third party platforms will be easiest to develop and maintain.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes we don't have a PI.
Using the ECC webservice runtime means to make the configuration thru transaction SOAMANAGER ? We have no experience on this but will be happy to learn something new
We will have one central SAP system A which will need to discuss to several SAP system B.
Each time we will need the same calls.
One scenario is the following (Posting Travel expenses from System A to Finance system B) :
On a standard way, by using ALE / RFC, System A call BAPI via RFC to system B which send back the answer (e.g. Search for the vendor code for one employee ID).
What would be the scenario thru WS ?
Yes I did the necessary in SICF and can run SOAMANAGER.
But it's completely new for me and I'm trying to understand how it work and how it should be setup with the on-line help.
Hi E-Travel,
You can find step by step documents/blogs:
Create a Web Service in 10 Minutes | SAP Ignite
How to configure a Service Consumer - ABAP Connectivity - SCN Wiki
Regards.
Thanks, this is very helpfull
So now I see that we can easily transform any function module (BAPI) into WS.
What I did not get yet is how I will call this WS in my System A (consumer) ?
Today we are using standard transaction (e.g PRFI / PRRW) which call remotely thru RFC the BAPIs that I want to transform into WS.
But should I change the standard program to call WS instead of BAPI thru RFC ?
Hi E-travel,
What I did not get yet is how I will call this WS in my System A (consumer) ?
You only need to create an enterprise service with a wizard in ABAP and later with SOAMANAGER to set then endpoint or the endpoints associating each one with a logical port. When you create a enterprise service you are creating the structure to be called via URL or via WSDL file. May be this how-to will be more self-explanatory Consuming a Web Service in ABAP | SAP Ignite
But should I change the standard program to call WS instead of BAPI thru RFC ?
I think you are talking about standard BAPI, you have to create an extra Z ABAP code with the proxy call. There are several ways to add Z code in standard ABAP code, in the ABAP forum they will can to give you better advices about this theme.
Regards,
OK I see now.
But I'm not in favour of modifying standard program when you can avoid (even with exit)
We are creating a "gaz factory" due to security constraints where it should have taken me half a day to configure everything thru standard RFC scenario
And I'm not talking about the cost ...
Anyway, thanks a lot for your help
Cheers
Christophe
Hi,
Does anyone have some tips for me ?
Thanks in advance.
Christophe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes, web service systems are others systems then SAP (TIBCO).
SAP A and SAP B are on two different networks and cannot dialog directly. Security forces us to go thru webservice servers.
But we can envisage to transform RFC call into webservice on the SAP systems and then only use webservice servers as "transport layers"
regards,
Christophe
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.