on 09-14-2010 1:22 PM
Hi experts
I have a probwem with the standard CRM_IC component. am new to IC
When i click on the "inbox" link on the navigation bar, i get the below error
View AuiItems.htm Cannot Be Displayed
An exception has occurredException Class CX_SY_MOVE_CAST_ERROR
Text: Source type \CLASS=CL_CRM_IC_AUIITEMS_CN02 is not compatible, for the purposes of assignment, with target type \CLASS=ZCL_CRM_IC_AUIITEMS_CN02
Program: CL_BSP_PAGE_BASE==============CP
Include: CL_BSP_PAGE_BASE==============CM014
Source Text Row:
The search view is loaded propery ,but for items view i get the above error. How should i go about solving this issue.
Regards
Abishek
Abishek,
It looks like an error after enhancement of CL_CRM_IC_AUIITEMS_CN02. Check out if there is a ZCL_CRM_IC_AUIITEMS_CN02 and if so its super class. If it does exist, the super class shoul be CL_CRM_IC_AUIITEMS_CN02
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amar
I did check this out and the super class is correctly maintained as CL_CRM_IC_AUIITEMS_CN02 for ZCL_CRM_IC_AUIITEMS_CN02 .
Any other pointers?Where does this text message normally get populated??
Text: Source type \CLASS=CL_CRM_IC_AUIITEMS_CN02 is not compatible, for the purposes of assignment, with target type \CLASS=ZCL_CRM_IC_AUIITEMS_CN02
Thanks
Abishek
Hi,
Take a look at the method CREATE_CONTEXT_NODES of class ZL_CRM_IC_AUIITEMS_CTXT.
Do you see a code like this:
* create context node
model = owner->create_model(
class_name = 'CL_CRM_IC_AUIITEMS_CN02'
model_id = 'AuiItemTree' ).
or like this:
* create context node
model = owner->create_model(
class_name = 'ZL_CRM_IC_AUIITEMS_CN02'
model_id = 'AuiItemTree' ).
Also, check the table BSPWDV_EHSET_ASG if it has your client and enhancement name maintained.
Regards
Prasenjit
Amar,
The attributes are the same in quality and dev env and this issue happens only in dev.
Prasenjit,
Yes in the class ZL_CRM_IC_AUIITEMS_CTXT, method CREATE_CONTEXT_NODES i have the foll impl.
*create context node
model = owner->create_model(
class_name = 'ZL_CRM_IC_AUIITEMS_CN02'
model_id = 'AuiItemTree' ).
Please note this is CRM 5.0(IC). the class ZCL_CRM_IC_AUIITEMS_CN02 is for one for the page attributes in the "view layout" part of the component Z_WW_CRM_IC(Z comoponent)
But for inbox we use the standard component CRM_IC whose page attribute class is CL_CRM_IC_AUIITEMS_CN02 .i am not sure why ZCL_CRM_IC_AUIITEMS_CN02 thrown an error here as we use the standard component CRM_IC.
Thanks
Abishek
Well, In CRM 7, this is how we check - In SM34, View cluster BSPWDVC_CMP_EXT, first select the enhancement set. Then in Enhancement definitions for that set, you will find the components enhanced. The BSP applications for the enhanced views are seen besides it. check for our component there.
Hi All,
I have another doub. Is there a way(any transaction) which would show me the code(the place) where this exception gets thrown. ST22 did not have any entries
Maybe some other transaction can help. Using that atleast i will be able to find the piece of code where this exception is being thrown..
Thanks
Abishek
Hi Amar
Even this is not there.. me thinking whether there is an enhanement set concept at all in crm 5.0?
Between i was able to solve the problem through the old fashioned way of through debuggin .. saw that the page context was referring to the standard class and not to the Z class for this view which has thrown up this problem. Nee to set this right and i guess the problem will be solved.
Thanks guys for all your inputs..
Thanks
Abishek
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.