Dear all,
I'm trying to set-up the DSR (Dynamic System Resolution) on my Netweaver Portal 7.3 following this topic: http://help.sap.com/saphelp_nw73/helpdata/en/49/cd194c31f22221e10000000a42189d/frameset.htm
I created "DynamicSystemResolution.ear" file and deployed on portal. This file is composed of :
- MyAliasMapping.java
package com.mycompany; import com.sap.security.api.IGroup; import com.sap.security.api.IGroupFactory; import com.sap.security.api.IUser; import com.sap.security.api.UMException; import com.sap.security.api.UMFactory; import com.sapportals.portal.prt.component.IPortalComponentRequest; import com.sapportals.portal.prt.component.IPortalComponentResponse; import com.sapportals.portal.prt.service.IService; import com.sapportals.portal.prt.service.IServiceConfiguration; import com.sapportals.portal.prt.service.IServiceContext; public class MyAliasMapping implements IDynamicSystemService, IService { private IServiceContext mm_serviceContext; public void init(IServiceContext serviceContext) { mm_serviceContext = serviceContext; } public void afterInit() { } public void configure(IServiceConfiguration configuration) { } public void destroy() { } public void release() { } public IServiceContext getContext() { return mm_serviceContext; } public String getKey() { return KEY; } public String getAlternativeSystem(IUser user, String alias) { String system = "pcd:portal_content/com.am.poc.POC/com.poc.system.system/com.poc.system.SAP_SRM"; return system; } }
- IDynamicSystemService.java
package com.mycompany; import com.sap.security.api.IUser; public interface IDynamicSystemService { public static final String KEY = "DynamicSystemService"; public abstract String getAlternativeSystem(IUser user, String alias); }
- portalapp.xml
<?xml version="1.0" encoding="utf-8"?><application> <registry> <entry path="/runtime/alias.mappers/dsr" name="dsr_srv" type="service"/> </registry> <application-config> <property name="releasable" value="false"/> <property name="startup" value="true"/> <property name="ServicesReference" value="com.sap.portal.ivs.api_dynamicSystemService"/> </application-config> <components/> <services> <service name="dsr_srv"> <service-config> <property name="className" value="com.sap.MyAliasMapping"/> <property name="startup" value="true"/> </service-config> </service> </services></application>
I created a transaction iView and specified as System "dsr" but when preview the iView, I'm face to a Runtime error saying that there is no system alias corresponding to "dsr".
I tried to check the deployment as it is mentionned here: http://help.sap.com/saphelp_nw73/helpdata/en/49/cd18d531f22221e10000000a42189d/frameset.htm, I tested succefully the resolving service but I could not Support Desk in System Administrator > Support ...
Please could you help me to solve this issue,
Many thanks to you by advance !