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;
Similar Messages
-
SAP Net weaver Development studio
Hi All,
We are going to implement SAP Portal in my office soon .
I am planning to try small Java applications etc . pls advice is it posible to download and use SAP Net weaver Development studio
without sap in my system .
Just i wanted learn basics of SAP Net weaver Development studio.
Thanks,
RaniHi Rani,
answering your question in short: yes and no.
A bit longer: yes, if you have authorization to the NWDS download page, then you can download it, and work with it locally, but without a SAP J2EE Engine you cannot test your application in runtime, as you cannot deploy it anywhere.
As an alternative, you can also create a Developer Workplace installation, which includes an NWDS and a local J2EE Engine you can use to do local tests. Both will be installed on your client side machine. This kind of engine intallation is not meant to be serve a complete server, but meant to be only for testing your local developments on client side.
Some info on DWP:
#924983 -- Developer Workplace Installation for SAP NetWeaver 7.0
(http://service.sap.com/sap/support/notes/924983)
A forum thread in this topic:
Netweaver developer workplace and Infrastructure
(I tried to find a CE version of these infos, maybe someone else can add this info.)
Best Regards,
Ervin -
Probblems Net Weaver Developer Studio (NWDS) caused by Internet Explorer 7
Hi,
I figured out that the view designer in NWDS does not work properly.
It managed to draw a preview of a view but after a change the preview desappeared and I sow a window with the message: "The browser cannot display the webpage" and so on.
After hours of searching I figured out that the update from 2007-12-15/16 of Internet Explorer changed the IE7 and made the view designer not to work properly.
I've unistalled the update and now I can work back againd with NWDS.
I've checked 3 versions of NWDS, namely 2.0, 7.0 SP09, 7.0 SP10, and all of them have the same problems.
My conclusion: SAP shouldn't rely on such system and IE dependant elements in NWDS.Hello,
The given update is the "Cumulative security update for Internet Explorer" - KB942615 [link|http://support.microsoft.com/kb/942615].
I does "break" the WD Layout visualization in NWDS, working under Windows XP or Vista.
Cheers
Marlo Simon. -
Hi Regarding How to work on SAP Net Weaver CE 7.1 and BPM
Hi Friends
I need Some help from u r side
Currently i have got work on SAP Net Weaver CE 7.1 and BPM (Business Process Management)
How to Work on these SAP Net Weaver CE 7.1 and BPM (Business Process Management)
If u have any Documents .can u give that links
How Configure SAP Net Weaver CE 7.1 with NWDI can u tell me this think also
Regards
VijayHi Friend,
You can follow following pointers hope it will help.
[SAP NetWeaver MDM-7.1 Key Mapping interoperability with SAP NetWeaver Process Integration-7.1 using Web Services u2013 Webinar Presentation|FEATURED EVENTS;
[Best Practices Workflow for Master Data Managemen|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50f1c01b-972d-2c10-3d9d-90887014fafb]
[Best Practices on Workflow Tools Usage for Master Date Management (MDM) Scenarios - Webinar Presentation|http://www.sdn.sap.com/irj/sdn/index?rid=/library/uuid/c0fee6f1-8795-2c10-8ca9-e4883bae5e81]
Regards
Jeetendra -
Is SAP net weaver environment necessary to configure/customize IC Webclient
Hello Expert,
Is SAP net weaver environment necessary to configure/customize IC Web client and Internet sales?
Please guide me.
Thanks & Regards
SatishSingle Sign On is optional.
What would happen is that the user that's using the Web Application Designer will have to have access to Portals, and the portal Sign On screen will appear once that user executes a Web Template.
It also depends on the Portal Strategy and the Security Strategy of your client. For example, the portal may only grant access to those used IDs in the Active Directory, so if your BEx WAD user is not defined in Active Directory that user will not have access to portals, and will not be able to execute the Web Template.
Cheers. -
Reg:SAP Net weaver CE 7.2 ,AS Java is not starting
Hi,
i am new to SAP Net-weaver CE 7.2 ,i have installed SAP NW CE 7.2 Trial version on my system.But when i start the SAP MMC
AS Java proess is not starting.
In the developer trace file it is mentioned that Connection to message server failed.i think the problem is with default communication ports used by the SAP.
Can any one suggest me how to change these default ports to some other ports ?
The trace file says the following:
M [Thr 4516] Tue Oct 05 12:31:59 2010
M [Thr 4516] ***LOG Q0I=> NiPConnect2: 172.25.0.127:3201: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3255]
M [Thr 4516] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 33/sock 1492
(SI_ECONN_REFUSE/10061; I4; ST; 172.25.0.127:3201) [nixxi.cpp 3255]
E [Thr 4516] *** ERROR => EnqTCDisconnect: EnqTCIGetConn failed; invalid TChdl 33 [enxxtc.c 346]
M
M [Thr 4516] Tue Oct 05 12:32:00 2010
M [Thr 4516] ***LOG Q0I=> NiPConnect2: 172.25.0.127:3901: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 3255]
M [Thr 4516] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 25/sock 1512
(SI_ECONN_REFUSE/10061; I4; ST; 172.25.0.127:3901) [nixxi.cpp 3255]
M [Thr 4516] *** ERROR => MsINiWrite: NiBufSend (rc=NIECONN_REFUSED) [msxxi.c 2730]
M [Thr 4516] *** ERROR => MsIAttachEx: MsINiWrite (rc=MSENILAYER) [msxxi.c 881]
M [Thr 4516] *** ERROR => MsPrvGetHdl2: not_attached [msxxi.c 1956]
Thanqx in advance..............>LOG Q0I=> NiPConnect2: 172.25.0.127:3201: connect (10061: WSAECONNREFUSED: Connection refused)
Mean your application is not able to connect to IP 172.25.0.127 on port 3201.
what is your server IP? can you please do below test from command prompt
telnet 172.25.0.127 3201
also send log from dev_icm -
How to download and install SAP Net Weaver Gateway Plug-in for Eclipse?
I have installed the SAP UI5 development tool kit for Eclipse. What else should I do? How can I download SAP Net Weaver Gateway Plug-in for Eclipse?
After developing the application, should I run that with Apache Tomcat? How to get the access to database?you can find netweaver gateway tool from SAP Development Tools for Eclipse. and follow the installation instructions
-
Does Session Sharing feature provided by SAP Net Weaver application server
Hi All,
Session Sharing is an additional feature provided by Tomcat , Weblogic and Web sphere application servers.
Is this feature available in SAP Net Weaver application server?
Brief description on Session Sharing
Session Sharing specifies whether HTTP sessions are shared across multiple Web applications.
In Weblogic this is an optional feature customizable in weblolgic-application.xml
Sample weblogic-application.xml
<?xml version='1.0' encoding='UTF-8'?>
<weblogic-application xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<session-descriptor>
<persistent-store-type>replicated_if_clustered</persistent-store-type>
<sharing-enabled>true</sharing-enabled>
</session-descriptor>
</weblogic-application>
session-descriptor (Optional Element ) - Specifies a list of configuration parameters for servlet sessions.
sharing-enabled (Optional Element ) - Specifies whether HTTP sessions are shared across multiple Web applications. Default value is false.
Thanks in advance.
Regard's
Srikanth
Edited by: Srikanth A on May 14, 2010 7:36 PMHi,
You cannot set up Garbage collection frequency. it is internally handled by Java when the Heap size is filled up.
You can always fine tune your server to SAP recommendations.
Note 723909 is a good starting point.
Also other checks include that you use SAP recommended Java versions, OS patches and also that you have enough physical memory.
Thanks & Regards,
Vijith -
can any1 provide me the link to download SAP net weaver application server ABAP trial version which is compatible with Windows 8& 8.1,Plz ..
Hi Pedro,
could you fix the error?
I'm installing and I have the same problem.
An error occurred while processing option SAP NetWeaver 7.0 SR1 including Enhancement Package 1 > SAP Application Server ABAP > MaxDB > Central System > Central System( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.). You can now:
Choose Retry to repeat the current step.
Choose View Log to get more information about the error.
Stop the option and continue with it later.
Log files are written to C:\Archivos de programa/sapinst_instdir/NW701/AS-ABAP/ADA/CENTRAL/.
Thanks.
Anibal -
SAP Net Weaver Version 7.0 Installation
Hello Experts,
Iu2019m totally new in SAP products and I would like to ask about the installation steps as the following:
1-Iu2019m planning to install the following SAP products in one server (16GB RAM, 1TB HDD, Win 2003):
A-Oracle Database Version 10.2
B-SAP Solution Manager Version 7.1
C-SAP Net Weaver Version 7.0
D-SAP ERP-EHP5
E-SAP Base Line
F-SAP CRM
G-SAP SRM
So, is that the right order for the installation, can I install all this products in one server as a demo server?
2-I start the installation steps and I have finished the Database setup (10.2 then patch 10.2.0.4) then installed SAP Solution Manager Version 7.1 and I select Central System Installation Type, and the installation is Finished Successfully, but after the installation I did not find any new programs under windows start menu or all programs, I just found SAP Management Console, so is that the right behavior for this type of installation or I miss something?
3-I follow up all the steps that found in Solution Manager Master Guide until post installation tasks, the first step is to logon the application server, but I did not found it in the all programs menu is that the right behavior?
Thank You And,
Best Regards.
Tarek SalamaHi ,
Welcome to World of SAP !
Please find the suggestions for your queries .
1- Install all the products in one server is not possible .
For each product kindly go through the SAP Installation Guides available
in SAP Market Place . To be more precise kindly study the SAP architecture
basically R/3 3 tier architecture . this will answer your query regarding
installation of Database , SAP application, and Frontend (SAP GUI)
To know About installation & Master Guides of all the below listed product check the link
https://websmp209.sap-ag.de/~form/handler?_APP=00200682500000001943&_EVENT=SWDC_ALIAS&TMPL=INTRO_SWDC&V=INST&SWDCQL=swdc&SELAREA=swdc1&SUBLEVEL=A_1_2_2
B-SAP Solution Manager Version 7.1
C-SAP Net Weaver Version 7.0
D-SAP ERP-EHP5
E-SAP Base Line
F-SAP CRM
G-SAP SRM
First of all not possible to install all the products in one server even for demo .
2- Good you have installed the solution manager Kindly follow the Product Availability Matrix PAM before installing the product.
and kindly study the basic architecture and then start installing SAP products .
3.As same as Answered above . Kindly check the links for SAP BASIS practice
SAPEDU Twitter account : http://twitter.com/sapedu
SAP Education Facebook page: http://www.facebook.com/SAPEducation
Education@SAP LinkedIn group: http://www.linkedin.com/groups?gid=1856570
To know the pam on windows : SAP on Microsoft Windows
SAP Basis Tips: http://www.sap-img.com/sap-bc.htm
SAP Books: http://www.sap-img.com/sap-books.htm
SAP Training CBT: http://www.sap-img.com/sap-training-cd.htm
SAP Jobs: http://www.sap-img.com/sap-jobs.htm
SAP help : http://help.sap.com/
About SAP : http://en.wikipedia.org/wiki/SAP_AG
http://en.wikipedia.org/wiki/SAP_R/3
regards,
S.Rajeshkumar -
We are trying SAP Net weaver mobile IM?
We are trying SAP Net weaver mobile IM? Where I can see records of all the activities / configuration changes by administrator etc?
HI,
I guess you are talking about Mobile Infrastrucutre (MI).
Check out the installation guide for MI
--> http://service.sap.com/instguides
As well here you find a lot of info:
http://jogel.blogspot.com/2006/07/learning-sap-mi.html
Rgds Thomas -
Trial version of SAP Web Dynpro Developer Studio.
Hi Experts,
I have downloaded and installed the trial version of Java SAP NetWeaver Application Server.
I now need to download Java SAP Web Dynpro Developer Studio.
Can any one tell me where I can download the trial version of SAP Web Dynpro Developer Studio?
Thanks,
AnnaHi,
I think u can find n/w developer studio in the service market place. http://service.sap.com/swdc
In the left panel go thorugh :-
Downloads > Support Packages and Patches > SAP NetWeaver > SAP NETWEAVER > SAP NETWEAVER 7.0 > Entry by Component > Developer Studio
Rgds
Radhakrishna -
Error when using a plugin from Developer Studio
Hi,
When trying to use VSS plugin from Developer Studio v2.0.14, I receive the error: "800401f3: Invalid class string".
Does anyone received the same error in a similar situation and know how to fix it?
Thank you in advance,
JaninaHi Janina,
First check whether you have the correct version of the plugin for the NWDS. Reason is, different versions of plugins exist for different versions of Eclipse. I wasn't able to find a version for Eclipse 2.0, may be it is hidden somewhere in the internet
If you couldn't find the correct version then you need to manually Check-in and check-out the files from the VSS client outside the Eclipse IDE.
Best regards,
Guru.
PS: Award points for replies. -
User Mapping issue with custom system
Hello,
We have an iView that allows user's to store credentials to a back end system. We have created a sytem for this, that stores custom values (not the default user / mappedpassword). The code snippet below is used:
mappingData = UMFactory.getUserMapping().getUserMappingData(systeme, user);
Map map = new HashMap();
map.put(BUSINESS_UNIT, bu);
map.put(RACF_USERNAME, username);
map.put(RACF_PASSWORD, passwd);
mappingData.storeLogonData(map);
This code has worked fine in both EP6 SP2, and with our migration to NW04 (now up to SPS17). However, when we upgraded to NW04s SPS12, I get the following error:
Exception: Doug Test - setCredentials: java.io.IOException: com.sap.security.api.UMException: Mapped backend user ID not specified.
If I add the following line to my code above, it works again:
map.put("user", username);
Any ideas on why I need to specify the user field in NW04s when I did not need to previously?
Thanks in advance for any help.Doug,
the following link might be helpful for working with NW04s UserMappingData object.
<a href="https://help.sap.com/javadocs/NW04S/current/se/com/sap/security/api/umap/IUserMappingData.html">IUserMappingData - NW04S</a>
Regards,
Shubhadip -
Want to export database not user. i am using oracle 8i and developer 6i.
i am using oracle 8i and developer 6i. i have created a button(when_button_pressed) on d2k with this command mentioned below. it is working only for user objects but i need to export database. how can i do this?
declare
com varchar2(100);
begin
host('exp tAJCO/tAJCO@tajco file=D:\dump\tajco.dmp');
if
not form_success then
message('Export failed.');
else
message('Export successful');
end if;
end;
please help me.....
thanks
mostafizmostafiz,
To Export entirel database, use the statement
Host('EXP tAJCO/tAJCO@tajco FILE=D:\dump\tajco.dmp FULL=YES DIRECT=Y',NO_SCREEN);
Regards,
Manu.
Maybe you are looking for
-
I don't want all the songs on my iPod
I have several songs on my computer that I don't want on my iPod as they're songs my wife listens to. How can I select which ones I want when I sync?
-
Best way to create an IPhone Application for my Blog
What's the best way to create an Iphone application for my Blog? I've seen several blogs that have their own application. Could use some help, Used Car parts Guy <Edited by Moderator>
-
Problem opening form: FRM-41041
hello... i am working on the customization of a standard form in order management. I have done all the customizations. but having one problem, when i open my form from the responsibilty it shows a error saying. FRM-41041 Cannot find form module: inva
-
Hi, I'm creating my own mysql database with a php frontend and I'm not really a experienced programmer but I'd like to get it connected to my address book in some way. Since now I have been using Apple's Address Book for some years and I plan to cont
-
help me!