How to switch off the automatic assignment of employee relationship

http://wiki.sdn.sap.com/wiki/display/CRM/How+to+switch+off+the+automatic+assignment+of+employee+relationship

When you create an account, the system will assign yourself as the employee responsible. 

But sometimes your own user doesn't have the role 'employee'.

So you can switch off the automatic assignment of employee relationship.

  1. Go to UI Component Workbench – TA: bsp_wd_cmpwb
  2. Go to component BP_HEAD
 3.  Enhance the component BP_HEAD/AccountDetails
 4. Open the context node EMPLOYEERESPONSIBLE and the Z class for which the super class is CL_BP_HEAD_ACCOUNTDETAILS_CN03

 5. Redefine the method SET_DEFAULT_OWNER_DATA and finally COMMENT the entire code in this particular method.
  6.  Save and activate the class. 


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章