on 05-03-2007 6:47 AM
Dear all,
I have created system landscape to access the backend system in portal.
How do i get the password in webdynpro, so that i can pass username and credentials to the backend system.
With Regards,
Laksh.
Hi
goto system administration> system configuration> open the created system for editing.
goto properties-->select WAS
enter the WAS Hostname , port number, and WAS Protocol --https/http
and save
regards
ambica
null
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Problem has been solved.
try
{
IWDClientUser wdUser = null;
HashMap map1 = null;
try
{
wdUser = WDClientUser.getCurrentUser();
}
catch(WDUMException e1)
{
// TODO Auto-generated catch block
e1.printStackTrace();
}
IUser user = wdUser.getSAPUser();
user = wdUser.getSAPUser();
logonID = user.getUniqueName();
ArrayList systemLandscapes = UMFactory.getSystemLandscapeWrappers();
ISystemLandscapeWrapper systemLandscape =(ISystemLandscapeWrapper) systemLandscapes.get(0);
ISystemLandscapeObject systemLandscapeObject =systemLandscape.getSystemByAlias("XYZ");
IUserMapping mappings = UMFactory.getUserMapping();
// boolean test = mappings.existsMappingData(systemLandscapeObject, user);
IUserMappingData mappingData = mappings.getUserMappingData(systemLandscapeObject, user);
mappingData.isMappingDirect();
map1 = new HashMap ();
try
{
mappingData.enrich (map1);
}
catch (NoLogonDataAvailableException nldae)
{
}
logonID = (String)map1.get( "user" );
passWord = (String)map1.get ("mappedpassword");
}
catch(Exception e)
{
}
With regards,
Laksh.
Message was edited by:
Laksh
we could able to retrieve the password from the backend : by using IUserMapping and IUserMappingData...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
do you run the application from url adrress or as a portal iview?
in web dynpro iview there is a system parameter : you can choose the local system or every other system that you created and tested
check this link
http://help.sap.com/saphelp_nw04/helpdata/en/77/931440a1c32402e10000000a1550b0/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Laksh
Have set the properties of WAS for your created system?
regards
ambica
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear all,
for further information..i receive the following error while running the WD application.
com.sap.tc.webdynpro.progmodel.controller.MessageManager$AbortMessageManagerException: System alias 'pcd:portal_content/other_vendors/every_user/X/y/X.Y.mysystem' does not point to a valid PCD location and seems to be either corrupted or simply missing.
at com.sap.tc.webdynpro.progmodel.controller.MessageManager.raiseException(MessageManager.java:430)
at com.first.app.FirstAppView.wdDoInit(FirstAppView.java:160)
at com.first.app.wdp.InternalFirstAppView.wdDoInit(InternalFirstAppView.java:169)
With regards,
Laksh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.