You are on page 1of 14

On How To Enhance a Web UI Component in SAP CRM and

On How to Create Product Attributes and set up Views

Step 1.

Open Transaction SM34 and enter View Cluster BSPWDVC_CMP_EXT to create a new Enhancement Set.

Alternatively this can also be done via BSP_WD_CMPWB as shown below.


Step 2.

Add new Entries and enter the name and description.

Step 3.

Open Transaction sm30 and assign the just created Enhancement set for the Client in the view
BSPWDV_EHSET_ASG.

The entry will look as shown below.


Step 4.

Open the UI Component which needs to be enhanced, use BSP_WD_CMPWB to check whether the Enhancement Set
which has been just created exists by clicking on the F4 help.

Step 5.
Open the Standard UI Component and click on the "Enhance Component" Tab and provide the Enhancement Set
information.
Step6.

Provide the Application Name.


Step7.

Provide the Repository Information.

Step8.

Click on Yes to create BSP application.


Step9.

Your Component is now Enhanced. To Enhance a View right click on the view.

Step10.

As you can see the Z class which means that the View has been Enhanced.

Now Your Component and View are enhanced and ready to put the custom business logic.
How to Create Product Attributes and set up Views

Step 1. Create New Set Type - Set Type can be created by making use of transaction type COMM_ATTRSET. The
detail are as shown in the figure below.
Step 2: Now this newly created settype has to be assigned to a Product Hierarchy. This can be achived by making use
of the transaction COMM_HIERARCHY. The assignment is also shown below.
Step3: Generate the View for the Set Type created by making use of the transaction CRMM_UIU_PRODGEN
(CRMM_UIU_PROD_GEN in 7.0 and EHP1) with the Set Type , Enhancement Set & Overview Page Component. The
same is also shown below.

Step 4: Create the UI configuration. Use transaction CRMM_UIU_PROD_CONFIG to create the UI COnfiguration fo
rthe Set Type. The details should be put as shown below.
Step 5:

Open the UI Compoent PRD01OV using trx BSP_WD_CMPWB and click on PRD01OV/MaterialOV view

Under the Configuration Tab identify your settype. One way could be by switching to the Technical Details
Identify your settype and add it to the Displayed Assignment Block

Save
Note by the Corda

In Dev I noticed that in some instances entries in tables CRMC_PRIL_OBJ and CRMC_PRIL_STOREL were missing.
In these cases the entries were done manually by taking the Settype GUID from table COMC_SETTYPE_T (in the case
of CRMC_PRIL_OBJ)

You might also like