cancel
Showing results for 
Search instead for 
Did you mean: 

Use of Getter - Setter methods in Web UI

Former Member
0 Kudos

Hi,

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?

Kindly help.

Thanks & Regards,

Joseph.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi,

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

Regards,

HCL Sparks.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Get_m--->defines the metadata of attribute,

Get method--->to display data in the ui screen field from database(BOI layer)

Set method--->to set the data in the data base from ui screen fields

regards,

Hcl innovators.

Former Member
0 Kudos

Get_I method is used for Disabling fields

Get_P---->field properties modification,hyperlinks,f4 help

Get_V----->to get values to the field

Get_A----->enhancements and for activating/deactivating the fields