cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic context in Web UI

Former Member
0 Kudos

Hi,

I have a client requirement wherein the columns of the search result vary depending on a particular value selected in the search shuffler. The client wants to add more options under search shuffler in future, and does not want to modify the code to incorporate this. They want a customizing table to maintain these fields for every option under the search shuffler.

To start with, I am trying to find a way to dynamically change the columns in the result list. For this, I found this link: http://wiki.sdn.sap.com/wiki/display/CRM/CRM+WebUI+--+Dynamic+table+type+Context+nodes

I have followed every step given in that document. However, as the context is dynamic, we cannot create any view configuration. This causes the exception "CONFIG_NOT_FOUND" (from CL_BSP_DLC_XML_STORAGE=>GET_CONFIG_DATA).

Is it possible to create a view configuration dynamically?

Or, is there any other way to implement the client's requirements?

Thanks,

Rohan.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member193352
Active Contributor
0 Kudos

Hi Rohan,

Yes it can be achieved through some BSP coding. Please refer to this thread for reference.

http://scn.sap.com/message/13224557#13224557

Thanks

Vishal

former_member183878
Active Participant
0 Kudos

Hi,

View configuration is static for Search Result,

you can't change dynamicaly,

one possibility can be done ,

create multiple view configuration ,

  1. create n number of UI Object Types.in SPRO  Customer Relationship Management->UI Framework->Define UI Object Types
  2. create n number of serach result view configuration.
  3. Redefine Method DO_CONFIG_DETERMINATION  of search result view impl class ,read context of search, put condition which change the view config.

Regard,

vijay.