Quantcast
Channel: SCN : Document List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 189

How to load different configuration of same view via two different logical link in same business role

$
0
0

Goal of this blog is to document and understand loading of two configuration of same view using two logical links in web ui:

 

In this blog we are using standard and one custom configuration of complaint search view BT120S_CPL/AdvsearchComplEF

 

1. Create a copy of standard logical link search complaint (SRV-COM-SR) as ztest_link.

2. Create a copy of standard parameter class CL_CRM_UIU_BT_PARAM_CREATE and assign the same to above created logical link

    ztest_link and the to the standard logical link.

 

 

Capture11.PNG

 

3. Declare a static variable LV_FLAG in copied z class.

 

Capture12.PNG

 

4. Now put below code in CREATE_PARAMETER_OBJECT method of this class. Based on the value you get in IV_LINK_ID or IV_parameter you set variable LV_FLAG.

 


Capture14.PNG

 

5. Now you can load your custom configuration by redefining do_config_determination method depending on the value you get in static variable as mentioned in below code:

 

Capture15.PNG

 

6. Further you can manipulate field settings also in do_prepare_output method depending on this attribute. remember to clear this attribute once not required.

 

Thanks,

NS


Viewing all articles
Browse latest Browse all 189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>