Assigning System Alias to an iView

Hi all
  I have a System "mySystem" and alias as "myAlias".
  How do i assign my Alias (myAlais) to an iView(salesOrder) ???
Thanks
Kay

if this is a custom iview, you can create a propertie in the "portalapp.xml"
  <components>
    <component name="myIview">
      <component-config>
      </component-config>
      <component-profile>
        <property name="systemAlias" value="myAlias"/>       
then in the code for the IView, you can ask for the alias
systemAlias = aRequest.getComponentContext()
             .getProfile().getProperty("systemAlias");
and use it to get a connection using JCA
This allows to set a default alias, and  later to change it in the properties of the iview.
regards
Guillaume PATRY

Similar Messages

  • Different System Alias in one iView

    Hi all,
    I have an ESS/MSS Szenario based on EP7 SP13 and HCM (ECC 6). I have setup the business package and all is working fine. I have setup the different System Aliases like SAP_R3_HumanResources and SAP_R3_HumanResources_Meta etc. and I have a working Single Sign On between my Portal and the HCM system.
    I now face the challenge to change one link within the working time iView to point to a different system than all the others!
    Let me explain: I have a second ERP 6 system that provides for the actual working time Web Dynpro and this Dynpro is not provided by the HCM system. I think I need to change the target for this one Dynpro to point to the ERP instead of the HCM system while all the other links in the working time iView still have to point to the HCM system!
    I have no idea whatsoever, how to do this. I checked the PCD but I can't seem to find the right place where to adapt the System Alias for an iView at all. Can someone point me in the right direction?
    Kind regards,
       Christian

    No you're not
    In fact you lack the System and System alias that point to you're new ERP 6.
    Here a link with a demo that explain how to create the system and define its alias : [demo|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/24d8faf9-0701-0010-c99c-aabbdb7e95f4] .
    Informations needed are the same you can find in a saplogon for the system you want to connect to.
    Once you'll have defined system and alias you'll see it in you're listbox!
    Anyway you'll still face the last problem : you can't define multiple system alias for the same iView.
    Hope that helps!!
    Edited by: Seb on Jan 9, 2008 4:34 PM

  • EP 6.0.13.0 : iView : System Alias

    Hi all
    I am loggin as Admin.
    I want to see all the System and their Alias !!!
    where can i find it out ????
    Points assured !!!
    Thanks
    Kay

    Peter/Detley
       Thanks for the details !!! It really helped a lot !!!
       But i am LOST now in DSR !!!
       Basically I created a DSR routine that with the following details: ( I am resolving the Alias for a  CRM system named OCD_200 whose ID = pcd:portal_content/com.rmg.fdr.jk/systems/sap_crm/com.rmg.OCD/com.jk.org.OCD_200)
         Class Name: MyDynaResolutionClass
         Alias     : dynamic_system_kk
         Resolving : myresolvingservicename 
      In the PORTAL, System Admin --> Sys Config -->System Landscape --> In a small window Protal Content >jk> systems -->sap crm --> ocd -->ocd200.
      I have added my system alias <b>dynamic_system_kk</b> and saved..
      I am here and i dont know What to do next ????
      My plan is to TEST whether my RESOLVING SERVICE works or not ??
    Help Please !!!!!
      Forgot to say, that I have Deployed the PAR and checked the Resolving Service and Alias are REGISTERD and started !!!
    Thanks
    Kay
    Message was edited by: Kay

  • May  EP(MSS, ESS)  use only a single universal system alias?

    I notice that SAP tends to use different aliases such as SAP_ITS_XSS, SAP_ITS_MSS, SAP_ECC_TrainingManagment, etc
    for different iViews.
    Is that possible to use only a single  universal alias for all purposes?
    Thanks a lot!

    Hi Linda,
    Yes, It is possible. If you think that your backend data coming from only one backend system, then you can create you custom system Landscape and but you need to manually assign system onject in all ivews(System parameter in Iview object) in ESS business content in portal content.
    It is better to create SAP_ITS_XSS, SAP_ITS_MSS, SAP_ECC_TrainingManagment in system landscape if you are one or multiple backend system, then you don't need to manually update system object in iviews.
    Hope it helps
    Regards
    Arun

  • Assigning system to package

    Hi all,
    I have imported MSS package in my EP6.0 system.
    I have created one system using dedicated server template for R3. Created alias and done user mapping. In system test connection I am able to connect to the system.
    The problem is when I open the My staff page it says could not connect to R3 system. The error says could not connect to sap system SAP_r3_humanresources. This is not the alias that I have created. I have created STB as the alias I want to use.
    How do I assign this system to the package.
    Please guide me.
    Thanks and regards,
    Afroz

    Hi Afroz
    the u can't find any iview for ESS which has assigned system SAP_R3_HumanResource
    but look at  ur JCO connection for webdynpro application.
    SAP_R3_HumanResource is the name for JCO connection which is used for SAP_R3_HumanResource application data
    there other JCO connection for Application data.
    SAP_R3_Financials
    SAP_R3_Travel
    so u have to define this as alias for system for using Travel management from ESS.
    regards,
    kaushal

  • Connection tab is inactive during the creation of system alias in portal

    When we trying to implement the note 1249323, during the creation of
    system alias in portal (Step B in SRM 7.0), the connection tab is
    inactive to fill the information (EP-PCT-SRM).
    Please can anybody give a solution to this problem so that we can finish our
    implementation of the note.
    Thanks and regards
    Mahesh

    If you are referring to the property "Collection" of the system object - I don't think you can edit it. It is not used at runtime by the applications/iviews.
    That should have been a mistake in the SAP note and you can ignore that property and go ahead with creating your system.
    Thanks,
    Shanti

  • System alias does not work if not the same as logical system name?

    In most of the situations, we define the portal system alias same as the connected R/3 client logical system name.
    I also saw some exceptions that system aliases were defined differently from the connected R/3 client logical systems, and they were tested fine.
    However I forget the way to make that working.
    Could you help me  recall how is that achieved?
    Thanks!

    Hi,
    There is nothing tricky here. Just assign more System Aliases to the system connector !

  • How to retrieve the system used in an iview?

    hello,
    i'm currently having trouble retrieving the proper attribute of an iview to retrieve the system used by it.
    it seem like the strings identifying the system in the iview differ in some iviews.
    using either:
    myIView.getAttribute(IAttriView.PORTAL_SYSTEM)
    or
    myContext.getAttributes("").get("System").get().toString()
    produce errors.
    while get("System") sometimes provides the correct system alias the attribute is none existant for other iviews where the string would be "Systemalias".
    IAttriView.PORTAL_SYSTEM doesn't seem to work at all.
    i did implement fail safe code if the attribute isn't present, however i don't know how to retrieve the system attribute without doing a case switch or something similar for all the different strings, which i would prefer not to do.
    also, is there an easy way to retrieve all iviews which use a specific system without parsing the whole pcd and checking the attributes?

    Prerequisite : Create the System Alias for the systems used in the application.
    Use the below code to retrieve the system details:
            HashMap mapattr = new HashMap();
            HashMap map = new HashMap();
            IUser user = WDClientUser.getCurrentUser().getSAPUser();
            IPrincipal principal = (IPrincipal)user;
            ArrayList list = UMFactory.getSystemLandscapeWrappers();
            ISystemLandscapeWrapper systemLandscape = (ISystemLandscapeWrapper)list.get(0);
            //Portal System ALias name
            ISystemLandscapeObject landScapeObject = systemLandscape.getSystemByAlias("<system alias name>");
            IUserMappingData userMapping = (IUserMappingData) UMFactory.getUserMapping().getUserMappingData(landScapeObject,principal);
            userMapping.enrich(map);
            mappedUserId = map.get("user").toString(); // String "UserId"
            mappedPassword = map.get("mappedpassword").toString(); //String "Password" 
         catch(Exception e)
              e.printStackTrace();
              wdComponentAPI.getMessageManager().reportException("Exception during retrieving the User Details - " + e.getMessage(),true);
    Thanks & Regards,
    Amar Bhagat Challa

  • How to delete System Alias while the related sytem has been deleted

    How to delete System Alias while the related sytem has been deleted?
    When I deleted the System, I ignored the dependence object. Now i need to deleted the sytem alias, but the system has already been deleted, how could i do?
    Thank you very much!
    Regards,
    Xiaoming Yang

    hi Yang,
      checkout the link..,
      Re: EP 6.0.13.0 : iView : System Alias
      hope it helps..,
    regards,
    Vinoth

  • Portal Runtime Error - com.sapportals.portal.appintegrator.ApplicationIntegratorException: Unknown system alias.

    Hi Experts,
    Can anyone please help me on the below Portal Runtime Exception.
    10:59_26/08/14_0043_3937250
    [EXCEPTION]
    com.sapportals.portal.appintegrator.ApplicationIntegratorException: Unknown system alias.
    System Alias:  'SAP_BW',
    User:          'Test',
    Reason:        System Alias is not defined or permission denied for this user
    at com.sapportals.portal.appintegrator.accessor.system.LocalSystemAccessor.<init>(LocalSystemAccessor.java:60)
    at com.sapportals.portal.appintegrator.accessor.system.SystemAccessorFactory$Decider.getAccessor(SystemAccessorFactory.java:178)
    at com.sapportals.portal.appintegrator.accessor.system.SystemAccessorFactory$Decider.getSystemAccessor(SystemAccessorFactory.java:123)
    at com.sapportals.portal.appintegrator.accessor.system.SystemAccessorFactory.getSystemAccessor(SystemAccessorFactory.java:52)
    at com.sapportals.portal.appintegrator.layer.AbstractIntegrationLayer.getLocalOrRemote(AbstractIntegrationLayer.java:624)
    at com.sapportals.portal.appintegrator.layer.TopLayerSwitch.mustRedirectToProducer(TopLayerSwitch.java:105)
    at com.sapportals.portal.appintegrator.layer.TopLayerSwitch.getNextLayer(TopLayerSwitch.java:75)
    at com.sapportals.portal.appintegrator.LayerProcessor.getNextLayer(LayerProcessor.java:293)
    at com.sapportals.portal.appintegrator.LayerProcessor.processActionPass(LayerProcessor.java:183)
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doActionPass(AbstractIntegratorComponent.java:111)
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doOnPOMReady(AbstractIntegratorComponent.java:70)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:398)
    at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$1.service(RequestDispatcherFactory.java:168)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:270)
    at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.handleEvent(RequestDispatcherFactory.java:158)
    at com.sap.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:242)
    at com.sap.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:342)
    at com.sap.portal.prt.pom.PortalNode.processEventQueue(PortalNode.java:732)
    at com.sap.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:473)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:202)
    at com.sap.portal.prt.dispatcher.DispatcherServlet.service(DispatcherServlet.java:132)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
    at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.portal.prt.dispatcher.CustomHeaderFilter.doFilter(CustomHeaderFilter.java:58)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

    Hi Jelbin,
    Following is the solution of this error,
    Step 1: Check the system alias in application which you are opening and maintain same in system object also, or take system object default system alias and maintain it in iView property named as "System", either of above is valid.
    Step 2: Add every One group to the system object with end user ticked.
    Step 3: Logoff and login again it should work,
    Kindly reply if this works.
    Regards,
    Bhavin Anajwala

  • WDA: Check if PCD path or system alias exists?

    Hello Portal Experts,
    How can I check if the PCD path or the system alias exists?
    I like to check the PCD in my Web Dynpro for ABAP application, to prevent calling the portal navigation in case the system alias does not exist.
    Thank you very much in advance.
    Kind regards
    Axel

    Hi Axel,
    System Alias is must when you create Webdynpro ABAP iview .
    Please have a look  at below link, it may help you ,
    http://help.sap.com/saphelp_nw70/helpdata/en/e9/9bc93f92908032e10000000a11405a/content.htm.
    http://help.sap.com/saphelp_nw04/helpdata/en/fb/93ed3d72fe4b5ae10000000a11405a/content.htm.
    Regards,
    Krishna chaitanya.

  • EP6 SP2 Jco / System Alias Question

    Hi all,
    I'm developing a number of Iviews on an EP6 SP2 system connected to a 4.6C box.  I have two problems that I'd be grateful for some help with.
    1) How do I make use of the System Aliases set up in the portal via Jco ?
    I know I can use the direct connection
    JCO.createClient("001", // SAP client
              "<userid>", // userid
              "****", // password
                 "EN", // language                               
                    "<hostname>", //      
              "00"); // system number
    but it would be much easier if I could use the configured System Alias called "UKSAP" which has been set-up in each Portal box.
    2) I believe that EP6 SP2 will not require connection pooling in the jco code. Is this correct ?
    Cheers
    Richard

    Hi,
    We are trying to do pretty much the same thing you are, I am trying to get my Java iview to use the System Alias to connect to an R/3 JCO destination.
    Could you elaborate on your findings in this regard. I am currently getting the following error : "Target for system alias SAP_R3_HumanResources not found in system landscape"
    I have entered the connection info for this target into the jcoDestinations.xml and I've created a system in the portal with the alias SAP_R3_HumanResources...
    Thanks in advance,
    Mukta Pathak

  • How to test System Alias

    Hello,
    How can I test a R3 system alias?
    - System Landscape Cockpit did not bring any results.
    - Support Desk >> SAP application requires transaction.
    Is there an easier way?
    Regards,
    AAAttar

    Thanks Senthil for the details,
    We are on EP6 SP2 at this point. Standalone (DEV) portal installation, and SAP Dedicated system (not Load-Balanced, ie No message server). I've create a test system to SAP_BW, with WAS info. When I tried to test the system in Landscape Cockpit, (selected the test SAP_BW system and JCO) I got NO results. I hope I'm not missing a thing.
    Few hours later, I created SAP role trasfer iview for testing, and this is what I got for this SAP_BW Alias:
    [The installed version of the portal plug-in must be 6.0 or higher], pretty obvious!
    For the other system I got, [Connect to SAP gateway failed Connect_PM  GWHOST=http://FQN.com:3200, GWSERV=sapgw00, ASHOST=http://FQN.com:3200, SYSNR=00 LOCATION    CPIC (TCP/IP) on local host ERROR       hostname 'http://FQN.com:3200' unknown TIME        Sat Dec  4 17:03:39 2004 RELEASE     620 COMPONENT   NI (network interface) VERSION     36 RC          -2 MODULE      nixxi_r_mt.c LINE        2225 DETAIL      NiIHostToAddr COUNTER     6]
    in my server: etc/services file:
    sapdp00      3200/tcp        # SAP System Dispatcher Port
    sapdp00s        4700/tcp        # SAP System Dispatcher Security Port
    sapgw00      3300/tcp        # SAP System Gateway Central Instance Port
    Regards,
    AAAttar
    Message was edited by: Aater Attar

  • About System alias for system object

    Can any one tell me exact need for system alias for system object when we are integrating SAP TCODES

    The main use of System alias is to identify the uniqueness of the systems that exist in the portal
    also it is very easy to transport TCode iviews from one landscape to other if you have same system alias exist in all the landscapes
    Raghu

  • System and System Alias Creation

    Hi all,
    we have developed iViews in EP5. Now we want to migrate all our iViews to Ep6.. we have problem in EP6 for system and system alias creation..
    in EP5 we have 2 files called System.xml for defining the system and JCODestination.xml..
    after creating systems in System.xml.. we will define   all system properties in  like router string ,client no,and system number for each sap system in JCODestination.xml ..  
    and these systems we will map to the user in which will come all the defined Systems to combo box
    and we will define the systems in default.properties file and we will use in the par development...
    I heared that there are no System.xml and JCODestination.xml files in EP6 Netweaver Component....
    can you please any one advise me how to get configured System and System Alias in EP6 NetWever... and how to call in coding...
    I need a detailed steps how to create SAP System Alias.. since i am connecting to SAP System and Calling Function Modules and BAPIS From My Application(iViews).....
    I need a Detailed Explaination Step by Step Explanation ..
    your help will be required for me.. and appreciated to the great extent......
    Thanks and Regards
    Prasad.Y

    After following the steps above in system landscape
    please do the following to fill in the parameters
    Select connector under the property category.
    PlZ make sure that you have provided ApplicationHost(the host name of backend system), LogicalSystemName(can be found from transaction scc4,just dounle click on the client to see the logical name use saplogon and logon to the backend system R3 in this case) ,SAP Client(can be found from transaction code scc4), SAP SystenID,SAP System Number and Server port.
    After that create a System Alias for that system by selecting System Aliases under display.( This is important. I had the same kind of problem this should slove it).
    Now make sure that you have user mapping set for the backend R3 System(User Administration-->User Maping search for the user and choose edit. Then choose the system alias name form the drop down box and provide the login details for the backend system).
    Try to test the connection by selecting connection tests under display. If it doesnot work plz copy paste the whole error message.
    The message should look something like the one below
    Test Connection with Connector - Jan 1, 1970 2:35:42 PM
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
    Results
    Retrieval of default alias successful
    Connection successful
    Let me know if you need any more details
    - Sheshu

Maybe you are looking for

  • PDF Doesn't Open in IE8

    I have Acrobat Pro 8 and Reader 9.3 installed. When attempting to open a PDF from a web site opened through IE8, I get the following message: "The Adobe Acrobat/Reader that is running can not be used to view files in a Web Browser. AdobeAcrobat/Reade

  • Core dump in _ti_mutex_unlock

    Greetings, I am using compiler (Sun C++ 5.5 2003/03/12 on a Sun/SunOS 5.8 system and I am getting the following traceback. Does anybody know what pacth I need to install to get around this issue? I though I had installed all the specified patches for

  • Application control engine is up to 16G?

    I'm jeon. I have a question regarding ace performance I know that the ace use the Tengigabitethernet in internal bus but How can the ACE do up to 16G? If the ace use the TE, the maximum performance is 10G? , on my opinion. Could you explain me about

  • Skillset required for ESOA

    Hi Experts, Could someone please tell me what is the Technical Skillset required to get into ESOA? I am an experienced NetWeaver Consultant with experience in XI and EP Implementations and Development Experience in core ABAP & WebDynpro Java. I am no

  • Single form access

    Hi Guyz, I have created my own tool bar and menu bar and have display filed DIS_FLAG Y/N when user login DIS_FLAG display YES/NO i use the below code on WNFI :CAN_BLK.DIS_FLAG:='Y'; :GLOBAL.FLAG:=:CAN_BLK.DIS_FLAG;and in menu item on employee form i