Skip to Content
0
Former Member
Apr 15, 2004 at 06:06 AM

calling BAPIs from Java

154 Views

Hi all,

I just started developing an application that allows patient search (BAPI_PATIENT_SEARCH) and patient creation (BAPI_PATIENT_CREATE) via Java. The search works pretty fine, and the patient creation also, as I always get a new patient id back from SAP. BUT, the patient is never stored in the database. I call BAPI_TRANSACTION_COMMIT (where I set WAIT to X) immediately after the patient creation, but the patients are never visible in SAP?!

Anyone any idea what I am missing?!

By the way - the classes to access the BAPIs have been created by a tool called eclipsesap2java (from SourceForgeNet) - and they look really fine. Is there any other source for generators that build Java classes corresponding to SAP BAPIs?!

Thanks in advance

Bernhard Böhm