Skip to Content
author's profile photo Former Member
Former Member

statefull session between JAVA and SAP

Hi all,

i want to build a statefull session between a JAVA-Application and a SAP WebAs 6.2.

I heard, it's not possible with RFMs, but with Business Objects, but I still didn't find a way to instantiate a BO by the JAVA Application.

I only have access to the BAPIs, but how can I influence the behavior of the BO by the BAPIs.

Does anybody have information about this?

Kind regards,

Christian Lorenz

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Apr 07, 2004 at 09:23 PM

    What do you mean exactly with statefull in your case?

    With the JCo you can "only" call RFC enabled function modules. BAPIs are only a special kind of function modules where SAP has prommised, that the interface would not be changed between releases.

    When you connect with JCo to SAP and call for example the BAPI BAPI_SALESORDER_CREATEFROMDAT2 you have to call also BAPI_TRANSACTION_COMMIT to commit the creation of the salesorder to the database. As long as you do not disconnect for SAP this is the same session.

    Regards

    Gregor

    Add comment
    10|10000 characters needed characters exceeded