Some RFCs actually issue error messages without raising an exception. When calling such functions from VB it seems...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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 administration and NetWeaver administration
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.