Hi
Could anyone help out with the following:-
I 'inherited' a customer's Web IC implementation to support recently. The system hasn't been properly documented, I'm new to Web IC and they've just applied support packages to the system which has caused some problems.
The specific issue is as follows:-
I search for, identify and confirm a business partner.
I call up view IHistResult (via Interaction History from the NavBar) - this was copied from the standard CRM_IC application and has a Z controller associated with it. There is an XML controller replacement in place to call this view.
When the view is called, I get a syntax error - CX_SY_MOVE_CAST_ERROR. The cast that occurs is from a variable referencing CL_BSP_CONTROLLER to my Z class - which does have a relationship to CL_BSP_CONTROLLER through super classes.
If I make the controller class the SAP standard class (CL_CRM_IC_IHISTRESULT_IMPL) then everything is fine. I created a new, clean Z class with CL_CRM_IC_IHISTRESULT_IMPL as the super class, no redefinitions, no changes and assigned this to the view. Then I get the syntax error in the view.
I don't see what the problem with casting to my Z class can be - it's a subclass of CL_CRM_IC_IHISTRESULT_IMPL with absolutely no changes.
If anyone could suggest any ideas or solutions I'd be grateful.
Thanks
Ben