I'm using CRM 2007. When I try to "create" documents (programs, marketing plans, campaigns, etc) the following error appears:
Business Server Page (BSP) Error.
Exception Class: CX_SY_MESSAGE_IN_PLUGIN_MODE
I have searched in SDN and have found some similar errors, but doesn't seem to work with this issue.
You assistance is appreciated.
Please do the following steps.
You can place breakpoint in the mentioned FM CRM_GAP_HEADER_SELECT_CB from which the
exception is raised and debug. This will help you to identify what exactly is happening.
This exception is raised when there is an exception raised inside the application which is not caught.
Here it would be that the exception is raised when it adds the following message in the above FM
MESSAGE e001(crm_gap_cb) WITH iv_process_type RAISING entry_not_found.
What you can do is put this statement in a try catch block as below.
TRY. MESSAGE e001(crm_gap_cb) WITH iv_process_type RAISING entry_not_found. CATCH cx_sy_message_in_plugin_mode. ENDTRY.
Thanks for the answer. I don't want to add any code, cause this is a standar functionality. When I use grantor's role, I don't know why but I can't create programs or campaigns (as an example).
I think that the issue is related to roles or authorization objects.
Thanks in advance,
You could be right. I would suggest you to put a breakpoint in the FM CRM_GAP_HEADER_SELECT_CB and debug.
This will help you to identify the exact place at which the exception is thrown and thereby analyze what exactly is
happening. Can you update me this analysis.