Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ERM Unhandled error; Unable to create role (Please provide a profile name.)

All -

<br><br>

I am running into 'yet another' issue in ERM! This error really has me going in circles because I am able to execute the exact same process in our Sandbox environment with NO PROBLEM... If any of you Guru's can help to point me in the right direction on how to address this issue it would be greatly appreciated.

<br><br>

Here's the issue:

<br><br>

In our SANDBOX enviroment, the role creation process works as designed (Role Methodology: Definition --> Authorization --> Derivation --> Risk Analysis --> etc.). I'm able to define the role, add t-codes in the Authorization step and even Maintain them in PFCG.

<br><br>

However in our DEV environment when I take the same steps and I add t-codes to the role, I get an error when I try to Maintain in PFCG --> <b>Unhandled error; Unable to create role (Please provide a profile name.)</b>

<br><br>

The crazy thing is that when I remove the t-codes (to zero) I'm able to Maintain in PFCG!!! I am then able to save the Role 'Shell' in the backend (not adding any t-codes), come back into ERM and add t-codes there and Maintain in PFCG somehow works with the t-codes added now. So it seems as if that connection to the back through PFCG with no t-codes establishes the profile somehow and allows me to finish the process as intended. This is a pain because I will have to take this work around step for every role that I create in Development.

<br><br>

In Sandbox however this works as intended and generates a profile at this step after adding the T-codes, thereby allowing me to Maintain in PFCG with no error.

<br><br>

The configuration of these 2 boxes is exactly the same and the connections are both working successfully, I'm going crazy trying to figure this out! PLEASE HELP!

<br><br>

Here are the Error Logs:

<br><br>

2010-04-13 18:07:29,427 [SAPEngine_Application_Thread[impl:3]_19] ERROR com.virsa.re.exception.RoleGenerationException: Unable to create role (Please provide a profile name.)<br><br>

java.lang.Throwable: Unable to create role (Please provide a profile name.)<br><br>

at com.virsa.re.service.sap.dao.GenerateRoleDAO.createRoleFromAuthorizations(GenerateRoleDAO.java:1502)<br>

at com.virsa.re.bo.impl.GenerateRoleBO.createRoleFromAuthorizations(GenerateRoleBO.java:597)<br>

at com.virsa.re.role.actions.AuthAuthorizationDataAction.loadPFCG(AuthAuthorizationDataAction.java:420)<br>

at com.virsa.re.role.actions.AuthAuthorizationDataAction.execute(AuthAuthorizationDataAction.java:198)<br>

at com.virsa.framework.NavigationEngine.execute(NavigationEngine.java:273)<br>

at com.virsa.framework.servlet.VFrameworkServlet.service(VFrameworkServlet.java:230)<br>

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<br>

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)<br>

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)<br>

at com.virsa.comp.history.filter.HistoryFilter.doFilter(HistoryFilter.java:43)<br>

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)<br>

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)<br>

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)<br>

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)<br>

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)<br>

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)<br>

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)<br>

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)<br>

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)<br>

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process<br>

<br>

(ApplicationSessionMessageListener.java:33)<br><br>

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)<br>

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)<br>

at java.security.AccessController.doPrivileged(Native Method)<br>

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)<br>

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)<br>

Former Member
Not what you were looking for? Ask a question