Wednesday, 2 October 2013

FAQs on SAP CRM Web UI

Q1) What is the Model node and Value node?

Ans) Model node refers to BOL object(which is a GenIL Object), where as  Value node refers to DDIC.

Q2) What is the difference between Custom Controller and Component Controller?

Ans) Technically both Custom Controller and Component Controller are the same, but distinquised based on the role that they have to perform.
 The Role of Component controller to expose or import data from outside world(i.e. external UI Component) through Component interface and Component Usages.

 Where as the role of custom controller is to globalize the data between views/windows of that respective component.So that views can share the data between them.

Q3) Is the BOL and GenIL are the same?

Ans) No, both are different but they have single purpose to work with business data.

Q4) How to change the view fields each time when a drop down value is selected?

Ans) One of the way is to use DO_CONFIG_DETERMINATION( ).

Q5) What is global custom controller?

Ans)  Global custom controllers and basically you can instantiate any custom controller as a global one by adding the prefix GLOBAL. to the name of your custom controller. There is a difference in teh lifetime and visibility of global and ordinary custom controllers, e.g. you can access data of a global custom controller within a used component, since you will retrieve the same global instance by the get_custom_controller method call.  On the other hand you need to take care to destroy the global custom controller to avoid any memory leakage since it might not get released as ordinary custom controllers.

Q6) What is Context binding? Why We need Context binding?

Ans) One important thing that we need to know is the life time of any view is till it appears on the page, once it disappears from web page, view does not have life, paralleled the view context which stores run time data or screen data will get deactivated, means it will not have a capability to store the data.
 So, there need to a provision where it should data should have a longer life time , then Custom controller comes into the picture. Its life time is unrestricted. So, we will keep the view data into custom controller's context node by using context binding.

 Context binding is the process by which 2 context holds same data at run time.

* Keep asking me questions here, I will try to answer yours questions


 

No comments:

Post a Comment