In my previous blog I have discussed about how to add a field to the view. The field being available in the structure its easier to add the field using UI Configuration.
Now in this part we will discuss how we can create a custom field for the customer and make the same visible in Web UI.
Here in this example, I have added a field directly to the ADMIN_H header segment. Since I have to use the ADMIN_H for a customer I have taken the example.
Technically most customers will add their fields via the CUSTOMER_H segment especially those upgrading from an older release.
Scenario 2: The field is a custom field created for the customer.
Here I have taken the example of creating the field Resource Estimate Using EEWB.
Part 1: Creating Custom field using EEWB
Enter the T-code EEWB(SPRO Path : SAP Implementation Guide –> Customer Relationship Management –> CRM Cross-Application Components –> Easy Enhancement Workbench)
Once the project is created select the button as shown below and create an extension
Enter name and description for the extension and select the Bus Object (e.g. Opportunity) and Extension type (Opportunity Header)
Now the Wizard will guide you through the next steps
Enter Extension Title
Select the Transaction type
Enter Field Label, Data type and Field Length
Assign the field to the opportunity header
Specify the relevance of the field in Mobile/BI/Search
See the overview and Select Complete.
Enter the transaction code CRMD_ORDER and Select Create “Opportunity” You can see that a new tab Customer Fields appears in the opportunity screen.
Navigate to the tab “customer Fields” The field “Expected Duration” Can be seen.
Part 2 : Display the field in the WEB UI
Start transaction BSP_WD_CMPWB.
Follow the steps mentioned in the Scenario 1 to view the available fields (refer Step 1 to step 9 of CRM 2007 – Enhancing views – Part I)
Your custom field will be available in the Context Node BTADMINH.
Expand the node BTADMINH to view the list of available fields.
Now as we can see the custom field added using EEWB is available for use by the UI Configuration tool. Select the field “Expected Duration” and add it to the opportunity view.
Refer steps mentioned in the blog CRM 2007 – Enhancing views – Part I.
In the next part we will discuss the scenario where you want to show a standard field related to the opportunity in the opportunity view. These fields are attributes of the partners related to the opportunity and hence not part of the standard opportunity structure. e.g. Industry system of Prospect, ID Number/type of Prospect/Employee responsible etc.