SAP CRM WEB UI version 6.0 and 7.0 or more
This blog is to add New Date Fields as Context Attribute to the UI component. There are some objects of the object model for business transaction which cannot be enhanced using EEWB/AET. For such cases SAP provides an alternative enhancement option.
Chand Shaik is Techno Functional Consultant in the area of SAP CRM and SAP Portal. He have started with SAP in 2004 coming from a web development background (JAVA). His experience ranges from Web Dynpro Java, Enterprise Portal, CRM ABAP, CRM BSP and BOL, CR580 and to functional skills in SAP. He has done several projects at different SAP customers. Currently working as a SAP CRM Consultant with TCS.
Define Date Types
For Duration Field
Extend Model for Business Transactions with New Relations
For Duration field
Create Context Node in Component work bench
Change the super class to CL_CRM_UIU_BT_DATE_CN of the Z context node's class
Check for the errors(Remove the extra Base_Entity_Name attribute from the class) and activate
Now you can observe the new date attribute has been added to the node
Modify the ON_NEW_FOCUS as below
Pass the' I 'for Item, 'H' for Header
Pass the Date Type defined in the date profile
Pass the category as T for Dates.
Add the new field to the UI Config
For Date field
For Duration field
Results
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
37 | |
10 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
2 | |
2 |