cancel
Showing results for 
Search instead for 
Did you mean: 

Reuse a view in f4help.........

former_member203215
Participant
0 Kudos

I've one component Z63_TEMP

in this i have 2 views : VIEW1 AND VIEW2.

in view 2 i have an attribute : ENO..

For Eno attribute i want to reuse VIEW1 as search help or f4 help window... but i want to add v1 to component interface only mainwindow is added...

view1 is not adding to component interface...

I tried with main window.. but in the runtime I GEtting error like this..................

Calling the BSP page was terminated due to an error.

SAP Note
  • The following error text was processed in the system:
    Window 'VIEW1' is not defined in the component 'Z63_TEMP'
Exception ClassCX_BSP_WD_INCORRECT_IMPLEMENT
Error Name
ProgramCL_BSP_WD_COMPONENT_USAGE=====CP
IncludeCL_BSP_WD_COMPONENT_USAGE=====CM004
ABAP ClassCL_BSP_WD_COMPONENT_USAGE
MethodGET_INTERFACE_VIEW_CONTR
Line28
Long text-

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ravi

At a time a Single View ( whether it is view , viewset or overview ) will be as default for a window. If we want to place a view as popup ( ie., search help ) we should add that view to the interface view and then to component usage ( this is mandatory )

--> but already you are using VIEW2 for main window and in this VIEW2 is default view , so whenever you go for adding it to component usage VIEW1 will not be added.

--> Create another window ( WINDOW2 ) and add VIEW1 to the WINDOW2 . And add it to the Component interface and then to Component usage.

Now you can write your code accordingly to display your view as Search help

Hope this will be helpful

Regards

Dinesh Gurram

Answers (0)