Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Apr 15, 2004 at 06:36 PM

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.