10-21-2006 3:50 PM
Dear all,
I am very new to ALE. I know all the concepts. But i got one doubt. I am having one requirement, we are using ECC 6.0 system. client having a Java application, there they will create POs. We need to capture that data in SAP. Which way is best one?? Whether Java supports BAPIs, if we go for ALE, do we need any middle ware??
Please provide the details ASAP.
Thanks in Advance,
Chandra.
10-22-2006 3:24 AM
Hi,
Since the source is a custom application, the suggested method would be using a BAPI. ALE is best when two SAP applications are talking...otherwise, mapping the idoc structure with data would be mean a lot of effort on the Java development(positions would be hard-coded etc.)
Many corporates don't allow all applications to link directly to their SAP boxes, in such cases, all connections need to be routed thro' a middleware. Otherwise, yes a java application can call a BAPI on SAP.
Regards
10-22-2006 3:24 AM
Hi,
Since the source is a custom application, the suggested method would be using a BAPI. ALE is best when two SAP applications are talking...otherwise, mapping the idoc structure with data would be mean a lot of effort on the Java development(positions would be hard-coded etc.)
Many corporates don't allow all applications to link directly to their SAP boxes, in such cases, all connections need to be routed thro' a middleware. Otherwise, yes a java application can call a BAPI on SAP.
Regards
10-22-2006 8:48 AM
Hi Chandra,
There is a piece of middleware that is well know by Java programmes: the SAP Java Connector (JCo).
With JCo, Java is able to communicate with SAP :
- synchronously / asynchronously
- simple connections / pool of connections
Besides, you can either call RFC Function Modules (including BAPIs) or send Idocs (thus, ALE) to SAP.
The last choice depends greatly on your requirements. Usually, when you have to be synchronous, you go for BAPI. With IDocs, it is far easier to re-process things when they have gone wrong...
Best regards,
Guillaume
10-24-2006 10:32 PM
On either case you will need a Java connector. For more information look at:
<a href="http://service.sap.com/connectors">External Connectors</a>.Read the overview for Java connector.
One you have established the connection, you can call BAPIs directly from your JAVA application.
If you need further info let me know..
10-25-2006 10:40 AM
Hi Chandra,
As per my analysis of your requirement BAPI would suite best, if you go with ALE, u need to use external connectors and they may not be synchronous with your applications, whenever you are trying to use external applications BAPI will be very much suitable.
Regards:-
Santosh.D