Skip to Content
avatar image
Former Member

You are not authorized to display users

Can anyone tell me what is going on here??

defaultTrace.0.trc:

[EXCEPTION]

#1#com.sap.security.core.persistence.datasource.PersistenceException: BAPI_USER_GET_DETAIL@PEDCLNT900: ID=01, NUMBER=495, MESSAGE=You are not authorized to display users

This suddenly happens.

What user is not autorized to display users??

See entiere log next post

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 24, 2009 at 08:15 AM

    <! LOGHEADER[START]/ >

    <! HELP[Manual modification of the header may cause parsing problem!]/ >

    <! LOGGINGVERSION[1.5.3.7185 - 630]/ >

    <! NAME[./log/defaultTrace.trc]/ >

    <! PATTERN[defaultTrace.trc]/ >

    <! FORMATTER[com.sap.tc.logging.ListFormatter]/ >

    <! ENCODING[UTF8]/ >

    <! FILESET[0, 20, 10485760]/ >

    <! PREVIOUSFILE[defaultTrace.19.trc]/ >

    <! NEXTFILE[defaultTrace.1.trc]/ >

    <! LOGHEADER[END]/ >

    #1.5 #CA34F800010D0024000000020000060C00046F6F1CC8C6AE#1248422921865#com.sap.security.core.persistence##com.sap.security.core.persistence.[cf=com.sap.security.core.persistence.datasource.imp.R3Persistence][md=populatePrincipalDatabag(AttributeList)][cl=null]#######SAPEngine_System_Thread[impl:5]_23##0#0#Error##Java###An exception was thrown in the UME/ABAP user management connector. This exception might be caused by incorrect user input. It is written to the trace to assist incident analysis by SAP. Only messages also appearing in the log require administrator assistance.

    [EXCEPTION]

    #1#com.sap.security.core.persistence.datasource.PersistenceException: BAPI_USER_GET_DETAIL@PEDCLNT900: ID=01, NUMBER=495, MESSAGE=You are not authorized to display users at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.handleBapiRet2Table(R3PersistenceBase.java:1234) at com.sap.security.core.persistence.datasource.imp.R3Persistence.doBapiUserGetDetail(R3Persistence.java:6918) at com.sap.security.core.persistence.datasource.imp.R3Persistence.doDispatchRead(R3Persistence.java:4488) at com.sap.security.core.persistence.datasource.imp.R3Persistence.populatePrincipalDatabag(R3Persistence.java:910) at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.getPrincipalDatabag(PrincipalDatabagFactoryInstance.java:2437) at com.sap.security.core.imp.AbstractUserAccount.init(AbstractUserAccount.java:494) at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:413) at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:57) at com.sap.security.core.imp.UserAccountFactory.getReadonlyUserAccountByLogonId(UserAccountFactory.java:693) at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:1280) at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:1322) at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:1337) at com.sap.security.core.logon.imp.AnonymousUser.initialize(AnonymousUser.java:82) at com.sap.security.core.logon.imp.AnonymousUser.getAnonymousUser(AnonymousUser.java:190) at com.sap.security.core.server.userstore.UserContextUME.enginePropertiesChanged(UserContextUME.java:833) at com.sap.engine.services.security.userstore.context.UserContext.<init>(UserContext.java:53) at com.sap.engine.services.security.server.UserStoreImpl.<init>(UserStoreImpl.java:139) at com.sap.engine.services.security.server.UserStoreFactoryCache.registerUserStore(UserStoreFactoryCache.java:142) at com.sap.engine.services.security.server.UserStoreFactoryImpl.<init>(UserStoreFactoryImpl.java:62) at com.sap.engine.services.security.userstore.UserStoreService.<init>(UserStoreService.java:51) at com.sap.engine.services.security.server.SecurityContextImpl.getUserStoreContext(SecurityContextImpl.java:213) at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.update(LoginModuleHelperImpl.java:405) at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.<init>(LoginModuleHelperImpl.java:84) at com.sap.engine.services.security.server.SecurityContextImpl.<init>(SecurityContextImpl.java:58) at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:136) at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214) at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144) at com.sap.engine.frame.core.thread.Task.run(Task.java:64) at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:81) at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:152) # #1.5 #CA34F800010D0024000000030000060C00046F6F1CC99EE0#1248422921928#com.sap.security.core.logon.imp##com.sap.security.core.logon.imp.[cf=com.sap.security.core.logon.imp.AnonymousUser][md=initialize][cl=48282]#######SAPEngine_System_Thread[impl:5]_23##0#0#Fatal##Java###Cannot find anonymous user: J2EE_GUEST [EXCEPTION] #1#com.sap.security.api.NoSuchUserException: BAPI_USER_GET_DETAIL@PEDCLNT900: ID=01, NUMBER=495, MESSAGE=You are not authorized to display users

    at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:1300)

    at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:1322)

    at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:1337)

    at com.sap.security.core.logon.imp.AnonymousUser.initialize(AnonymousUser.java:82)

    at com.sap.security.core.logon.imp.AnonymousUser.getAnonymousUser(AnonymousUser.java:190)

    at com.sap.security.core.server.userstore.UserContextUME.enginePropertiesChanged(UserContextUME.java:833)

    at com.sap.engine.services.security.userstore.context.UserContext.<init>(UserContext.java:53)

    at com.sap.engine.services.security.server.UserStoreImpl.<init>(UserStoreImpl.java:139)

    at com.sap.engine.services.security.server.UserStoreFactoryCache.registerUserStore(UserStoreFactoryCache.java:142)

    at com.sap.engine.services.security.server.UserStoreFactoryImpl.<init>(UserStoreFactoryImpl.java:62)

    at com.sap.engine.services.security.userstore.UserStoreService.<init>(UserStoreService.java:51)

    at com.sap.engine.services.security.server.SecurityContextImpl.getUserStoreContext(SecurityContextImpl.java:213)

    at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.update(LoginModuleHelperImpl.java:405)

    at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.<init>(LoginModuleHelperImpl.java:84)

    at com.sap.engine.services.security.server.SecurityContextImpl.<init>(SecurityContextImpl.java:58)

    at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:136)

    at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)

    at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)

    at com.sap.engine.frame.core.thread.Task.run(Task.java:64)

    at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:81)

    at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:152)

    -


    caused by -


    com.sap.security.api.NoSuchUserAccountException: BAPI_USER_GET_DETAIL@PEDCLNT900: ID=01, NUMBER=495, MESSAGE=You are not authorized to display users

    at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:417)

    at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:57)

    at com.sap.security.core.imp.UserAccountFactory.getReadonlyUserAccountByLogonId(UserAccountFactory.java:693)

    at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:1280)

    at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:1322)

    at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:1337)

    at com.sap.security.core.logon.imp.AnonymousUser.initialize(AnonymousUser.java:82)

    at com.sap.security.core.logon.imp.AnonymousUser.getAnonymousUser(AnonymousUser.java:190)

    at com.sap.security.core.server.userstore.UserContextUME.enginePropertiesChanged(UserContextUME.java:833)

    at com.sap.engine.services.security.userstore.context.UserContext.<init>(UserContext.java:53)

    at com.sap.engine.services.security.server.UserStoreImpl.<init>(UserStoreImpl.java:139)

    at com.sap.engine.services.security.server.UserStoreFactoryCache.registerUserStore(UserStoreFactoryCache.java:142)

    at com.sap.engine.services.security.server.UserStoreFactoryImpl.<init>(UserStoreFactoryImpl.java:62)

    at com.sap.engine.services.security.userstore.UserStoreService.<init>(UserStoreService.java:51)

    at com.sap.engine.services.security.server.SecurityContextImpl.getUserStoreContext(SecurityContextImpl.java:213)

    at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.update(LoginModuleHelperImpl.java:405)

    at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.<init>(LoginModuleHelperImpl.java:84)

    at com.sap.engine.services.security.server.SecurityContextImpl.<init>(SecurityContextImpl.java:58)

    at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:136)

    at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)

    at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)

    at com.sap.engine.frame.core.thread.Task.run(Task.java:64)

    at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:81)

    at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:152)

    -


    caused by -


    com.sap.security.api.UMRuntimeException: BAPI_USER_GET_DETAIL@PEDCLNT900: ID=01, NUMBER=495, MESSAGE=You are not authorized to display users

    at com.sap.security.core.imp.AbstractUserAccount.init(AbstractUserAccount.java:498)

    at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:413)

    at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:57)

    at com.sap.security.core.imp.UserAccountFactory.getReadonlyUserAccountByLogonId(UserAccountFactory.java:693)

    at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:1280)

    at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:1322)

    at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:1337)

    at com.sap.security.core.logon.imp.AnonymousUser.initialize(AnonymousUser.java:82)

    at com.sap.security.core.logon.imp.AnonymousUser.getAnonymousUser(AnonymousUser.java:190)

    at com.sap.security.core.server.userstore.UserContextUME.enginePropertiesChanged(UserContextUME.java:833)

    at com.sap.engine.services.security.userstore.context.UserContext.<init>(UserContext.java:53)

    at com.sap.engine.services.security.server.UserStoreImpl.<init>(UserStoreImpl.java:139)

    at com.sap.engine.services.security.server.UserStoreFactoryCache.registerUserStore(UserStoreFactoryCache.java:142)

    at com.sap.engine.services.security.server.UserStoreFactoryImpl.<init>(UserStoreFactoryImpl.java:62)

    at com.sap.engine.services.security.userstore.UserStoreService.<init>(UserStoreService.java:51)

    at com.sap.engine.services.security.server.SecurityContextImpl.getUserStoreContext(SecurityContextImpl.java:213)

    at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.update(LoginModuleHelperImpl.java:405)

    at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.<init>(LoginModuleHelperImpl.java:84)

    at com.sap.engine.services.security.server.SecurityContextImpl.<init>(SecurityContextImpl.java:58)

    at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:136)

    at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)

    at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)

    at com.sap.engine.frame.core.thread.Task.run(Task.java:64)

    at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:81)

    at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:152)

    .....

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      "Fatal##Java###Cannot find anonymous user: J2EE_GUEST [EXCEPTION] #1#com.sap.security.api.NoSuchUserException: BAPI_USER_GET_DETAIL@PEDCLNT900: ID=01, NUMBER=495, MESSAGE=You are not authorized to display users at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:1300) at "

      I think its referring to J2EE_GUEST user..

      Thanks,

      saba.

  • avatar image
    Former Member
    Nov 21, 2009 at 10:28 PM

    Hi,

    What was the solution to your problem, I am facing a similar issue.

    Thanks,

    Nitin Nayyar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Please check that while creating properties for the entity type there should not be any space in between iv_property_name if it has space it will give you the error 'You are not authorized to display user'.

      i have faced the same problem and i have solved it by using above mentioned way.

      lo_entity_property = lo_entity_type(

      iv_property_name = 'PO Number'

      iv_abap_fieldname = 'EBELN' ).

      this will throw the above mentioned error since there is space in between PO and Number.

      so you can use an underscore over there then it will resolve the issue

      like

      lo_entity_property = lo_entity_type(

      iv_property_name = 'PO_Number'

      iv_abap_fieldname = 'EBELN' ).

      Thanks,