Update User Mapping ID api

Hi,
Does anyone know if there is an api to update user mapping ids for users in EP6.0 Portal Database.
I know it can be done in the standard User Import with the inclusion of $usermapping$ but wanted to know of there is a way to do it in a bespoke program to help automate the addition of portal users who will require access to the connected R/3 system (of which there will be many).
Thanks for any help you can offer,
Steve.

Hi Steve
Try the following code.
IPortalComponentRequest req = (IPortalComponentRequest) this.getRequest();
IUserMappingService iumser = (IUserMappingService) PortalRuntime.getRuntimeResources().getService(IUserMappingService.KEY);
IUserMappingData iumdata = iumser.getMappingData("System Alias", req.getUser());
Map map = new HashMap();
try {
    iumdata.enrich(map);
} catch (Exception e) {}
String userid = (String)map.get ("user");
String password = (String)map.get ("mappedpassword");
The following code stores usermapping info.
IPortalComponentRequest req = (IPortalComponentRequest) this.getRequest();
IUserMappingService umapser = (IUserMappingService)
PortalRuntime.getRuntimeResources().getService(IUserMappingService.KEY);
IUser userid = req.getUser();
IUserMappingData iumdata = umapser.getMappingData ("System Alias", userid);
Map map = new HashMap ();
try {
     map.put("user","userid");
         map.put("mappedpassword","password");
        iumdata.storeLogonData(map);
} catch (Exception e) {response.write(e.getMessage());}
Hope this helps.
Regards,
Yoga

Similar Messages

  • Updating user image with API

    We're running portal 9.0.4.1.0 (db is 9.0.1.5.0).
    I have both dbms_ldap and java working, updating text attributes of a user in th eOID (name, phone etc).
    How can I use any of the methods for setting a new jpegphoto for a user?
    With dbms_ldap I've gotten it to run without error but with no effect.
    Java gives me "javax.naming.directory.InvalidAttributeValueException: Malformed 'jpegphoto' attribute value;"
    This version of dbms_ldap doesn't have blobs, just raws.
    Any ideas?
    Kind regards
    Tomas Albinsson

    Tomas,
    I don't have an example... but careful cause the DBMS_LDAP API has support for binary attributes of sizes till 32k in 9x DB version. Why you don't use the ldapadd functionality? It will be a lot easier... Plus the images are not something you change that often.
    I hope it helps...
    Cheers,
    Pedro.

  • Give me information on user mapping in EP

    Hi
    we are using Ep7.0 with backend ECC 6.0 and we have LDAP server for SSO.
    Here my question is:
            Is there any automated process for mapping EP user with backend user.
    Note: our ume datasource is config as LDAP readonly and DB.
    rgds..

    Update User Mapping ID api
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/retrieve%2buser%2bmapping%2bdata
    reward points if helpful

  • While updating user Details I am gettingsome error

    Hi ,
    While updating the user details from OIM server(OIM 9102 BP12) I am getting following error.Same is working properly on BP02.Can anybody help me to find out what is the root cause of this problem?
    - I am trying to ceare a user through PSFT test utility, and getting following error.Same error is coming when we are creating user from
    OIM server console.
    Running GETROGUEACCOUNTSAMACCOUNTNAME
    Target Class = com.thortech.xl.utilities.rogueAccountDetect
    $$$ Rogue Account Detect $$$
    The reconType query is: select obj_name from obj where obj_key=(select obj_key from rce where rce_key=38784)
    $$$ Recon Object is: Xellerate User
    $$$ wrong recon type for rogue account detect
    tcDeptCodeChanged Running
    Nr Name Value
    0) Lookup Name Department SiteCode Mapping
    1) From Field USR_UDF_DEPARTMENT_ID
    2) To Field USR_UDF_SITECODE
    3) Debug YES
    4) SMTP Server 10.53.12.18
    5) Email To [email protected]
    6) Email From [email protected]
    7) Trigger Field USR_UDF_SITECODE
    8) Disable Resource RACF,RACF IMS_TMCC (AutoProvision)
    9) ID Field UD_RACF_ID,UD_IMSB_ID
    10) Resource Object RACF IMS_TMCC (AutoProvision)
    11) RO Form UD_RACFUSRO
    12) Field 01 Name UD_RACFUSRO_CREATE_IND
    13) Field 01 Value RACF_CREATE
    14) Field 02 Name UD_RACFUSRO_USER_TYPE
    15) Field 02 Value IMS_TMCC
    16) Translate Email Def Department Code Lookup Error
    17) RBAC Job Codes List RBAC Job Codes
    18) RBAC Departments List RBAC Departments
    19) Job Code Field USR_UDF_JOB_CODE
    SMTP Server : 10.53.12.18
    Email To : [email protected]
    Email From : [email protected]
    Lookup Name : Department SiteCode Mapping
    From Field : USR_UDF_DEPARTMENT_ID
    Translate Email Def : Department Code Lookup Error
    To Field : USR_UDF_SITECODE
    t c D e p t C o d e C h a n g e d
    User: ()
    Old Department Code:
    New Department Code: 064010
    G E T U S E R R E S O U R C E
    This is a create
    More than one User Record Found, most likely a create
    Number of Users: 12843
    G E T L O O K U P D E F I N I T I O N S
    Lookup rows: 210
    Nr Name Value
    E V A L U A T E F I E L D D A T A
    *ACT:  :
    *OLD:  :
    *NEW: 064010 : 014
    OLD VALUE NOT FOUND IN LOOKUP!
    U P D A T E S I T E C O D E F I E L D
    Running MANAGERSEARCHCONDITIONS
    Target Class = com.thortech.xl.util.adapters.tcUtilHashTableOperations
    Running FINDMANAGER
    Running GETMANAGERCOUNT
    Running GETMANAGERKEY
    Running GENUNIQID
    Target Class = com.thortech.xl.utils.tcUserData
    <TMS 101> Flag:<Both> Checking for user in AD: khanz at server: <10.49.61.101>
    <TFS 185> Flag :<Both> Checking for user in AD: khanz at server:<10.49.61.101>
    Running CREATEGETUSERMAP
    Target Class = com.thortech.xl.util.adapters.tcUtilHashTableOperations
    Running GETUSER
    Running Create Update User Map
    Running Update Update User Map
    Running UPDATEUSER
    tcDeptCodeChanged Running
    Nr Name Value
    0) Lookup Name Department SiteCode Mapping
    1) From Field USR_UDF_DEPARTMENT_ID
    2) To Field USR_UDF_SITECODE
    3) Debug YES
    4) SMTP Server 10.53.12.18
    5) Email To [email protected]
    6) Email From [email protected]
    7) Trigger Field USR_UDF_SITECODE
    8) Disable Resource RACF,RACF IMS_TMCC (AutoProvision)
    9) ID Field UD_RACF_ID,UD_IMSB_ID
    10) Resource Object RACF IMS_TMCC (AutoProvision)
    11) RO Form UD_RACFUSRO
    12) Field 01 Name UD_RACFUSRO_CREATE_IND
    13) Field 01 Value RACF_CREATE
    14) Field 02 Name UD_RACFUSRO_USER_TYPE
    15) Field 02 Value IMS_TMCC
    16) Translate Email Def Department Code Lookup Error
    17) RBAC Job Codes List RBAC Job Codes
    18) RBAC Departments List RBAC Departments
    19) Job Code Field USR_UDF_JOB_CODE
    SMTP Server : 10.53.12.18
    Email To : [email protected]
    Email From : [email protected]
    Lookup Name : Department SiteCode Mapping
    From Field : USR_UDF_DEPARTMENT_ID
    Translate Email Def : Department Code Lookup Error
    To Field : USR_UDF_SITECODE
    tcDeptCodeChanged: new and old field value is same, returning
    tcJobCodeStatusChanged Running
    0) Trigger Field USR_UDF_JOB_CODE
    1) Debug YES
    2) Request Key Resource AD User
    3) Request Key Field UD_ADUSER_REVOKE_REQ_KEY
    4) RACF B User ID Field UD_ADUSER_B_USERID
    5) RACF T User ID Field UD_ADUSER_T_USERID
    6) RACF I User ID Field UD_ADUSER_I_USERID
    7) RACF B Resources RACF IMS_TMCC (AutoProvision)
    8) RACF I Resources RACF IMS_TMIS (AutoProvision)
    9) RACF T Resources RACF TSO_TMCC_NP (AutoProvision),RACF TSO_TMIS_NP (AutoProvision)
    10) Common Resources Lotus Notes,LAN,Internet,Stars,Focus
    11) Exclusion List Lookup.Object Exclusion List
    12) Other Delete Resources Lookup.Other Delete Resources
    13) RBAC Job Codes List RBAC Job Codes
    14) RBAC Departments List RBAC Departments
    Trigger Field : USR_UDF_JOB_CODE
    newFieldValue 99O109 oldFieldValue 99O109
    terminationFlag 0 oldTerminationFlag 0
    processFlag N
    tcJobCodeStatusChanged: new and old field value is same, returning
    ERROR,28 Dec 2010 05:49:05,199,[XELLERATE.SERVER],Class/Method: tcDataObj/eventPostUpdate encounter some problems: com.thortech.xl.dataobj.util.tcProvPolicyUtils
    java.lang.InstantiationError: com.thortech.xl.dataobj.util.tcProvPolicyUtils
    at com.thortech.xl.client.events.tcUSRevaluatePolicies.evaluatePolicies(Unknown Source)
    at com.thortech.xl.client.events.tcUSRevaluatePolicies.implementation(Unknown Source)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcUSR.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUserData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUser(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUserOperationsSession.updateUser(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.updateUser(tcUserOperations_voj9p2_EOImpl.java:1995)
    at Thor.API.Operations.tcUserOperationsClient.updateUser(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy61.updateUser(Unknown Source)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETBOOLEANVALUES.UPDATEUSER(adpSETBOOLEANVALUES.java:271)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETBOOLEANVALUES.implementation(adpSETBOOLEANVALUES.java:89)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.insertNonConditionalMilestones(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.postInsertSysVal(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createProcessORC(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForOrganization(Unknown Source)
    at com.thortech.xl.dataobj.tcOIO.provision(Unknown Source)
    at com.thortech.xl.dataobj.tcOIO.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcOrgProvisionObject.insertImplementation(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcUSR.orderUserProcess(Unknown Source)
    at com.thortech.xl.dataobj.tcUSR.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.createUserRecord(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.finishDataReceived(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,28 Dec 2010 05:49:05,207,[XELLERATE.SERVER],Class/Method: tcDataObj/save Error :Data Update Failed
    ERROR,28 Dec 2010 05:49:05,210,[XELLERATE.DATABASE],Class/Method: tcDataBase/rollbackTransaction encounter some problems: Rollback Executed From
    java.lang.Exception: Rollback Executed From
    at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.rollback(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.doRollback(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUserData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUser(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUserOperationsSession.updateUser(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.updateUser(tcUserOperations_voj9p2_EOImpl.java:1995)
    at Thor.API.Operations.tcUserOperationsClient.updateUser(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy61.updateUser(Unknown Source)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETBOOLEANVALUES.UPDATEUSER(adpSETBOOLEANVALUES.java:271)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETBOOLEANVALUES.implementation(adpSETBOOLEANVALUES.java:89)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.insertNonConditionalMilestones(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.postInsertSysVal(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createProcessORC(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForOrganization(Unknown Source)
    at com.thortech.xl.dataobj.tcOIO.provision(Unknown Source)
    at com.thortech.xl.dataobj.tcOIO.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcOrgProvisionObject.insertImplementation(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcUSR.orderUserProcess(Unknown Source)
    at com.thortech.xl.dataobj.tcUSR.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.createUserRecord(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcRCE.finishDataReceived(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
    at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Search on metalink for the following error to see lots of documents related to this error and the specific solution.
    [XELLERATE.SERVER],Class/Method: tcDataObj/eventPostUpdate encounter some problems: com.thortech.xl.dataobj.util.tcProvPolicyUtils
    java.lang.InstantiationError: com.thortech.xl.dataobj.util.tcProvPolicyUtils

  • User mapping issue using SAP net weaver developer studio

    Dear All,
    I am getting below error when updating user mapping in SAP Enterprise Portal. I was able to update the data through SAP portal but not through the below code.
    Code:
    userMapData.setSystemAlias(“WebEx”);
    mappingData.put(UmeConstants.USERNAME, "user id");
                                                                   mappingData.put(UmeConstants.PASSWORD, "pasword");
    if (!userMapData.setMappingData(newUser, mappingData,logger)) {
    errorMessage = new ErrorMessage("Set user maaping data for + " + newUser.getDisplayName() + " failed.", "ApolloUMECreateUser.setUserMappingData()");
    public boolean setMappingData(IUser iUser, Map logonData, UmeLog logger) {
            //logonData needs to be able to be null to clear the user mapping!
            if (iUser != null) { 
                try {
                      IUserMappingData mappingData = iUserMapping.getUserMappingData(systemAlias, iUser, logonData);
                    //IUserMappingService iums = (IUserMappingService)PortalRuntime.getRuntimeResources().getService(IUserMappingService.KEY);
                    //IUserMappingData mappingData = iums.getMappingData (systemAlias, iUser);
                    mappingData.storeLogonData(logonData);
                            return true;
                catch (IOException ioe) {
    return false;
                catch (Exception e) {
                            return false;
            return false;
    Error:
    #1.5#00155D007802007D0000417100000B480004F636722D1228#1396613610296#com.sap.security.core.umap.imp.UserMappingDataImp#ibm.com/ibm.com.tivoli.im.umeagent#com.sap.security.core.umap.imp.UserMappingDataImp.saveLogonDataInternal(Map, boolean)#Guest#0##n/a##88b1fdb2bbf211e3a6ac00000032f136#SAPEngine_Application_Thread[impl:3]_24##0#0#Error##Java###Cannot save logon data for principal {0} because there is no mapped backend user ID in the logon data map to save.#1#"user id, password" (unique ID: "USER.PRIVATE_DATASOURCE.un:aujastest31")#
    #1.5#00155D00780200740000411600000B480004F636722D12D8#1396613610296#System.err#ibm.com/ibm.com.tivoli.im.****umeagent#System.err#Guest#0##n/a##88cc4ee9bbf211e3b0a300000032f136#SAPEngine_Application_Thread[impl:3]_33##0#0#Error##Plain###Apr 4, 2014 5:43:30 PM com.ibm.tim.agents.UmeAgent [SAPEngine_Application_Thread[impl:3]_33] Info: Created the Writer
    #1.5#00155D007802007D0000417200000B480004F636722D18DA#1396613610296#com.sap.security.core.umap.imp.UserMappingDataImp#ibm.com/ibm.com.tivoli.im.umeagent#com.sap.security.core.umap.imp.UserMappingDataImp#Guest#0##n/a##88b1fdb2bbf211e3a6ac00000032f136#SAPEngine_Application_Thread[impl:3]_24##0#0#Error##Java###storeLogonData(Map)
    [EXCEPTION]
    {0}#1#com.sap.security.api.UMException: Mapped backend user ID not specified.
          at com.sap.security.core.umap.imp.UserMappingDataImp.saveLogonDataInternal(UserMappingDataImp.java:280)
          at com.sap.security.core.umap.imp.UserMappingDataImp.saveLogonData(UserMappingDataImp.java:251)
          at com.sap.security.core.umap.imp.UserMappingDataImp.storeLogonData(UserMappingDataImp.java:223)
          at com.ibm.tivoli.integration.im.agents.umeagent.sap.usermapping.UserMapData.setMappingData(UserMapData.java:106)
          at com.ibm.tivoli.integration.im.agents.umeagent.sap.UMECreateUser.setUserMappingData(UMECreateUser.java:381)
          at com.ibm.tivoli.integration.im.agents.umeagent.sap.UMECreateUser.UMECreateSAPUser(UMECreateUser.java:118)
          at com.ibm.tim.agents.UmeAgent.UMEProcessAddRequest(UmeAgent.java:207)
          at com.ibm.tim.agents.UmeAgent.processRequest(UmeAgent.java:134)
          at com.ibm.tim.agents.UmeAgent.doPost(UmeAgent.java:89)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
          at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
          at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
          at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
          at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
          at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
          at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
          at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
          at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
          at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
          at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
          at java.security.AccessController.doPrivileged(Native Method)
          at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
          at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

    Thanks Rodrigo for you reply.
    In Data Base user is exist and manually user mapping is working only through code i am getting error. Using code user is creating but mapping is not happening. I am sending ep6User user as iUser please find requested code.
    Please suggest Thanks in advanced!!!
    public UmeUser processRequest(com.ibm.dsml2.parser.AddRequest addRequest) {
            UmeUser ep6User = null;
            try {
                Enumeration enumAddRequestAttr = addRequest.enumerateAttr();
                Properties userAttributes = new Properties();
                while (enumAddRequestAttr.hasMoreElements()) {
                    com.ibm.dsml2.parser.Attr attr = (com.ibm.dsml2.parser.Attr) enumAddRequestAttr.nextElement();
                   if (attr.getValueCount() == 1) {
                        userAttributes.put(attr.getName(), getAttributeValue(attr));
                    else {
                        List list = new ArrayList(attr.getValueCount());
                        for (int i = 0; i < attr.getValueCount(); i++) {
                            list.add(getAttributeValue(attr, i));
                        userAttributes.put(attr.getName(), list);
                ep6User = new UmeUser(userAttributes, logger);
            catch (Exception e) {
                logger.log(this.getClass().getName(), e);
            return ep6User;

  • SPNego for user mapping

    Hi All,
    How to use SPNego for user mapping?
    Please tell me how to configure SPNego for USer Mapping?
    Kumar

    Update User Mapping ID api
    i followed the above thread and wrote the code in a java file as below
    IPortalComponentRequest req = (IPortalComponentRequest) this.getRequest();
    IUserMappingService umapser = (IUserMappingService)
    PortalRuntime.getRuntimeResources().getService(IUserMappingService.KEY);
    IUser userid = req.getUser();
    IUserMappingData iumdata = umapser.getMappingData ("System Alias", userid);
    Map map = new HashMap ();
    try {
    map.put("user","userid");
    map.put("mappedpassword","password");
    iumdata.storeLogonData(map);
    } catch (Exception e) {response.write(e.getMessage());}
    but problem is it is throwing compilation error for  IPortalComponentRequest req = (IPortalComponentRequest) this.getRequest();(getReques() cannot be used for the type classname)
    please help me in resolving this issue
    points will be rewarded for sure.

  • Java api: User mapping information

    Hi all,
    is it possible using Java Api to read User mapping information.
    I need user name my portal user mapped to.

    found an answer: Re: Getting User ID and Password Mapped to the Users

  • My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    Hi,
    You could use FND_FLEX_LOADER_APIS.UP_VALUE_SET_VALUE to upload them from staging table (I suppose you mean value set values...).
    You can find a sample scripts if you google around.
    What do you mean "how to map any API to our staging table" ?
    You should do at least the following mapping (which column(s) in the staging table will provide these information):
    - the 3 value sets name which you're going to update/upload (I suppose these are existing value sets or which have been already created)
    - the value set values and  description
    Try to start with something and if there is any issues the community could then help... but for the time being with the description of the problem you have provided, that's the best I can do...

  • JAVA API Personalization iview / User Mapping

    I am using the following code snippet to get the
    User Mapping from the "Personalization" iview
    IUserMappingData iumd = iums.getMappingData (systemalias, iuser);
    Is there a similiar SET method?
    TIA -hs

    hI
    When you use umdata.enrich(map), soon after that, use SET property in the Hash Map and finally call umdata.storeLogonData(Map). This map should contain updated credentials.
    Hope this works.
    Pls reward points if useful
    Murali.

  • Enabling a User through OIM API

    Hi I am trying to enable a user through OIM API, However the end date is already passed for that user, I am setting up a new end date through the Program (showm below). However the update user is not working (i am not sure).
    Map usermap = new HashMap();
    usermap.put("Users.User ID", User_id );
    Map grpmap = new HashMap();
    grpmap.put("Groups.Group Name", Group_Name);
    tcResultSet ts = userClient.findUsers(usermap); //find all users
    String existing_end_date = ts.getStringValue("Users.End Date");
    tcResultSet tg = groupClient.findGroups(grpmap); //find requireq group
    long ukey = ts.getLongValue("Users.Key");
    long gkey = tg.getLongValue("Groups.Key"); //find group key
    // ENABLE THE USER
    java.util.Date new_end_date = new java.util.Date(111,1,1);
    Calendar cal = Calendar.getInstance();
    cal.setTime(new_end_date);
    DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
    String Str1 = dateFormat.format(cal.getTime());
    String Str2 = existing_end_date + " 12:00:00";
    System.out.println(User_id+" OLD End Date:" + Str2 + " New End Date: " + Str1);
    Map usermap2 = new HashMap();
    usermap2.put("Users.User ID", User_id );
    usermap2.put("Users.End Date", Str1);
    userClient.updateUser(ts,usermap2);
    userClient.enableUser(ukey);
    I am getting the following error:
    U0000018 OLD End Date:2009-09-30 12:00:00 New End Date: 2011-02-01 12:00:00
    2/12/2010 15:02:53 oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    Thor.API.Exceptions.tcAPIException: The user cannot be enabled because the end date is passed.
    Not sure why it is happening. It looks like the Updateuser is not working, or something else?
    Please advise. Thanks in advance.

    Hi Suren,
    thanks for the note.
    I found that as soon as I enable the user, I am getting the followimg messages in the opmn logs:
    INFO,06 Dec 2010 10:55:41,841,[XELLERATE.JAVACLIENT],System Event Handler: Validating Organization for an User.
    INFO,06 Dec 2010 10:55:41,944,[XELLERATE.JAVACLIENT],System Event Handler: Triggering Processes related to User.
    INFO,06 Dec 2010 10:55:42,402,[XELLERATE.JAVACLIENT],System Event Handler: Enabling the User
    INFO,06 Dec 2010 10:55:42,421,[XELLERATE.JAVACLIENT],System Event Handler: Validating Organization for an User.
    INFO,06 Dec 2010 10:55:42,427,[XELLERATE.JAVACLIENT],System Event Handler: Triggering Processes related to User.
    INFO,06 Dec 2010 10:55:42,439,[XELLERATE.JAVACLIENT],System Event Handler: Changing application data based on Organization change.
    INFO,06 Dec 2010 10:55:42,442,[XELLERATE.JAVACLIENT],System Event Handler: Auto-Group Membership Event.
    INFO,06 Dec 2010 10:55:43,715,[XELLERATE.JAVACLIENT],System Event Handler: Evaluating User Policies
    So, the access policies are getting evaluated, triggering provisioning processes.
    What I am planning to do is, to disable the access policies and try to run the Program.
    Because of this issue, my Program is throwing an error (until I looked into the opmn logs, it doesn't make sense).
    6/12/2010 10:55:50 oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    Thor.API.Exceptions.tcAPIException: Error occurred enabling Xellerate User instance.
    Regards
    Vijay Chinnasamy

  • Update User

    Does anybody know how to map "Change password at next logon" and "Account Lockout" from ProcessForm to UserForm
    Goal is when we run AD target reconciliation these attributes will get updated in process Form fields which inturn should update OIM fields

    If you are sure that you are never going to have multiple instances of the AD resource for any user and you always wanna update these fields with whatever data come then you can also do the following:
    - Create two tasks like 'Change Password in User Form' and 'Change Account Lockout in User Form' in the Process Definition for AD. These tasks must fetch the values from the form and set it to the user form using API's.
    - Map these tasks under the Tasks to generate section of the Reconciliation Insert Received and Reconciliation update Received.
    This should work.
    Thanks
    Sunny

  • Scheduled automatic upload of roles/user mapping from R/3 to EP6

    EP6.0 offers a nice tool to <b>upload roles</b> together with the <b>user mapping</b> from an R/3 backend system to the portal. This works very well, but in an environment where the user mapping happens on the backend system this <b>manual</b> process has to be repeated to keep the user mapping up to date.
    It would be very useful if this process could run in <b>batch mode</b> and could be <b>scheduled</b>. Does anyone has a solution for this problem?
    The way the portal user administration is designed works maybe very good for small companies, but for large companies with many users a <b>batch upload tool</b> is really needed!
    <b>People from SAP</b> have told me that they are thinking about such a tool, but the pressure from the customers is not high enough to put it on their project list. So maybe we can <b>unite forces</b> to increase pressure on SAP project management.

    Dear Krishna,
    There are a few solutions for this problem and we are investigating some of them now:
    - you can use an LDAP server. Transfer users and the groups to which they belong from the R3 system to LDAP. The groups correspond to the roles the users have. The portal can use the groups on the LDAP server. The portal roles have to be attached to the groups and not to the users.
    - we are also thinking about writing a JAVA program that automizes the manual role upload that SAP delivers in the portal. The KM part of the portal contains a scheduler which can be used to schedule the upload of uesr mappings from R3 to the portal.
    - you can also make an ABAP web service that is called from a program on the portal to transfer the usermapping. The program makes use of the UME API.
    - Or you can make an ABAP program on R3 that calls a JAVA program on the portal that makes use of the UME API to store the user mapping on the portal.
    your iview question:
    Maybe you can change the default setting for the preferred GUI in the master iview that is used for the creation of the iviews. When you create a new iview the portal creates a delta link based on the master iview., so when you change the master iview all new created iview based on the master iview will have the correct setting immediately.
    Best regards,
    Johan

  • Getting Error in User Mapping

    Menu path :  User Administration > User Mapping > User Mapping .
    Searching    (blank) in Users
    Clicking start
    getting the following error :
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.user_administration/com.sap.portal.user_mapping/com.sap.portal.userMappingAdmin/com.sap.portal.userMappingAdmin
    Component Name : com.sap.portal.usermanagement.admin.UserMappingAdmin
    User with id USER.R3_DATASOURCE.AC010-99 not found!.
    Exception id: 05:41_15/12/05_0004_3446650
    See the details for the exception ID in the log file
    Please help me out. cannot understand anything .

    Hi Alfred
    In the log file I found the following information :
    Date : 12/19/2005
    Time : 10:52:40:250
    Category : /System/Server
    Message ID : 00142216317C004A0000000B0000095C0004083FBD63465C
    Severity : Error
    Location : com.sap.portal.portal
    Source Name : com.sap.portal.portal
    Thread : Thread[PRT-Async 0,5,PRT-Async]
    Message : Exception ID:10:52_19/12/05_0005_3446650
    [EXCEPTION]
    com.sapportals.portal.prt.component.
    PortalComponentException: Error in service call of Portal
    Component
    Component : pcd:portal_content/administrator/super_admin/
    super_admin_role/com.sap.portal.user_administration/
    com.sap.portal.user_mapping/
    com.sap.portal.userMappingAdmin/
    com.sap.portal.userMappingAdmin
    Component class : com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent
    User : RAKTIMB
         at com.sapportals.portal.prt.core.PortalRequestManager.
    handlePortalComponentException(PortalRequestManager.java:969)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.
    AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.
    run(AsyncIncludeRunnable.java:390)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable
    .run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.
    run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sapportals.portal.prt.component.
    PortalComponentException: PortalComponentException
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doHandleHTMLBEvent(UserMappingAdminComponent.java:438)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doContent(UserMappingAdminComponent.java:150)
         at com.sapportals.portal.prt.component.
    AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.
    AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    callPortalComponent(PortalRequestManager.java:328)
         ... 7 more
    Caused by: com.sap.security.api.NoSuchUserException: User with id USER.R3_DATASOURCE.AC010-99 not found!
         at com.sap.security.core.imp.UserFactory.getReadonlyUsers(UserFactory.java:274)
         at com.sap.security.core.imp.UserFactory.getUsers(UserFactory.java:288)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingTableModel.searchUsers(UserMappingTableModel.java:171)
         at com.sapportals.portal.prt.component.usermanagement.
    UMTableModel.searchUsers(UMTableModel.java:566)
         at com.sapportals.portal.prt.component.usermanagement.
    UMTableModel.search(UMTableModel.java:438)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doHandleHTMLBEvent(UserMappingAdminComponent.java:226)
         ... 11 more
    Datasource : 3446650:D:\usr\sap\EP1\JC00\j2ee\cluster\server0\log\defaultTrace.trc
    Application : sap.com/irj
    Argument Objs : com.sapportals.portal.prt.component.
    PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/administrator/super_admin/
    super_admin_role/com.sap.portal.user_administration/
    com.sap.portal.user_mapping/com.sap.portal.
    userMappingAdmin/com.sap.portal.userMappingAdmin
    Component class : com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent
    User : RAKTIMB
         at com.sapportals.portal.prt.core.PortalRequestManager.
    handlePortalComponentException(PortalRequestManager.java:969)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.
    AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.
    AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
         at com.sapportals.portal.prt.core.async.
    ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.
    run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sapportals.portal.prt.component.
    PortalComponentException: PortalComponentException
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doHandleHTMLBEvent(UserMappingAdminComponent.java:438)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doContent(UserMappingAdminComponent.java:150)
         at com.sapportals.portal.prt.component.
    AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.
    AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    callPortalComponent(PortalRequestManager.java:328)
         ... 7 more
    Caused by: com.sap.security.api.NoSuchUserException:
    User with id USER.R3_DATASOURCE.AC010-99 not found!
         at com.sap.security.core.imp.UserFactory.getReadonlyUsers(UserFactory.java:274)
         at com.sap.security.core.imp.UserFactory.
    getUsers(UserFactory.java:288)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingTableModel.searchUsers(UserMappingTableModel.java:171)
         at com.sapportals.portal.prt.component.usermanagement.
    UMTableModel.searchUsers(UMTableModel.java:566)
         at com.sapportals.portal.prt.component.usermanagement.
    UMTableModel.search(UMTableModel.java:438)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doHandleHTMLBEvent(UserMappingAdminComponent.java:226)
         ... 11 more
    Arguments : com.sapportals.portal.prt.component.
    PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/administrator/super_admin/
    super_admin_role/com.sap.portal.user_administration/
    com.sap.portal.user_mapping/com.sap.portal.
    userMappingAdmin/com.sap.portal.userMappingAdmin
    Component class : com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent
    User : RAKTIMB
         at com.sapportals.portal.prt.core.PortalRequestManager.
    handlePortalComponentException(PortalRequestManager.java:969)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.
    AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
         at java.security.AccessController.
    doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.
    AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
         at com.sapportals.portal.prt.core.async.
    ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.
    run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sapportals.portal.prt.component.
    PortalComponentException: PortalComponentException
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doHandleHTMLBEvent(UserMappingAdminComponent.java:438)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doContent(UserMappingAdminComponent.java:150)
         at com.sapportals.portal.prt.component.
    AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.
    AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    callPortalComponent(PortalRequestManager.java:328)
         ... 7 more
    Caused by: com.sap.security.api.NoSuchUserException: User with id USER.R3_DATASOURCE.AC010-99 not found!
         at com.sap.security.core.imp.UserFactory.getReadonlyUsers(UserFactory.java:274)
         at com.sap.security.core.imp.UserFactory.getUsers(UserFactory.java:288)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingTableModel.searchUsers(UserMappingTableModel.java:171)
         at com.sapportals.portal.prt.component.usermanagement.
    UMTableModel.searchUsers(UMTableModel.java:566)
         at com.sapportals.portal.prt.component.usermanagement.
    UMTableModel.search(UMTableModel.java:438)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doHandleHTMLBEvent(UserMappingAdminComponent.java:226)
         ... 11 more
    Dsr Component : IN45CCUSAPEP01_EP1_3446650
    Dsr Transaction : 77742a80704f11da8ab400142216317c
    Dsr User : Guest
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 1
    Relatives : /System/Server
    Resource Bundlename :
    Session : 314
    Source : com.sap.portal.portal
    ThreadObject : Thread[PRT-Async 0,5,PRT-Async]
    Transaction :
    User : RAKTIMB
    Regards
    Raktim

  • EP + BW: Problems with user mapping in the portal

    Hi,
    I'm trying to connect the portal with the BW by using the report RSPOR_SETUP which is a step-by-step guide. The steps #1 - #11 seems to be ok but my problem is the 12th step, the user mapping/allocation maintenance in the portal.
    There is an error emerging (in BW): System failure during call of function module RSWR_RFC_SERVICE_TEST (System failure indicates normally an authentication problem between ABAP and Java)
    Another error is emerging by testing the connection in the portal. (System administration u2013 system configuration u2013 system landscape u2013 connection test: the first connection, the SAP Web-AS connection is ok but the second, connection test for connector, is not working.
    Especially the connection to the backend system with the defined connector is not working. The output is: u201CConnection failure. Check that single sign on is correct configured.
    On step 12 of the step-by-step guide I have to select a user in the portal, relate him to a system alias und maintain his technical username and password for the BW. I think here is the problem. Iu2019m able to select and save a system alias for the user, but Iu2019m not able to save his technical username and password. There is another error emerging (in the portal): u201CVerification of user mapping data for system SAP_BW failed, check credentials for errorsu201D, so Iu2019m not able to save the username and password.
    I think thats the my problem. the log file confirms that: "Did not find any existing logon data for principal...." & "No user mapping data available for principal...."
    I hope my problem description is understandable.
    Any ideas how I can solve the credentials problem to save the username and the password?
    Thanks in advance.
    Tan
    Edited by: Tan Yildiz on Jul 22, 2009 1:26 PM

    I could deploy some of the usage types, but there is an error regarding the BI-REPPLAN package. I think it's one of the very last errors that stands between me and a working EP - BI connection. There is a problem with the version. Could you check the log details, to find out more?
    Thank you.
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[D:\usr\sap\BIP\JC02\SDM\program\log\sdmcl20090806164716.log]/>
    <!PATTERN[sdmcl20090806164716.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[UTF8]/>
    <!LOGHEADER[END]/>
    Aug 6, 2009 6:47:16 PM   Info: -
    Starting validation -
    Aug 6, 2009 6:47:16 PM   Info: Prerequisite error handling strategy: OnPrerequisiteErrorSkipDepending
    Aug 6, 2009 6:47:16 PM   Info: Update strategy: UpdateLowerOrChangedVersions
    Aug 6, 2009 6:47:16 PM   Info: Starting deployment prerequisites:
    Aug 6, 2009 6:47:18 PM   Info: Loading selected archives...
    Aug 6, 2009 6:47:18 PM   Info: Loading archive 'D:\usr\sap\BIP\JC02\SDM\program\temp\BIREPPLAN04_0-10005889.SCA'
    Aug 6, 2009 6:47:21 PM   Info: Selected archives successfully loaded.
    Aug 6, 2009 6:47:21 PM   Error: Unresolved dependencies found for the following SDAs:
    1.: development component 'bi/plan/helpers/table2'/'sap.com'/'MAIN_NW701P03_C'/'2846642'/'0'
    dependency:
           name:     'bi/alv/common'
         vendor:     'sap.com'
    There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    dependency:
           name:     'bi/alv/ui'
         vendor:     'sap.com'
    There is no component either in SDM repository or in Deployment batch that resolves the dependency.
    Deployment will be aborted.
    Aug 6, 2009 6:47:21 PM   Error: No Software Component Archive (SCA) or Software Delivery Archive (SDA) selected. Select at least one.
    Deployment will be aborted.
    Aug 6, 2009 6:47:21 PM   Error: Prerequisites were aborted.
    Aug 6, 2009 6:47:22 PM   Error: Error while creating deployment actions. No Software Component Archive (SCA) or Software Delivery Archive (SDA) selected. Select at least one.
    Deployment will be aborted.
    Aug 6, 2009 6:47:23 PM   Info: -
    Ending validation -

  • User mapping certificate in UME (J2EE) with ABAP system as Backend (SNC)

    I hope someone can help me with the user mapping concept (X.509 V3 certificates) for both "worlds" (ABAP and JAVA Stack).
    I know how to install and configure certificate based (X.509) login to SAP ABAP and SAP JAVA (J2EE) Stack (--> enable encryption for communication and Single Sign On).
    Situation:
    We have a ready installed and configured X.509 certificate authentication environment for the ABAP world (between SAP GUI and SAP Server System)
    and the user mapping was configured in the ABAP System (SU01). As the users are using certificates, the passwords are deactivated on the ABAP System.
    Now if you want to integrate a JAVA (J2EE) Sytem and you want to configure the UME to the ABAP System (as Backend), you have an administrative effort problem with the user mapping (X.509) in the UME configuration.
    1.) It is possible to assign manually the user public key to every user --> But to much effort
    2.) As the user does not have a password (deactivated in the ABAP system), the way to combine the automatic mapping with a user login does not work.
    3.) In the distinguished name of the user certificate there is no information about the SAP username itself
        --> you are not able to use any information of the DN to bind a user in the Login Module configuration.
    Now my question:
    Is it possible to use the sncname information from the ABAP System (still configured and available) for the UME configuration?
    As i know, it is possible to write an own Login Module. Does anybody has a customized Login module for this issue?
    At the end the best solution would be to enable the same user mapping mechanism on the JAVA world as on the ABAP world. --> Mapping the Distinguished Name to the SAP User

    We have developed a login module which is working with Kerberos auth, not x.509 auth, but still solves a very similar problem to the problem you are describing. As you know, when SNC is used to logon to ABAP stack, the SNC name of the user is mapped onto a SAP user via entries in the USRACL table. Our mapping login module takes the authenticated user principal name from the shared state and uses this to lookup the entry in USRACL table on ABAP stack, and from this it will know which SAP user  to use, and can update shared state with this info so that CreateTicketLoginModule will created an SSO2 ticekt for the mapped SAP user id.
    This means that mapping of users externally authetnicated identity onto SAP user/client can be managed in one place, e.g in ABAP stack using USRACL table entires and su01 t-code etc.
    I know it is not exactly what you wanted, since you are looking to use x.509 certifiates instead of Kerberos authentication, but I thought it was worth sharing so that you know the concept has already been implemeneted many times. Many of our customers use this login module when they have our product, for the same reasons that you have stated.
    Thanks,
    Tim

Maybe you are looking for

  • Adobe Cloud Photoshop CC - App Language

    I just signed and download Photoshop CC for one month trial. I signed in the com site and was expecting to get the English version. Instead I just opened the app and it is in Italian. I want the English one, it will be easier for me to understand and

  • How can I use the Warranty on my LaserJet Toner Cartridges ?

     I have accumulated a total of 4 malfunctioning LaserJet toner cartridges in the last 6 months and I seem to be stymied trying to do anything. They are for LaserJet models 5, 6p, and 2100, and the failures are each unique print quality problems, move

  • Mac Mini Quad i7: Can't Log-in After Setup

    Today I bought a MacMini Lion Server (Quad i7) at the local Apple Store for $999.  Got home, got to work on setting it up, connected to my network, created a host name and network name, password, etc.  That's where things went very bad.  I got the me

  • Reading text from a URL location

    I am having problems trying to read a text file from a URL. This is the code i have been using: package Java; import java.net.*; import java.io.*; public class Main_1 { public static void main(String[] args) throws Exception { URL myAddress = new URL

  • Regarding Distributed Transactions

    I am aware of JDBC transactions. Now while reading EJB i came to know that EJB supports Distributed Transactions. My interpretation of Distributed transaction is e.g. Consider two CMT Beans A & B. Bean-A contains a method foo() with a transaction att