I am calling RFC CAMA_DEPENDENCY_MAINTAIN from an Excel VBA application. The RFC does not have a RETURN parameter, only EXCEPTIONS. The output of CAMA_DEPENDENCY_MAINTAIN.Exception in VBA is ERROR or WARNING which is of limited help. The same error in RFC test provides a Message ID, Message Number, and Message text. Ultimately, I'd like the message text which I can get with BAPI_MESSAGE_GETDETAIL if I extract the ID and Number.
Are there any suggestions for getting RFC Exception messages in VBA?