Problem: you want to change colors of assignments in the CRM RPT’s Gant Graph.
Solution: if you want only to switch colors for different assignment’s statuses then this is possible to do simply by changing settings in the configuration table.
Colors for statuses are defined in table CRM_LRP_COL_STAT. Simply change values there and it should work.
If you wish to put more complex logic into the color selection process then you will need to change SAP standard code. Possibly the best solution is to create an Enhancement at the end of method SET_GRAPHIC_EL_FOR_TIMESPEC or SET_LOOK_ACCORD_TO_STATUS of class CL_GUI_CRM_DWP_GANTT_AREA. Other way is to change FM CRM_LRP_CUST_ASSIGNMENT_COLOR.
1 Komentarze.