cancel
Showing results for 
Search instead for 
Did you mean: 

How to enhance value node in the context

Former Member
0 Kudos
244

Hi,

We are working on CRM 5.1 UI . I have a requirement to extend the table in the standard view of component BTFSCOA with an additional column (check box).

The attributes are part of value node.

I've tried to enhance the component by using a enahncement component in BSP_WD_CMPWB ( bsp component workbench) . But not able to extend the attributes of the value node.

Can some one guide me as to how can this be acheived ?

Accepted Solutions (0)

Answers (2)

Answers (2)

rosangel_paolini
Discoverer
0 Kudos

Hi Chaitanya,

You can follow these steps:

In your context node class (<class>_CNxx) copy the methods:

GETXYZ (from inheritated IF_BSP_MODEL_SETTER_GETTER)

GETM_XYZ (from inheritated IF_BSP_MODEL_SETTER_GETTER)

GETI_XYZ (from inheritated IF_BSP_WD_MODEL_SETTER_GETTER)

into methods:

GET_<ABC> (for retrieving the value of this attribute)

GET_M_<ABC> (for defining the attribute type, i.e. data element)

GET_I_<ABC> (for defining if the attribute should be read-only or editable)

where <ABC> is the name of your desired value attribute.

Add following parameter to the parameter list of method GET_<ABC> as optional:

ITERATOR Importing Type Ref To IF_BOL_BO_COL_ITERATOR

Implement the code you need in each of those methods.

Activate your changes.

Next time you enter the BSP Workbench you'll see your new value attribute in the attributes list of the node and will be able to configure them into your configuration.

Hope it helped.

Rosangel

harsh_satsangi
Advisor
Advisor
0 Kudos

Hi Krishna,

Its not supported in this release to extend a node with value attributes.

You can create a new value node and include your Attributes

Former Member
0 Kudos

Looks like there is huge change in IC WebClient architecture and UI from CRM 5.1 onwards.

Guys , Would you like to share some information or cookbook on this?

Thanks,

Thirumala.