Skip to Content
Former Member
Aug 07, 2013 at 07:59 PM

Help with SAP JCo usage


Hi people,

I'm new in this community and I'm asking here this after weeks of investigation on the web. I've found some articles that allowed me to understand some of the basics principles of working with SAP and using the SAP Java Connector library, but I've not reached full understanding of some functions, methods, classes, etc.

This is the situation:

I've to develop a Java App that could run as a Windows Service (already solved this with Java Service Wrapper), and act as a Middleware between SAP and an Access Control System (ACS).
This app should:

  • Get the absenteeism stored in SAP (Justified Absenteeism or Disciplinarian Measure) and send it to the ACS in order to block employee Clock In register in that cases.
  • Get the Clock In and Clock Out data from the ACS and send it to SAP.

I have doubts about using a BAPI or an IDOC for the first item.
I know I have to use a BAPI for the second one, but I don't know how to create the Business Specific Object and passing it as a parameter to the BAPI.

Could you guide me to achieve these functionalities?

Thanks a lot!

P.S: Sorry for the mistakes but English is not my native language...