Emiel Truijen
Read all my blogsChanging or removing set types and attributes in SAP CRM On-Premise
Attributes and set types are an easy way to add additional characteristics to your product master.
In this blog we assume that you are already familiar with creating set types and attributes but that you run into issues when you want to remove or change an existing set type.
For those who are not familiar with set types and attributes a short introduction:
Set types and attributes can be maintained via the transaction COMM_ATTRSET in CRM.
First you create your attributes which are then grouped in a set type. The set type is then assigned to a product category via transaction COMM_HIERARCHY and the attributes become available in your product master.
But once you have defined a set type in a particular way and it is being used, it cannot simply be changed. And that is where this blog will give you some useful tips.
Changing or deleting a set type
If a set type is already assigned to a product category, it is only possible to change the set type description and/or to add new attributes. You can no longer remove attributes from a set type which is already assigned to a product category. And a set type can only be deleted if it is not assigned to a product category.
In the screenshot below you see the error message when you open a set type in edit mode and the option to delete an attribute is greyed out.
Step by Step
- PROGRAM_NAME – COM_SETTYPE_DELETE_VALUES
- USER_NAME – User with which you are logged on
- EXEC_DATE – Date on which you would like to run this report
Step 2. Remove the set type from the category in the product hierarchy. This can be done via the transaction COMM_HIERARCHY. Go to the product category and remove the set type from the ‘Set Types’ tab.