Skip to Content
0

How to report failures from RfcServerFunction methods?

Nov 03, 2016 at 04:45 PM

60

avatar image
Former Member

I'm using a plain local Rfc Server function for receiving idocs, however there does not appear to be a way to report back to the sender that the receipt failed.

   [RfcServerFunction(Name = "IDOC_INBOUND_ASYNCHRONOUS")]
public void ReceiveInboundIdocAsync(RfcServerContext context, IRfcFunction function)
{  

     throw new Exception("SM59 still reports status 3 for this idoc");

}

There is still no NCO tag available, so I am picking the closest thing - will that ever be fixed?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers