SAP CRM — WEB IC Create a new search view and result view

A pop up wizard will appear and you need to continue with the wizard. See the following screen shot for this.

search-result-23

in the next screen define the view area for our views. (Search view area and Result view area).

search-result-24

Now the view area is complete. Go head and finish this wizard. Once this is completed we need to go to Runtime Repository Editor and add this views to the view area. See the following screen shots.

search-result-25

Now add the searchviewadv to the SV view area and the resultview to the RV view area. See the following screen shot.

search-result-26

Now add this srviewset to the window. Right click on the window and select the Add view and add the srviewset view to this window.

search-result-27

click save and save all the changes that you did on this runtime repository.

Now save every thing and click on the Test button on the lefthand side of the component editor to run this component. you will get the following result.

search-result-28

OK Now you have a good feeling of you completed this screen and it is ready to execute. But wait you don’t have any trigger to execute the search result. So we need a Onclick event or a Button on this view or viewset to see the result.

I will write about that in the next post.

Here is the post for navigation between search and rewult view

https://techskills.files.wordpress.com/2009/05/search-result-281.jpgsap-crm-web-ic-search-view-and-result-view-navigation/

12 thoughts on “SAP CRM — WEB IC Create a new search view and result view

  1. Great post. Very much informative and useful.

    I would really appreciate if you could send to my e-mail an example of view navigation.

    Thanks
    Raj

  2. Hi,
    Its really very good blog…You are doing a great job…

    Could you please post some good examples on BOL programming……

  3. Hi,
    This is really a good blog explaining each and every step with screen shot, really appreciate your effort.
    Recently I did this example but I am getting following error:

    Cannot display view Z10345028/Search of UI Component Z10345028
    An exception has occurred Exception Class CX_SY_REF_IS_INITIAL – Dereferencing of the NULL reference
    BSP Application: Z10345028
    View Layout: Search.htm
    Method: CL_O24G6ISYMTO34P4BA6I1VLD1NNS=>_ONLAYOUT
    Source Text Row: 63

    I analysed the code and found that the TestSearch is initial and on calling TestSearch->get_param_struct_name( ), it is throwing exception in the SearchAdv.htm. Could you please guide me in this.

  4. Hi,

    I followed the procedure as given in the blog for creating the search view.
    But on click of configuration tab,it is giving the following error.
    An exception occurred in inbound plug IP_DEFAULT of target view BSP_DLC_CONF/AdvSearchConfig
    An exception has occurred Exception Class CX_SY_CREATE_OBJECT_ERROR – The object could not be created: The class does not exist.
    Method: CL_BSP_MODEL=>CREATE_STANDALONE_MODEL
    Source Text Row: 10
    Could you please help in resolving the error.

  5. Hello,
    Great Blog! I was just wondering that would it be possible for you to provide/guide me to some documentation about how to create a BOL object in CRM?
    The objects are already defined as BOR in ERP with webservices as well. Now the problem that I am running into is to how to create a BOL for it in CRM.
    ANy help/guide would be highly appreciated. This is kind of urgent.
    Regards,
    Excimp1

  6. Cannot display view Z10345028/Search of UI Component Z10345028
    An exception has occurred Exception Class CX_SY_REF_IS_INITIAL – Dereferencing of the NULL reference
    BSP Application: Z10345028
    View Layout: Search.htm
    Method: CL_O24G6ISYMTO34P4BA6I1VLD1NNS=>_ONLAYOUT
    Source Text Row: 63

    I analysed the code and found that the TestSearch is initial and on calling TestSearch->get_param_struct_name( ), it is throwing exception in the SearchAdv.htm. Could you please guide me in this.

  7. Hi,
    This is really a good blog explaining each and every step with screen shot, really appreciate your effort.
    Recently I did this example but I am getting following error:

    Cannot display view Z10345028/Search of UI Component Z10345028
    An exception has occurred Exception Class CX_SY_REF_IS_INITIAL – Dereferencing of the NULL reference
    BSP Application: Z10345028
    View Layout: Search.htm
    Method: CL_O24G6ISYMTO34P4BA6I1VLD1NNS=>_ONLAYOUT
    Source Text Row: 63

    I analysed the code and found that the TestSearch is initial and on calling TestSearch->get_param_struct_name( ), it is throwing exception in the SearchAdv.htm. Could you please guide me in this.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s