Skip to Content
author's profile photo Former Member
Former Member

Repository View Error....

Hello All,

I created a small Search application on Business Partner. First created a GenIL Model with search functionality. And then created a BSP Component from SE80 transaction. Created Views and Controllers: "Main", "Search" and "Result". And implemented DO_HANDLE_EVENT in controller "search.do" (super class: CL_BSP_WD_ADVSEARCH_CONTROLLER). So far this application is working perfectly till this method. But failing in the method IF_BSP_CONTROLLER~HANDLE_EVENT at the following code while trying the value for global_event.

global_event = super->if_bsp_controller~handle_event( event = event
htmlb_event = htmlb_event
htmlb_event_ex = htmlb_event_ex
global_messages = global_messages ).

* fill global event parameter if event belongs to me
IF lv_event_component = 0.
global_event = me->rep_view->get_name( ).
CONCATENATE global_event htmlb_event_ex->event_server_name INTO global_event SEPARATED BY '.'.
ENDIF.

What I observed is that REP_VIEW attribute(has PROTECTED visibility) has no value.I have initiated the Controller of Search.do in the DO_INIT method of main controller, and I see that REP_VIEW attribute is not populated with any value.

I have a very fundamental question 😊 What is a Repository View? And how can instantiate it from the Search Controller?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Apr 23, 2012 at 04:49 AM

    It is the error in Repository.xml I thought..

    can u post the Image of that error.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2012 at 11:16 PM

    If you are creating CRM WEB UI components you should be using the component workbench BSP_Wd_cmpwb not se80

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 24, 2012 at 01:45 PM

    DO One thing,

    Recreate Component in BSP_WD_CMPWB . dont use SE80.So try working on this and let me know the problem wher ur getting

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.