Can anyone tell me the use of setter/getter methods in the BSP workbench?
I see a list of them as soon as we create a context node...Get, Get_I, Get_M, Get_P,Get_V...etc.
Why do have so many get methods? Use of them separately?
Thanks & Regards,
Getter & Setter Method are available for an attribute in SAP CRM Web UI, to enable/disable various properties of it. Also to save and retrive data from the BOL layer which in turn gets it front the DB layer.
GET_XYZ - This is used to get the data of attribute(XYZ) from the BOL Layer and display it on the UI
SET_XYZ - This is used to set the data of the attribute from the UI to the BOL layer
GET_M_XYZ - This defines the meta data (type) of the attribute
GET_I_XYZ - This defines whether the attibute is editable or non editable i.e, using Get_I method you can make your field as grade out based up on any condition.
GET_V_XYZ - This defines the content of drop down values, F4 Help etc i.e,you can retrieve the dropdown values based up on your condition.
GET_P_XYZ - This defines the property of attribute whether it's drop down, text box, F4 help, check box etc. Also, if any followup event should trigger the same is mentioned here i.e,you can call specific even handler using P method .
There are two more methods which have recently got added from the above two as mentioned below
GET_A_XYZ - This is used to hide or display the attribute based on the Switch ID.
GET_AC_XYZ - This is used for Field Action Menu Getter