Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

CRM Web UI - Get displayed columns of search result list

Dear community,

I would like to change a field value in a specific field of a search result depending on the columns that are displayed to the user. This is a requirement in order anonymize names and Ticket IDs in some sensitive reports.

My idea is: Whenever the user triggers search in Web UI and displays the sensitive field, the getter should check if the user currently has the column "Current Processor" and "ID" displayed. If this is the case, the getter returns the value "Not allowed" or something similar.

Is this possible in CRM Web UI?

Thanks a lot!

Former Member replied

Hi Axel,

you can access the xml configuration of the displayed columns in the method DO_PERPARE_OUTPUT of the implementation class of your search result view as follows:

  DATA: lv_xml TYPE bsp_dlc_xml.
  IF me->configuration_descr IS BOUND.
    lv_xml = me->configuration_descr->get_config_data( ).

Then you could change the search result by changing the collection of STYPED_CONTEXT->SEARCHRESULT.

Best Regards,


0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question