Dynamic System Resolution
Hi
i want to use the IDynamicSystemService Interface to dynamically resolve the System Based on the
User Group.
1.Has anyone done this ?
2. this interface is part of which jar file ?
3. I have to create a Portal Application Project and add a Portal Service to it. is it correct ?
Any answers ?
Regards
Rajendra
Solved.
For Ref to otheres.
1 .this is part of com.sap.portal.ivs.api_dynamicSystemService_api.jar file.
2 .need to create a Portal Service.
3. Refer this URL for Details of How to do it : [Dynamic System Resolution|http://help.sap.com/saphelp_nw70/helpdata/en/21/dfd241cb76c417e10000000a155106/content.htm]
Best Regards
Rajendra
Edited by: Rajendrakumar Gaikwad on Sep 18, 2008 9:12 AM
Similar Messages
-
Dynamic system resolution for portal published BI content
I have a Dev-Tst-Prd ABAP stack BI landscape with a corresponding Dev-Tst-Prd Java stack portal landscape.
My BI developers create reports and webdynpro applications which are then published to our portal and made available via iViews. These iViews refer to the target applications via URLs which contain hardcoded hostnames and port numbers. This makes it a pain when portal content is transported from Dev to Tst and then to Prd.
All my BI systems are known by the SAP_BW alias. I have a different system definition in each portal for the SAP_BW alias pointing to the corresponding BI backend.
Can I use dynamic system resolution for this? If so, how?
I want a URL like http://<devhost.domain>:<devport>/sap/bc/webdynpro/sap/appname to be transportable. Obviously if that starts out as http://dev.mycompany.com:8100/sap/bc/webdynpro/sap/appname, it won't work when it arrives in tst where it needs to be http://tst.mycompany.com:8110/sap/bc/webdynpro/sap/appname. If I could store the URL as something like http://<%JSP SAP_BW %>/sap/bc/webdynpro/sap/appname this could be transportable if there was something in dynamic system resolution to resolve the variable appropriately at runtime in each system.
As a Netweaver administrator, rather than a portal developer, I'm a little lost as to where to even start.Success! Thank you for your help.
What finally worked?
Create a Portal Component iView of type com.sap.portal.appintegrator.sap
Set URL Template to http://<System.wap.ITS.hostname>/sap/bc/webdynpro/sap/zcs_wd_cc_app
Set System to SAP_BW (where SAP_BW is an alias for the System entry for the system where we want the WebDynpro app to run)
Where did the help come from?
SDN (Mr Nicholls in particular)
SAP Help (http://help.sap.com/saphelp_nw70/helpdata/en/21/dfd241cb76c417e10000000a155106/frameset.htm in particular)
Where did the parameter value reference come from?
The "wap.ITS.hostname" attribute name came from the portal's system definition for SAP_BW. Under System Administration -> System Configuration -> System Landscape -> Portal Content the entry for the SAP_BW system can be displayed. In that system entry there is a field labelled SAP ITS host which contains the fully qualified hostname and port number for the ITS server delivering my application. Expanding the detail of this field (click the arrow head beside the name) shows its Property ID to be wap.ITS.hostname.
So this last answers my earlier question about where to find the valid contexts and attributes per context for the variables to substitute in the URL template. The contexts are the names of the fields available to configure the iView, the attributes are the Property IDs of the relevant information fields in the obect described by the context.
Note: This solution ended up only being required for WebDynpro content. The generated URL for WebDynpros appears to resolve any load-balance ITS URL to a specific host and port before publishing, the method here leaves the resolution until runtime - a great advantage in performance and flexibility.
The Web Application Designer published report content was generated in a transportable form already. -
Dynamic System Resolution issues
hello forumers,
i'd like to implement a Dynamic System Resolution scenario, on an EP7 sp14.
based on the examples i've found on the sap web site, i ve created some content (R/3 transaction Iviews using an alias "SAP_SRM")
I tried to change the target R/3 server, based on the group to which the user belong !
i've created a portal service : portalapp.xml =
<?xml version="1.0" encoding="utf-8"?>
<application>
<application-config>
<property name="releasable" value="false"/>
<property name="startup" value="true"/>
<property name="ServicesReference" value="com.sap.portal.usermanagement,com.sap.portal.ivs.api_dynamicSystemService"/>
</application-config>
<components/>
<registry>
<entry path="/runtime/alias.mappers/SAP_SRM" name="DSRPortalService" type="service"/>
</registry>
<services>
<service name="DSRPortalService">
<service-config>
<property name="className" value="com.airbus.DSR.DSRPortalService"/>
<property name="startup" value="true"/>
</service-config>
</service>
</services>
</application>
and a service called DSRPortalService:
public String getAlternativeSystem(IUser user, String alias) {
String pcdLocation = "pcd:portal_content/SRMSystems/";
String system = "xgi";
String userName = user.getUniqueName();
IGroupFactory fact = UMFactory.getGroupFactory();
try {
if (user
.isMemberOfGroup(
fact.getGroupByUniqueName("Group1").getUniqueID(),
true)) {
//the user is french
system = "xgi";
} else if (
user.isMemberOfGroup(
fact.getGroupByUniqueName("Group2").getUniqueID(),
true)) {
//the user is German
system = "xda";
} catch (UMException e) {
// TODO Auto-generated catch block
e.printStackTrace();
return pcdLocation + system;
when i try to acces to the R/3 trasancation i get the following exception:
Exception ID:01:18_15/01/09_0001_1852850
[EXCEPTION]
com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
Component : pcd:portal_content/Olivier/ROLES/DSR/DSRRole/SRM
Component class : com.sapportals.portal.sapapplication.SAPApplicationIntegratorComponent
User : to29267
at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
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.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
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:1039)
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:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template '<System.ConnectionString>'; the problem occured at position 0. Cannot process expression <System.ConnectionString> because Invalid System Attribute:
System: &#39;SAP_LocalSystem&#39;,
Attribute: &#39;ConnectionString&#39;.
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:123)
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
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)
... 29 more
have you got any ideas ?
best regards,
Olivier.hello,
thanks for your quick reply !
i alredy used your blog to create my DSR scenario ...
as you could see, i didn't even change the alias and i used the name you have prrovided in your blog !
please find just behind a copy of "portal runtime" in the System Administration:
Portal Application Name Depends on Dependents Access State
NewPortalAppProject com.sap.portal.ivs.api_dynamicSystemService
com.sap.portal.usermanagement service: NewPortalAppProject|DSRPortalService (refresh)
Portal Service Items :
Class Name Class Name Factory Pool Size Nb Accessed Last Accessed Time Last Stopped Time State
com.airbus.DSR.DSRPortalService none 0 1 Thu Jan 15 11:05:25 CET 2009 never started (restart)
and also the content of runtime in the portal Registry browser:
You are here: ROOT/runtime/alias.mappers
Child list of the current context:
Name Class name
SAP_SRM java.lang.String - NewPortalAppProject|DSRPortalService
do you have any idea of what i might have forgotten please ?
best regards,
Olivier. -
Regarding Support of Dynamic system resolution for iview "Skills profile"
Hi All,
I wanted to know whether of dynamic system resolution "VIR" is supported for persinfo webdnpro Java iview ??
Also I would like to know the procedure that is to be followed so that a iview uses the dynamic system configuration.What are the actual steps ?
If there are any documents related to this please let me know it would really help.
Thanks in advance!
Regards,
Sowmyayou guys can refer to this weblog:
<a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1432">https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1432</a>
Ashish Shah -
Dynamic system resolution "VIR"
Hi All,
I wanted to know whether of dynamic system resolution "VIR" is supported for persinfo webdnpro Java iview ??
Also I would like to know the procedure that is to be followed so that a iview uses the dynamic system configuration.What are the actual steps ?
If there are any documents related to this please let me know it would really help.
Thanks in advance!
Regards, Sowmyayou guys can refer to this weblog:
<a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1432">https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1432</a>
Ashish Shah -
Dynamic System Resolution and Custom Login Modules
I'm trying to achieve the following, and wondered whether anyone could validate that is possible, and possible solutions.
We want to use Dynamic System Resolution to programatically determine which system alias (and therefore which R3 client) should be returned based on the user. So far so good.
When the user logs in, we want them to be able to specify which R3 client they wish to use whilst logged in to EP. We are considering writing a custom login module to do this, which will strip the client the user wishes to use out of the j_user username, and stores the client value *somewhere* so that the Dynamic System Resolution code can access it and base the system alias it returns on the user's prefered client.
Considering the DSR code only has access to the IUser object it would be handy if our login module could store the prefered client as an attribute in the IUser object. Is it possible to set custom attributes in custom login modules for a given user?
We want to do this to avoid having to have an EP instance per client in a given R3 system, and to avoid duplicating worksets by creating delta linked copies and overriding the client number.
Any suggestions?
Cheers,
SteveHello,
Before even doing such an elaborated construction, I do not succeed in writing a working Dynamic System Resolution.
The service doing the resolution is never called when the method getSystemID() is invoked.
I know that the registry is read (I first test with a system alias which was in the PCD and get an error when debugging, I forget that you cannot use the same system alias in the PCD and in the Dynamic System Resolution service) but afterward the resolving service is not called.
Has anyone an idea ?
Thanks a lot
Best regards
Richard -
Package : com.sap.portal.dynamicsystem - Dynamic System Resolution
hi all
We are using EP 6.0 SP 13.
And i am implementing Dynamic System Resolution....
But i am unable to implement the Interface<b>IDynamicSystemService</b>.
Could anybody help me ????
Thanks
KayYes the people in this forum
/community
where you also posted the question.
You shouldn´t post your questions in all forums in the hope to get a quicker answer.
Helmut -
Removing or replacing system resolutions
I have finally purchased a replacement mini for use with my HDTV. I've gotten all the custom resolutions (overscan correction) created and installed using DisplayConfigX. It looks great.
My problem is that I can't get rid of those "standard" resolutions that OSX is always providing. Things like 640x480, 640x480 (stretched), 720x480, and 1024x588 (?). These resolutions do not work with my HDTV, and I want to avoid any application attempting to select them (the g-force visualizer for instance). There is a selection in DisplayConfigX to "Disable system resolutions for this monitor" but it doesn't.
Does anyone know of a way I can remove these resolutions or at least prevent them from being selectable through the display preferences?
Mac OS X (10.4.8)SwitchRes X allows you to disable resolutions. As far as I know it doesn't remove them. It just doesn't allow them to be selected. I haven't actually used that feature so I can't confirm that it works as advertised. I am just noting that it is there.
-
How do i get the system resolution?
ya ^^
How do i get the system resolution?
thx natejava.awt.Toolkit.getDefaultToolkit().getScreenSize();
java.awt.Toolkit.getDefaultToolkit().getScreenResolution(); -
Dynamic System Domains = zone?
Is Dynamic System Domains the same thing as zones?
No.
Zones are a software isolation of certain processes. There's still a single kernel running, and there's always a global zone that has full visibility into all zones. If you have to bring down the global zone, you bring down all the non-global ones also. Resources are managed by software tools (limits, SRM, etc.)
Dynamic System Domains are supported by hardware on certain sunfire machines. They allow you to allocate hardware (like memory or CPUs) into a "domain" and to run an operating system in it. There's not a global domain, and multiple domains may be running or not running in any combination. You can run different operating systems in each domain. Resources are managed by explicitly joining hardware to a domain.
Darren -
Hello Everyone!!! I am having tough times solving query on Dynamic Screen Resolution in J2ME. How can you create an application in J2ME that automatically adjusts to the screen resolution to the phone it is being installed. That means if the resolution is small the layout automatically adjusts to the screen resolution and if its bigger then accordingly... Please help....
If you can use a UI framework/toolkit I suggest LWUIT. If not, code using proportions. Avoid absolute values of x, y, width and height. I made a sample at http://smallandadaptive.blogspot.com/2010/12/bar-chart.html
-
System Resolution Settings in Reports 6i
I am running my report in 1024 by 768 pixels(NT Desctop Setting). When I change this system resolution to 600 by 800 pixels, my report output(layout) changed... That means header fields printing in next line, column values merged one with another.. So I see wrong report output. Is there any way to sort this problem
hello,
this can happen, if you use destype=screen instead of destype=preview. screen uses the screen-fonts for rendering while preview uses the definitions ment for printing.
regards,
the oracle reports team -
Passing dynamic System property to applicaiton
Is it possible to pass dynamic system property from the command line to the application in javawebstart. So that my application can get it using System.getProperty() method.
Thanks in Advance,
SaranganHi,
Thanks. But its not possible for us to move to SE 6. Right now we are in JRE 1.5. Is there any other way to pass mulitple/dynamic arguments to the Applicaiton. We will be using only the javaws command line only to invoke the remote application by passing the url(jnlp_url). So we need to pass mulitiple command line arguments to the application through javaws.
Sarangan -
To Statble in System resolution for in Swing Apllications
Dear Guys,
How can set same resolution in swing applications when changing System resolutions.
Adavance in Thanksjava.awt.Dimension screenSize = java.awt.Toolkit.getDefaulftToolkit().getScreenSize();That's what You're looking for ??
-
Weird troubles with system resolution [ati card]
Hi all !
First post here because I'm coming from the french arch community
Straight to the point: I have a new toshiba laptop with ati hd 3650 graphic card running with proprietary drivers. Everything worked fine (Direct rendering ok) until I decided to configure dual screen with aticonfig.
I tried but it didn't work as expected so I decided to go back to my previous Xorg conf. But now I have a kind of weird behaviour. When X starts, it seems to settle as if it was still running dual screen configuration. My mouse cursor is on the right side (desktop center) and when I log on, kde shows wide desktops. Weirder is the fact that when I go to system configuration > display settings, the screen flicks and then everything went back with no wide desktop anymore... Another thing is when I've just logged on, blender run just fine, but once I've been to display settings, it shows horizontal black lines all around and is unusable though.
One more detail: on the display settings, I still can see the 2560x800 resolution setting on top of the list... I suspect kdm to use this one but how ? I don't have any idea
Here is my Xorg.conf
# Core keyboard's InputDevice section
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection
Section "Files"
EndSection
Section "Module"
Load "extmod"
Load "dbe"
Load "xtrap"
Load "record"
Load "dri"
Load "glx"
Load "GLcore"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
Option "DesktopSetup" "single"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
If anyone has any clue on what is happening to my mad X server, I'll be very gratefull
Oh and sorry for my bad english
Last edited by sebby (2008-11-04 20:37:05)Nobody ?
Maybe you are looking for
-
Changing from vibrate to ring doesn't work
Does anyone else have this problem? If I turn on vibrate via the switch located on the side of the phone, and then later switch back to ring, often the phone continues in vibrate mode.
-
We are running SRSS 4.2 with Patch 140995-01 on SLES 10 SP3 32-bit with 3 hosts in a FOG and 49 SunRay2-P8-DTUs, FW 4.2_140993-01_2010.01.21.17.35 on a dedicated interconnect. We do not use kiosk-functionality, all sessions (smartcard and non-smartca
-
V32 app build - binary rejected
I just submitted rebuilt apps with V32 and am getting a Invalid binary message - This bundle is invalid - New apps and app updates submitted to the App Store must be built with public (GM) versions of Xcode 5.1.1 or higher and iOS 7 SDK. Do not submi
-
It's really odd. I can send a 'blank' mail, even one with a few lines. Anything more than that and the activity window shows it 'trying' to send then it just stops. If I then try to send a short mail after any larger one this is also stopped. As
-
SSRS Different Aggregation on Rows and Columns
I have a matrix in Reporting Services that has a matrix that looks like this: I need to change the aggregation for the Data of matrix so it gets the SUM of Row Groups and the LAST of Column Groups. Imagine two countries, USA and UK, the total for 20