cancel
Showing results for 
Search instead for 
Did you mean: 

ZL_BT115H_S_DETAILS_CN00 does not exists after EEWB enhancements

Former Member
0 Kudos

Hi Gurus,

I have enhanced the component view BT115H_SLSO/details initially, after some days, I have added two Zfields to BTADMINH using EEWB. while opening the Context node BTADMINH in the view BT115H_SLSO, the following error message is being displayed: Object type ZL_BT115H_S_DETAILS_CN00 does not exist.

while opening the link to create the sales order in Web UI, the following Exceptions occured:

CX_SY_CREATE_OBJECT_ERROR - The object could not be created: The class ZL_BT115H_S_DETAILS_CN00 does not exist.

Method: CL_BSP_MODEL=>CREATE

Source Text Row: 12

Initialization of view BT115H_SLSO/Details failed

An exception has occurred Exception Class CX_SY_CREATE_OBJECT_ERROR - The object could not be created: The class ZL_BT115H_S_DETAILS_CN00 does not exist.

Method: CL_BSP_MODEL=>CREATE

Source Text Row: 12

Cannot display view BT115H_SLSO/DetailsVS

An exception has occurred Exception Class CX_SY_CREATE_OBJECT_ERROR - The object could not be created: The class ZL_BT115H_S_DETAILS_CN00 does not exist.

Method: CL_BSP_MODEL=>CREATE

Source Text Row: 12

Initialization of view BT115H_SLSO/DetailsVS failed

An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/Details could not be bound

Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW

Source Text Row: 162

Cannot display view BT115H_SLSO/SOHOverView

An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/Details could not be bound

Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW

Source Text Row: 162

Cannot display window MainWindow.

An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/DetailsVS could not be bound

Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW

Source Text Row: 162

Any idea of why this exception is occured.

Did anyone faced the same issue? if yes,please share me the solution.

Thanks and Regards,

S Reddy

Accepted Solutions (1)

Accepted Solutions (1)

suchita_phulkar
Active Contributor
0 Kudos

Hi,

Did you enhance the context node BTADMINH ?

When enhanced, the system creates a Z class . The error you are getting is because somebody might have deleted the Z class...go to SE24 and see if the class ZL_BT115H_S_DETAILS_CN00 exists ?

If the class exists, then to remove the error you have to enter this class at following places :

1) in context class ( the one that ends with CTXT) there will be a methid CREATE_BTADMINH ,

lr_model = owner->create_model( class_name = 'ZL_BT115H_S_DETAILS_CN00'

model_id = 'BTAdminH' ). type the exact name of the context node as you see in the component workbench BTADMINH , ADMINH, or BTAdminH etc..

2) go to Page Attributes of the .htm file of the view

and give the Z-class name for BtadminH.

Regards,

Suchita

Former Member
0 Kudos

Hi Suchita,

Thanks for your quick response.

Actually we have not done any enhancements to the BTADMINH context node. we have enhaced the CRMD_ORDERADM_H table using the EEWB fields. After this I have checked the component BT115H_SLSO/view to provide the value help for the fields, the Zclass was automatically assinged to the Context and Page attribute remained same for BTADMINH.

I have checked in the SE24, the class does not exists. I have created a copy of CL_BT115H_S_DETAILS_CN00 as ZL_BT115H_S_DETAILS_CN00 and assigned to BTADMINH and Page attributes of the same view. After I have opened the Web UI, the following exceptions are occured:

Context generation failed in view BT115H_SLSO/Details

An exception has occurred Exception Class CX_SY_MOVE_CAST_ERROR - Source type \CLASS=ZL_BT115H_S_DETAILS_CN00 is not compatible, for the purposes of assignment, with target type \CLASS=CL_BT115H_S_DETAILS_CN00

Method: ZL_BT115H_S_DETAILS_CTXT=>CREATE_BTADMINH

Source Text Row: 13

Initialization of view BT115H_SLSO/Details failed

An exception has occurred Exception Class CX_SY_MOVE_CAST_ERROR - Source type \CLASS=ZL_BT115H_S_DETAILS_CN00 is not compatible, for the purposes of assignment, with target type \CLASS=CL_BT115H_S_DETAILS_CN00

Method: ZL_BT115H_S_DETAILS_CTXT=>CREATE_BTADMINH

Source Text Row: 13

Cannot display view BT115H_SLSO/DetailsVS

An exception has occurred Exception Class CX_SY_MOVE_CAST_ERROR - Source type \CLASS=ZL_BT115H_S_DETAILS_CN00 is not compatible, for the purposes of assignment, with target type \CLASS=CL_BT115H_S_DETAILS_CN00

Method: ZL_BT115H_S_DETAILS_CTXT=>CREATE_BTADMINH

Source Text Row: 13

Initialization of view BT115H_SLSO/DetailsVS failed

An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/Details could not be bound

Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW

Source Text Row: 162

Cannot display view BT115H_SLSO/SOHOverView

An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/Details could not be bound

Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW

Source Text Row: 162

Cannot display window MainWindow.

An exception has occurred Exception Class CX_BSP_WD_RUNTIME_ERROR - View BT115H_SLSO/DetailsVS could not be bound

Method: CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW

Source Text Row: 162

Thanks and Regards,

S Reddy

Former Member
0 Kudos

Hi Suchita,

Issue is solved!. Thanks a lot Suchita.

I have changed the super class for the ZL_BT115H_S_DETAILS_CN00 to CL_BT115H_S_DETAILS_CN00, after copying it was CL_CRM_UIU_BTADMINH_CN. Now the error is not replicated.

You have any Idea why this Context node generation failed after EEWB enhancements? please share your ideas.

Thanks and Regards,

S Reddy

Answers (0)