Skip to Content
0
Former Member
Aug 08, 2007 at 10:36 AM

Error in ESS Modification

13 Views

ESS leave

when i want to create a link in the ESS

i modifying the CCAppl Component

CAPItem capItemWorklist = new CAPItem("1", wdThis.wdGetAPI().getComponent().getTextAccessor().getText("CAPWorkList"), vacWorkList);
		CAPItem capItemEECale =	new CAPItem("2", wdThis.wdGetAPI().getComponent().getTextAccessor().getText("CAPCalendar"),	vacBlockCale);
		CAPItem capItemAccList = new CAPItem("3", wdThis.wdGetAPI().getComponent().getTextAccessor().getText("CAPAccList"), vacAccList);
		CAPItem capItemReqList = new CAPItem("4", wdThis.wdGetAPI().getComponent().getTextAccessor().getText("CAPReqList"), vacReqList);
		CAPItem capItemTeamCale = new CAPItem("5", wdThis.wdGetAPI().getComponent().getTextAccessor().getText("CAPTeamCale"), vacTeamCale);
CAPItem capItemTeam = new CAPItem("6", wdThis.wdGetAPI().getComponent().getTextAccessor().getText("CAPTeamCale"), vacTeamCale);		

		if (modus.equalsIgnoreCase(FcAppl.MODUS_APPROVER))
			cap = new CAPItem[] {capItemTeamCale, capItemWorklist,capItemTeam};
		else if (modus.equalsIgnoreCase(FcAppl.MODUS_ADMINISTROR))
			cap = new CAPItem[] {capItemWorklist}; 
		else if (modus.equalsIgnoreCase(FcAppl.MODUS_EMPLOYEE)) 
			cap = new CAPItem[] {capItemTeamCale, capItemEECale, capItemAccList, capItemReqList };
		else if (modus.equalsIgnoreCase(FcAppl.MODUS_TEAMVIEW))
			cap = new CAPItem[] {capItemTeamCale};

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: duplicate usage of view com.sap.xss.hr.lea.teamview.VcTeamViewUsage.IVACWindowInterfaceView

pls help

Message was edited by:

yzme yzme

Message was edited by:

yzme yzme