headershadow

How to add a new Attribute and Set Type and make it visible on CRM_UI - Part I

Print Friendly

This article is about the steps each CRM Consultant needs to take in order to have the attribute displayed on UI.

When creating a new attribute you need to ask yourself a lot of questions. For example, you would need to know if the new attribute will be assigned to an existing Set Type or to a new one.

We will take the second scenario: the attribute will have its own set type.

Note: the instructions below are for SAP CRM 7.0

1. First you need to create the attribute. Go to COMM_ATTRSET, choose a name for your attribute (it should start with Z.....) and press CREATE

COMM_ATTRSET - define new attribute in SAP CRM

In the details screen you need to specify Attribute Type, Attribute Length and the values for the attribute.

If the attribute has multiple values you can choose the Value table option, and all the values have to be maintain in the custom table. Other option is to use Value Range tab and insert the values there.

If the attribute will be a free entry field, then no Value Table or Range values should be maintained.

02new-attr-set-type

2. Second you need to create the set type. Go to COMM_ATTRSET, choose a name for your set type (it should start with Z.....) and press CREATE

COMM_ATTRSET -define new set type in SAP CRM

Select the product type the set type will be used for. If the attribute will have the same value for multiple products the Multiple Use option should be check.If the value will be assigned to only one product ID(i.e. Serial Number), the Multiple Use option should be unchecked.

Next, attribute has to be assigned to the set type:

Note that for every Set Type created a table with the same name is created. Among the key fields that come as by default, when creating the Set Type you can choose to make an attribute key field, in this case, Set Type has to have another attribute that is not key field.

After saving you need to pay a special attention if the Functional Modules for your set type are created. This you can check in SE37

Having these Functional Modules generated will ensure UI - CRM back-end communication for the set type/attribute created.

In case the Functional Modules are not created then you need to check the authorization roles assigned to your username. You need to have ABAP Developer authorization role assigned so that Functional Modules are created.

(to be continued)

Eugen

The SAP University Team

Eugeniu is a SAP Consultant with hands on experience in SAP FI/CO and SAP CRM. He is keen to share his knowledge to the SAP enthusiasts. Please feel free to get in touch with him.
More about

One thought on “How to add a new Attribute and Set Type and make it visible on CRM_UI - Part I

Leave a Reply


*