cancel
Showing results for 
Search instead for 
Did you mean: 

Service level creation in CUP

Former Member
0 Kudos

Hello all

Can anyone tell me if there is a limit to the amount of Service Levels you can create in CUP? We have created 2 types of service levels for 4 different applications (so 8 in total), i am unable to create anymore.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I do not think there is a limit on the service levels, what are the attributes you are using, is it only the application?

What is the error that you get?

regards,

Chinmaya

Former Member
0 Kudos

Hello Chinmaya

I am using Application and Priority attributes

Cheers

Former Member
0 Kudos

Regardless of what attribute i assign, i get 'Error Saving Service Level' message

Former Member
0 Kudos

Can you paste some of the logs from the error?

Regards,

Chinmaya

Former Member
0 Kudos

Caused by:

com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPGRCDB.VI_AE_SRVC_LVL_LOC) violated

at com.sap.sql.jdbc.common.CommonPreparedStatement.executeUpdate(CommonPreparedStatement.java:259)

at com.sap.sql.sqlj.runtime.profile.ref.RTStatementJDBCPrepared.executeUpdate(RTStatementJDBCPrepared.java:267)

at sqlj.runtime.ExecutionContext$StatementFrame.executeUpdate(ExecutionContext.java:1124)

at sqlj.runtime.ExecutionContext.executeUpdate(ExecutionContext.java:718)

at com.virsa.ae.dao.sqlj.ServiceLevelDAO.insertServiceLevel(ServiceLevelDAO.sqlj:355)

... 20 more

2011-06-07 08:41:05,647 [SAPEngine_Application_Thread[impl:3]_16] INFO MessagingHelper.java@131:clearMessages() : @@@clearing messages

2011-06-07 08:41:05,664 [SAPEngine_Application_Thread[impl:3]_16] INFO MessagingHelper.java@99:addMessage() : @@@Adding msgValue: Code: 4455; Locale: en

2011-06-07 08:41:05,664 [SAPEngine_Application_Thread[impl:3]_16] INFO MessagingHelper.java@109:addMessage() : @@@Creating new message list

2011-06-07 08:41:05,664 [SAPEngine_Application_Thread[impl:3]_16] INFO MessagingHelper.java@119:addMessage() : Adding msg to msglist

2011-06-07 08:41:05,664 [SAPEngine_Application_Thread[impl:3]_16] DEBUG NavigationEngine.java@272:execute() : Target returned by execute action: failure

2011-06-07 08:41:05,664 [SAPEngine_Application_Thread[impl:3]_16] DEBUG AEFrameworkServlet.java@458:service() : forwarding to:scrConfigServiceLevel.loadConfigServiceLevel.do

2011-06-07 08:41:05,665 [SAPEngine_Application_Thread[impl:3]_16] DEBUG AEFrameworkServlet.java@521:logRequest() :

-- Request dump for Action Path is scrConfigServiceLevel.loadConfigServiceLevel

2011-06-07 08:41:05,665 [SAPEngine_Application_Thread[impl:3]_16] DEBUG AEFrameworkServlet.java@537:logRequest() : hours:0::0#

2011-06-07 08:41:05,665 [SAPEngine_Application_Thread[impl:3]_16] DEBUG AEFrameworkServlet.java@537:logRequest() : serviceType:0::FORMULA#

2011-06-07 08:41:05,665 [SAPEngine_Application_Thread[impl:3]_16] DEBUG AEFrameworkServlet.java@537:logRequest() : cboCondition:0::AND#

2011-06-07 08:41:05,665 [SAPEngine_Application_Thread[impl:3]_16] DEBUG AEFrameworkServlet.java@537:logRequest() : description:0::Emergency access requests for planned use#

2011-06-07 08:41:05,665 [SAPEngine_Application_Thread[impl:3]_16] DEBUG AEFrameworkServlet.java@537:logRequest() : cboValue:0::#

2011-06-07 08:41:05,666 [SAPEngine_Application_Thread[impl:3]_16] DEBUG AEFrameworkServlet.java@537:logRequest() : cboAttribute:0::Request Type#

2011-06-07 08:41:05,666 [SAPEngine_Application_Thread[impl:3]_16] DEBUG AEFrameworkServlet.java@537:logRequest() : workflowType:0::AE#

2011-06-07 08:41:05,666 [SAPEngine_Application_Thread[impl:3]_16] DEBUG AEFrameworkServlet.java@537:logRequest() : initiator:0::ZPLAN_SB5#

2011-06-07 08:41:05,666 [SAPEngine_Application_Thread[impl:3]_16] DEBUG AEFrameworkServlet.java@537:logRequest() : days:0::1#

2011-06-07 08:41:05,666 [SAPEngine_Application_Thread[impl:3]_16] DEBUG AEFrameworkServlet.java@537:logRequest() : shortDesc:0::Planned / Scheduled access#

2011-06-07 08:41:05,666 [SAPEngine_Application_Thread[impl:3]_16] DEBUG AEFrameworkServlet.java@542:logRequest() : -- End Request dump for Action Path is scrConfigServiceLevel.loadConfigServiceLevel

2011-06-07 08:41:05,667 [SAPEngine_Application_Thread[impl:3]_16] DEBUG NavigationEngine.java@85:execute() : Current Module: |CFG| Conversation: |cnvConfigServiceLevel| Screen: |scrConfigCreateServiceLevel|

2011-06-07 08:41:05,667 [SAPEngine_Application_Thread[impl:3]_16] DEBUG NavigationEngine.java@105:execute() : Module#CFG#Conversation#cnvConfigServiceLevel#Screen#scrConfigServiceLevel#Action#loadConfigServiceLevel#

2011-06-07 08:41:05,667 [SAPEngine_Application_Thread[impl:3]_16] DEBUG NavigationEngine.java@224:execute() : Changing Screen: FROM: scrConfigCreateServiceLevel TO scrConfigServiceLevel

2011-06-07 08:41:05,667 [SAPEngine_Application_Thread[impl:3]_16] DEBUG NavigationEngine.java@261:execute() : Handler found:class com.virsa.ae.configuration.actions.ServiceLevelConfigAction

2011-06-07 08:41:05,679 [SAPEngine_Application_Thread[impl:3]_16] DEBUG com.virsa.ae.dao.sqlj.ServiceLevelDAO : getAllServiceLevels() : : ,list size=8

2011-06-07 08:41:05,680 [SAPEngine_Application_Thread[impl:3]_16] DEBUG com.virsa.ae.dao.sqlj.ServiceLevelDAO : getAllServiceLevels() : : #0# element:com.virsa.ae.dao.dto.ServiceLevelDTO@8c708c7[desc=Emerg,name=ZEMERG_D91,days=0,hours=3,attributes=[com.virsa.ae.dao.dto.ServiceLevelAttrDTO@137c137c[attrName=Application,value=VIRSAXSR3_08_MODEL,condition=AND,locale=0], com.virsa.ae.dao.dto.ServiceLevelAttrDTO@13b213b2[attrName=Priority,value=ZEMERG,condition=AND,locale=0]],workflowType=AE,shortDesc=Emergency,locale=1,serviceType=FORMULA,escalationType=,dueDate=<null>,escalationDate=<null>]

2011-06-07 08:41:05,680 [SAPEngine_Application_Thread[impl:3]_16] DEBUG com.virsa.ae.dao.sqlj.ServiceLevelDAO : getAllServiceLevels() : : #1# element:com.virsa.ae.dao.dto.ServiceLevelDTO@221e221e[desc=Emergency access,name=ZEMERG_S94,days=0,hours=3,attributes=[com.virsa.ae.dao.dto.ServiceLevelAttrDTO@2cd62cd6[attrName=Application,value=VIRSAXSR3_01_MODEL,condition=AND,locale=0], com.virsa.ae.dao.dto.ServiceLevelAttrDTO@2d0c2d0c[attrName=Priority,value=ZEMERG,condition=AND,locale=0]],workflowType=AE,shortDesc=Emergency access,locale=1,serviceType=FORMULA,escalationType=,dueDate=<null>,escalationDate=<null>]

2011-06-07 08:41:05,680 [SAPEngine_Application_Thread[impl:3]_16] DEBUG com.virsa.ae.dao.sqlj.ServiceLevelDAO : getAllServiceLevels() : : #2# element:com.virsa.ae.dao.dto.ServiceLevelDTO@3b863b86[desc=Emergency access request for immediate use,name=ZEMERG_S91,days=0,hours=3,attributes=[com.virsa.ae.dao.dto.ServiceLevelAttrDTO@46474647[attrName=Priority,value=ZEMERG,condition=AND,locale=0], com.virsa.ae.dao.dto.ServiceLevelAttrDTO@467a467a[attrName=Application,value=VIRSAXSR3_07_MODEL,condition=AND,locale=0]],workflowType=AE,shortDesc=Emergency/Immediate access,locale=1,serviceType=FORMULA,escalationType=,dueDate=<null>,escalationDate=<null>]

2011-06-07 08:41:05,680 [SAPEngine_Application_Thread[impl:3]_16] DEBUG com.virsa.ae.dao.sqlj.ServiceLevelDAO : getAllServiceLevels() : : #3# element:com.virsa.ae.dao.dto.ServiceLevelDTO@483d483d[desc=Emergency access requests for immediate use,name=ZEMERG_DB5,days=0,hours=3,attributes=[com.virsa.ae.dao.dto.ServiceLevelAttrDTO@530b530b[attrName=Application,value=VIRSAXSR3_14_MODEL,condition=AND,locale=0], com.virsa.ae.dao.dto.ServiceLevelAttrDTO@53415341[attrName=Priority,value=ZEMERG,condition=AND,locale=0]],workflowType=AE,shortDesc=Emergency / Immediate access,locale=1,serviceType=FORMULA,escalationType=,dueDate=<null>,escalationDate=<null>]

2011-06-07 08:41:05,680 [SAPEngine_Application_Thread[impl:3]_16] DEBUG com.virsa.ae.dao.sqlj.ServiceLevelDAO : getAllServiceLevels() : : #4# element:com.virsa.ae.dao.dto.ServiceLevelDTO@6e766e76[desc=Emergency access requests for planned use,name=ZPLAN_DB5,days=1,hours=0,attributes=[com.virsa.ae.dao.dto.ServiceLevelAttrDTO@79397939[attrName=Application,value=VIRSAXSR3_14_MODEL,condition=AND,locale=0], com.virsa.ae.dao.dto.ServiceLevelAttrDTO@796f796f[attrName=Priority,value=ZPLAN,condition=AND,locale=0]],workflowType=AE,shortDesc=Planned / Scheduled access,locale=1,serviceType=FORMULA,escalationType=,dueDate=<null>,escalationDate=<null>]

2011-06-07 08:41:05,680 [SAPEngine_Application_Thread[impl:3]_16] DEBUG com.virsa.ae.dao.sqlj.ServiceLevelDAO : getAllServiceLevels() : : #5# element:com.virsa.ae.dao.dto.ServiceLevelDTO@8510851[desc=Emergency access requests for planned use,name=ZPLAN_S91,days=1,hours=0,attributes=[com.virsa.ae.dao.dto.ServiceLevelAttrDTO@13121312[attrName=Application,value=VIRSAXSR3_07_MODEL,condition=AND,locale=0], com.virsa.ae.dao.dto.ServiceLevelAttrDTO@13481348[attrName=Priority,value=ZPLAN,condition=AND,locale=0]],workflowType=AE,shortDesc=Planned/Scheduled access,locale=1,serviceType=FORMULA,escalationType=,dueDate=<null>,escalationDate=<null>]

2011-06-07 08:41:05,680 [SAPEngine_Application_Thread[impl:3]_16] DEBUG com.virsa.ae.dao.sqlj.ServiceLevelDAO : getAllServiceLevels() : : #6# element:com.virsa.ae.dao.dto.ServiceLevelDTO@21ae21ae[desc=Plan,name=ZPLAN_D91,days=1,hours=0,attributes=[com.virsa.ae.dao.dto.ServiceLevelAttrDTO@2c612c61[attrName=Priority,value=ZPLAN,condition=AND,locale=0], com.virsa.ae.dao.dto.ServiceLevelAttrDTO@2c942c94[attrName=Application,value=VIRSAXSR3_08_MODEL,condition=AND,locale=0]],workflowType=AE,shortDesc=Planned use,locale=1,serviceType=FORMULA,escalationType=,dueDate=<null>,escalationDate=<null>]

2011-06-07 08:41:05,681 [SAPEngine_Application_Thread[impl:3]_16] DEBUG com.virsa.ae.dao.sqlj.ServiceLevelDAO : getAllServiceLevels() : : #7# element:com.virsa.ae.dao.dto.ServiceLevelDTO@2e572e57[desc=Planned use,name=ZPLAN_S94,days=1,hours=0,attributes=[com.virsa.ae.dao.dto.ServiceLevelAttrDTO@390e390e[attrName=Application,value=VIRSAXSR3_01_MODEL,condition=AND,locale=0], com.virsa.ae.dao.dto.ServiceLevelAttrDTO@39443944[attrName=Priority,value=ZPLAN,condition=AND,locale=0]],workflowType=AE,shortDesc=Planned access,locale=1,serviceType=FORMULA,escalationType=,dueDate=<null>,escalationDate=<null>]

2011-06-07 08:41:05,692 [SAPEngine_Application_Thread[impl:3]_16] DEBUG NavigationEngine.java@272:execute() : Target returned by execute action: success

2011-06-07 08:41:05,692 [SAPEngine_Application_Thread[impl:3]_16] DEBUG AEFrameworkServlet.java@458:service() : forwarding to:/cfg_service_level.jsp

2011-06-07 08:41:05,693 [SAPEngine_Application_Thread[impl:3]_16] DEBUG LocaleUtil.java@283:getUserLocaleId() : intLocale : 1

2011-06-07 08:41:05,694 [SAPEngine_Application_Thread[impl:3]_16] DEBUG AECacheUtil.java@2035:getAllActiveWorkFlowTypeDropDown() : INTO the method : pLocaleId1

2011-06-07 08:41:05,697 [SAPEngine_Application_Thread[impl:3]_16] DEBUG LocaleUtil.java@283:getUserLocaleId() : intLocale : 1

2011-06-07 08:41:05,697 [SAPEngine_Application_Thread[impl:3]_16] DEBUG LocaleUtil.java@283:getUserLocaleId() : intLocale : 1

2011-06-07 08:41:05,697 [SAPEngine_Application_Thread[impl:3]_16] DEBUG LocaleUtil.java@283:getUserLocaleId() : intLocale : 1

2011-06-07 08:41:05,697 [SAPEngine_Application_Thread[impl:3]_16] DEBUG LocaleUtil.java@283:getUserLocaleId() : intLocale : 1

2011-06-07 08:41:05,697 [SAPEngine_Application_Thread[impl:3]_16] DEBUG LocaleUtil.java@283:getUserLocaleId() : intLocale : 1

2011-06-07 08:41:05,698 [SAPEngine_Application_Thread[impl:3]_16] DEBUG LocaleUtil.java@283:getUserLocaleId() : intLocale : 1

2011-06-07 08:41:05,698 [SAPEngine_Application_Thread[impl:3]_16] DEBUG LocaleUtil.java@283:getUserLocaleId() : intLocale : 1

2011-06-07 08:41:05,698 [SAPEngine_Application_Thread[impl:3]_16] DEBUG LocaleUtil.java@283:getUserLocaleId() : intLocale : 1

2011-06-07 08:41:12,714 [SAPEngine_Application_Thread[impl:3]_8] DEBUG AEFrameworkServlet.java@521:logRequest() :

-- Request dump for Action Path is scrLeftNav.linkConfigSystemLogSearch

2011-06-07 08:41:12,714 [SAPEngine_Application_Thread[impl:3]_8] DEBUG AEFrameworkServlet.java@542:logRequest() : -- End Request dump for Action Path is scrLeftNav.linkConfigSystemLogSearch

2011-06-07 08:41:12,715 [SAPEngine_Application_Thread[impl:3]_8] DEBUG NavigationEngine.java@85:execute() : Current Module: |CFG| Conversation: |cnvConfigServiceLevel| Screen: |scrConfigServiceLevel|

2011-06-07 08:41:12,715 [SAPEngine_Application_Thread[impl:3]_8] DEBUG NavigationEngine.java@105:execute() : Module#CFG#Conversation#cnvConfigServiceLevel#Screen#scrLeftNav#Action#linkConfigSystemLogSearch#

2011-06-07 08:41:12,715 [SAPEngine_Application_Thread[impl:3]_8] DEBUG NavigationEngine.java@224:execute() : Changing Screen: FROM: scrConfigServiceLevel TO scrLeftNav

2011-06-07 08:41:12,716 [SAPEngine_Application_Thread[impl:3]_8] DEBUG NavigationEngine.java@261:execute() : Handler found:class com.virsa.ae.actions.ClearConversationAction

2011-06-07 08:41:12,716 [SAPEngine_Application_Thread[impl:3]_8] DEBUG Context.java@259:clearConversationRep() : INTO the method

2011-06-07 08:41:12,716 [SAPEngine_Application_Thread[impl:3]_8] DEBUG NavigationEngine.java@272:execute() : Target returned by execute action: success

2011-06-07 08:41:12,716 [SAPEngine_Application_Thread[impl:3]_8] DEBUG AEFrameworkServlet.java@458:service() : forwarding to:CFG.cnvConfigSystemLog.scrConfigSystemLog.loadConfigSystemLogSearch.do

2011-06-07 08:41:12,716 [SAPEngine_Application_Thread[impl:3]_8] DEBUG AEFrameworkServlet.java@521:logRequest() :

-- Request dump for Action Path is CFG.cnvConfigSystemLog.scrConfigSystemLog.loadConfigSystemLogSearch

2011-06-07 08:41:12,716 [SAPEngine_Application_Thread[impl:3]_8] DEBUG AEFrameworkServlet.java@542:logRequest() : -- End Request dump for Action Path is CFG.cnvConfigSystemLog.scrConfigSystemLog.loadConfigSystemLogSearch

2011-06-07 08:41:12,717 [SAPEngine_Application_Thread[impl:3]_8] DEBUG NavigationEngine.java@85:execute() : Current Module: |CFG| Conversation: |cnvConfigServiceLevel| Screen: |scrLeftNav|

2011-06-07 08:41:12,717 [SAPEngine_Application_Thread[impl:3]_8] DEBUG NavigationEngine.java@105:execute() : Module#CFG#Conversation#cnvConfigSystemLog#Screen#scrConfigSystemLog#Action#loadConfigSystemLogSearch#

2011-06-07 08:41:12,717 [SAPEngine_Application_Thread[impl:3]_8] DEBUG NavigationEngine.java@205:execute() : Changing Conversation: FROM: cnvConfigServiceLevel TO cnvConfigSystemLog

2011-06-07 08:41:12,717 [SAPEngine_Application_Thread[impl:3]_8] DEBUG Context.java@259:clearConversationRep() : INTO the method

2011-06-07 08:41:12,717 [SAPEngine_Application_Thread[impl:3]_8] DEBUG NavigationEngine.java@261:execute() : Handler found:class com.virsa.ae.actions.SuccessAction

2011-06-07 08:41:12,718 [SAPEngine_Application_Thread[impl:3]_8] DEBUG NavigationEngine.java@272:execute() : Target returned by execute action: success

2011-06-07 08:41:12,718 [SAPEngine_Application_Thread[impl:3]_8] DEBUG AEFrameworkServlet.java@458:service() : forwarding to:/aelog.jsp

koehntopp
Product and Topic Expert
Product and Topic Expert
0 Kudos

Is it possible you're using a name that you may have used before?

The error points to a duplicate key value, i.e. a conflict regarding either the name of the service level or the value combination.

Try using a different name for testing.

Frank.

Former Member
0 Kudos

Cheers

That solved the issue, we had too many levels created with the same attributes, changed the attributes, now i can save.

koehntopp
Product and Topic Expert
Product and Topic Expert
0 Kudos

Excellent - glad I could help.

Frank.

Answers (0)