Skip to Content

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

unable to map the portal user with back end user through web dynpro coding

Hi All,

I 've a portal user which is mapped to back end user by system in the portal.

i 'm able to get the portal user from web dynpro application.

But unable to get the mapped back end user

this is my code

String systemalias = "SAP_CRM_PROD";

Map mapattr = new HashMap();

// IPrincipal principal = (IPrincipal) request.getUser();

// get user user mapping information

IUserMappingData userMapping =

//(IUserMappingData) UMFactory.getUserMapping().getUserMappingData(systemalias, principal, mapattr);

(IUserMappingData) UMFactory.getUserMapping().getUserMappingData(systemalias,principal,mapattr );

// For testing purposes only

//mappingData = userMapping;

HashMap map = new HashMap();

userMapping.enrich(map);

mappedPassword = map.get(UMAP_KEY_PASSWORD).toString(); //String "user"

mappedUserId = map.get(UMAP_KEY_USER).toString(); /

following is the error reported .

The project was not built since its classpath is incomplete. Cannot find the class file for javax.xml.soap.SOAPMessage. Fix the classpath then try rebuilding this project.

please help.

Former Member
Not what you were looking for? View more on this topic or Ask a question