cancel
Showing results for 
Search instead for 
Did you mean: 

statefull session between JAVA and SAP

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

gregorw
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thank you, this is the information i need!