cancel
Showing results for 
Search instead for 
Did you mean: 

Added new Z-view to standard component => CX_BSP_WD_INCORRECT_IMPLEMENT

former_member110533
Participant
0 Kudos

Hello,

we have enhanced a standard component.

Afterwards we added a new view to that component.

This results in an error (as shown at the end).

Here the done steps:

1.) Open UI Component Workbench

2.) Open component SRQM_INCIDENT_H with my Z enhancement set

3.) Goto Component Structure Browser

4.) Right-click on Views -> Create

5.) View Create Wizard opens

6.) Defined a name

7.) Added Model Node BTAdminH

8.) Added no Value Node

9.) Added no Model Attributes

10.) Added no Value Attributes

11.) Create no context node binding to Custom Controller

12.) Defined view as configurable Form View

13.) View create Wizard completed

14.) New view is visible in enhanced standard component SRQM_INCIDENT_H as ZSRQM_INCIDENTHmyZview (as expected added to my Z-BSP)

15.) Goto Runtime Repository Editor

16.) Open the View Area of the Incident Overview

17.) Right-click -> Add View

18.) Choose my Z-BSP application ZSRQM_INCIDENTH (as the storage of my enhancements of the standard component)

19.) Choose myZview

20.) Switch ID is empty / Switch reaction = Display

21.) View added to View Area ->Save

22.) Goto WebUi Incident Management (Interaction center)

23.) Configuration -> myZView is available for adding as Assignment Block

24.) Add -> Save & Close

25.) Navigation to the new view results in error:

Exception Class CX_BSP_WD_INCORRECT_IMPLEMENT - There is no controller 'ZSRQM_INCIDENTH/ myZview' in BSP application 'srqm_incident_h'.

Method: CL_BSP_WD_OVW_VIEWSET=>BIND_LAZY

Source Text Row: 26

The error message is right: there is no myZview.do Controller in standard component 'srqm_incident_hu2019; it´s in my Zcomponent (enhancement for standard component).

But why the application is only checking the standard component and not the content of the enhancement?

How can we avoid that error?

Please also correct me if I missed sth.

Thanks in advance,

André

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member110533
Participant
0 Kudos

Have debugged it.

The View was not added to RP_VIEWLIST in method BIND_LAZY of CL_BSP_WD_OVW_VIEWSET.

Don´t know why...

The view has been added to the view area before.

Anyway..... I deleted all my work and did it again. Step by step the same way.

Now it works!

Former Member
0 Kudos

Hello,

Maintaining the BSPWD_EHSET_ASGN table (Client <-> Enhancement Set assignment) will solve this issue.

Regards,

Gabor

amal_aravind123
Explorer
0 Kudos

Thanks Gabor!

You are a life saviour!