Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Getting Error while calling XBP Function Module via SAP.net connector
Note that you need to execute function call in a single session so you have to wrap your logic into JCoContext. Try using below method:
try {
JCoContext.begin(destination);
try {
// your function calls here
// probably bapiTransactionCommit.execute(destination);
} catch(AbapException ex) {
// probably bapiTransactionRollback.execute(destination);
}
} catch(JCoException ex) {
[...]
} finally {
JCoContext.end(destination);
} Advertisements
