cancel
Showing results for 
Search instead for 
Did you mean: 

Share a sapconnection between two physical servers

xuehong_gan
Member
0 Kudos

I need to call two BAPIs in a single sap connection: BAPI BAPI_PO_CREATE1 and BAPI_TRANSACTION_COMMIT. I am using .Net Connector. It works fine if I call them from a single physical machine.

Now I need to call BAPI BAPI_PO_CREATE1 on a machine and call BAPI_TRANSACTION_COMMIT on another machine. How can i make the second machine to use the same connection of the first machine? Does the .Net Connector support any mechanism (such as cluster etc) for this? Is it impossible?

Thanks,

Gan

Accepted Solutions (0)

Answers (1)

Answers (1)

reiner_hille-doering
Active Contributor
0 Kudos

This is not possible, but it also doesn't make a lot of sense: You would allways want to close a transaction on the machine where you opened it.

BTW: You should not add BAPI_TRANSACTION_COMMIT to your proxy but instead use the built-in proxy.CommitWork().