Sunday, February 24, 2013

CRM basics

BSPWDV_EHSET_ASG is the table where we can assign an enhancement set to a client. Only one enhancement set can be active for a client at a time. You will only have one entry in this table. To have more than one set active at a point play with the BADI COMPONENT_LOADING.

To assign a role to a user id - got to transaction SU3 - and mention CRM_UI_PROFILE in parameter tab and give your desired role and save. Looks like at a time only one role can be added in SU3.

CRMC_UI_PROFILE is the transaction where you can view all the business roles in a system.

To restrict a value in the F4 help in web, use the Get_V_ method. The RV_VALUEHELP_DESCRIPTOR will be used for this purpose.

GET_ATTR - Is used to get data of an attribute from the BOL layer to display it on UI.
SET_ATTR - Is used to set data of an attribute from UI to BOL layer.
GET_M_ATTR - This gives the meta data of an attribute, like the name of the field, the description of the field, language, key field etc.
GET_I_ATTR- This method is used to enable or disable a field.
GET_V_ATTR- This method defines the content of drop down values, F4 help.
GET_P_ATTR - This defines the property of an attribute whethers it drop down, textbox, F4, checkbox etc. Property of an attribute can be picklist, input, checkbox, link, radio.

In BSPWDVC_CMP_EXT in SM34 holds all the enhancements that are done under your custom enhancement set. You can remove all most all your enhanced controllers/enhancements in this view or SE80.


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.