Q

RFC error message without raising exception

Some RFCs actually issue error messages without raising an exception. When calling such functions from VB it seems as though the connection is broken when the error message is issued. Consequently, we cannot check the error message via the connection object.

In ABAP we can cater for this type of issue by coding an additional exception "ERROR_MESSAGE" which will allow for trapping the message. How can we deal with such RFC calls from VB? One such RFC is L_TO_CREATE_MULTIPLE.


In theory, RFMs should not do this. L_TO_CREATE_MULTIPLE, on the other hand, is not released for customer use officially. Please report this behavior to SAP as a bug, but since the RFM is not released, they may tell you that they are not going to fix it. Worth a try, anyhow...


Dig Deeper on SAP Basis

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchHRSoftware

Close