Skip to Content
avatar image
Former Member

calling BAPIs from Java

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Apr 15, 2004 at 06:36 PM

    Is the RFC Connection closed between the call of BAPI_PATIENT_CREATE and BAPI_TRANSACTION_COMMIT?

    Add comment
    10|10000 characters needed characters exceeded