Showing results for 
Search instead for 
Did you mean: 


Former Member
0 Kudos

Dear .Net Connector experts,

We are in the process of writing an external .NET application which accepts IDOCS from our R/3 system using the .NET Connector.

The application design calls for storing the received IDOC data in the MS SQL database prior to confirmation of successful receipt to R/3.

We have not been able to throw an exception in case our SQL storage fails. (in other words, the IDOC was NOT received successfully)

In a reply to an OSS note we received the following suggestion:

"If you need TRFC transaction support, you should not use the SAPIDocReceiver class directly, but instead inherit your own class from it. "

"SAPIDocReceiver itself inherits from SAPServer that

has all the protected virtual members "CheckTransaction",

"CommitTransaction", "ConfirmTransaction", and "RollbackTransaction"."

"Overriding these functions will give you full control on

transaction management. The default implementation in SAPServer class always report success."

Has anyone done this before?

If so, could you send an example of this code to

Thanks in advance,


Ivo Robbrecht</i>

SAP Development Leader

Southwestern/Great American Inc

Nashville, TN<b></b>

Accepted Solutions (0)

Answers (1)

Answers (1)

Active Contributor
0 Kudos

Did the samples not help that I have sent you as attachment in the OSS ticket?

Former Member
0 Kudos

Apparently our .Net developer needs a more specific example. He is new to SAP.

We opened a remote consulting note, and received a response that this can not be done.

Reiner, send me your email address, and I'll provide more detail on the response received.


Active Contributor
0 Kudos

Can you please reopen the CSN Remote Consulting ticket and write a short note to it that the colleges hand it over directly to me? My name should be sufficient for the colleges to find me.