5

we are planning to integrate our Sales and Distribution module to SAP application. We need to store the Sales information in a SAP application.

we are migrating the existing data using Exchange Infrastructure/ BDC of SAP to load sales module existing data.

Now our challenge is how to continuously interact with SAP from JAVA to store and retrieve data from the sales module?

Is there any tools available to communicate with SAP from java.

Thanks,
Anil Kumar C

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Anil Kumar C
  • 1,604
  • 4
  • 22
  • 43

3 Answers3

6

you have multiple options:

I really recommend the webservices way.

5

I recommend you to use JCO library to call RFC functions in SAP, it's the easiest way to fetch and store data in SAP from a programmer's perspective.

Webservices in enabled from ECC5 version, every function module can be wapped as a Webservice interface. However, it's hard to map and parse structures or internal tables in SAP as wsdl file. When you get a error on calling Webservices from sap, you will spend a lot of time to find the root cause.

BenMorel
  • 34,448
  • 50
  • 182
  • 322
Adam
  • 66
  • 2
1

i know this question is really old, but maybe this might help someone out there so i post this.

i definetly recommend to have a look at Hibersap (http://hibersap.org/). it's an opensource library that let's you declare the SAP-Functions you'd like to call using plain Java Classes and Annotations and provides a clean API to actually call those Functions. it's quite well documented as well.

André R.
  • 1,627
  • 10
  • 14