This is a issue with SRM Contract transaction. There are certain error messages that are raised( SAY 'Enter a Vendor in the Header' ). When I debugged the Contract( Bus2000113) trasaction to find out where this message is raised, the function module BBP_PD_LOG_GET_MESSAGES is populating it based on 'Business Object' and 'Company' information. The function module is actually trying to retreive the logs, and when an exception( cx_sy_dyn_call_illegal_type ) is raised, it blindly takes the message from a message table.
Is there a way to find out where these messages are being updated into the log or the log stack?
Also please let me know what the below context means ?? This is the explanation given by the function module for raising the exception.
" In case if the type message table is not BBP_PDS_MESSAGES as expected (e.g. in auction) the cx_sy_dyn_call_illegal_type will be thrown. That is why we have at first fill our own table of the correct type and then append its content to the e_messages table. "