- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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); }
- Related Articles
- Values are not readable while calling RFC method in .net via SAP.NET Connector 2.0
- Upgrading SAP.NET Connector 1.0 to .NET Connector 3.0
- Error while calling Web Service using SRT_UTIL Transaction
- Getting error while extracting data from SAP
- Calling external programs using SAP connector
- Getting error message while using SAP Scripting Tool
- Getting memory error while doing UNION in SAP HANA
- Getting error while using schema in SAP HANA Modeling
- Downloading SAP.NET connector to integrate .NET application with SAP system
- While using SAP .NET connector, I am an getting error: Could not load file or assembly 'sapnco' or one of its dependencies.
- Getting error while running SAP oData service “HTTP Open failed: PLUGIN_NOT_ACTIVE”
- Writing a material on SAP system via .NET Connector
- Send an Idoc using SAP.net connector 3.0 from a non-SAP system
- Calling an ABAP Function Module using Python script to put data in SAP HANA
- Connecting SAP system from C# application via .NET Connector 3.0

Advertisements