R/3 Accessibility via JCo Destination

Hello
We have a WebDynpro application running in an SAP EP 7.0 SP15.
We have metadata and modeldata JCo destinations defined for an R/3 backend system.
The WebDynpro application is using the modeldata JCo destination to reach a BAPI in the R/3 backend system.
As far as SSO access is configured for the modeldata JCo destination, it is required that the Portal user of the WebDynpro applications has an user defined in the R/3 system.
We would need to find some solution so that the WebDynpro application can access the BAPI in spite the runtime Portal user does not exist in R/3 backend system (e.g. accessing R/3 system with another user, that could be hardcoded or mapped to the Portal user or whatever).
Is that possible? If yes, how?
Thanks a lot!
Regards,
Jon

I think that perhaps you posted this question in the wrong Web Dynpro forum. This question appears to be Web Dynpro Java related and not Web Dynpro ABAP. Please confirm otherwise I will be moving this thread to the WDJ forum where it seems to belong.

Similar Messages

  • Can't connect to a SAP backend system via portal/web dynpro/JCo destination

    Scenario:
         Can't successfully set the JCo destination.. Always got a Java exception..
    Solution:
         Use the router string "/H/sapserv3/S/3296/H/", instead of
    "/H/sapserv3.wdf.sap.corp/S/3296/H/".
         This looks like a bug in portal NW2004s SP9.

    Sorry for the delay, but I was not able to get access to this system until this afternoon.  I ran the ARP command you suggested on the server, and it did return the correct IP and MAC address values for the problem workstation.
    I then ran IPCONFIG/displaydns on the server.  There was a record there for the problem workstation.  The "record name" matched the machine name correctly.  However, the "A <Host> Record" value was for the wrong IP address (192.168.1.4
    rather than the actual workstation IP of 192.168.1.7).  This could certainly explain why I am not able to RWA/RDP to the machine by name, although I can make an internal RDP connection via IP address.
    Could you please tell me what I need to do to repair this problem?  Should I run IPCONFIG/flushdns on the server?
    Thanks again for your assistance.
    John

  • Access Function Module "RSDU_EXEC_SQL" via Jco

    Hello Experts,
    is there a possibility to acces the FM "RSDU_EXEC_SQL" via Jco?
    My Testcode is like this:
    public class JcoTest {
         public static void connect(){
              Client connection = JCO.createClient("100", "user", "password", "EN",
                        "some.server", "00");
              connection.connect();
              Repository repository = new JCO.Repository("Test", connection);
              IFunctionTemplate functionTemplate = repository.getFunctionTemplate("RSDU_EXEC_SQL");
              Function function = functionTemplate.getFunction();
              System.out.println(function.getImportParameterList().toString());
              connection.disconnect();
         public static void main(String[] args) {
              connect();
    But this leads to an Exception: (126) NOT_FOUND: EXCEPTION NOT_FOUND RAISED
    When i access the RFC_READ_TABLE instead, everything is fine.
    Thanks in advance,
    Tanja

    Check whether RSDU_EXEC_SQL is remote enabled or not.
    You need to make it remote enabled. Only then it will become an RFC from a Function module.

  • Web-UI error message "Access via 'NULL' object reference not possible"

    I need some help, I'm not a Basis person but I need to get this connection problem resolve.
    This problem is in our DEV ICWeb system.  After logging in to Web-UI, I got a error message "Access via 'NULL' object reference not possible".  We have 3 clients (100, 220, & 310) in DEV and all 3 clients are giving me the same error message.
    From the help.sap.com, I found this topic http://help.sap.com/saphelp_nwes70/helpdata/en/84/43f0d786304e19a652a8f80909a8ec/content.htm
    but in the document it asked to go to SM59 to check the ESH_APPL_WS_TEMPLATEENGINE destination.  But we don't have that destination setup in all our systems.
    Here is the complete error message:
    Error when processing your request
    What has happened?
    The URL http://crm-dev.staff.copa:8000/sap/bc/bsp/sap/crm_ui_frame/BSPWDApplication.do was not called due to an error.
    Note
    ■The following error text was processed in the system CD1 : Access via 'NULL' object reference not possible.
    ■The error occurred on the application server CRM-DEV_CD1_00 and in the work process 0 .
    ■The termination type was: RABAX_STATE
    ■The ABAP call stack was:
    Method: GET_DATA_LOSS_HANDLER of program CL_CRM_UI_CORE_APPL_CONTROLLERCP
    Method: GET_DATA_LOSS_HANDLER of program CL_CRM_UI_CORE_APPL_CONTROLLERCP
    Method: EH_TRIGGER_NAVIGATION of program CL_CRM_UI_CORE_APPL_CONTROLLERCP
    Method: SET_WORKAREA_CONTENT of program CL_CRM_UI_CORE_APPL_CONTROLLERCP
    Method: PROCESS_NAV_QUEUE of program CL_BSP_WD_VIEW_MANAGER========CP
    Method: DO_INIT of program CL_CRM_UI_FRAME_APP_CONTROLLERCP
    Method: DO_INIT of program CL_BSP_CTRL_ADAPTER===========CP
    Method: GET_PAGE_CONTEXT_CURRENT of program CL_BSP_CONTEXT================CP
    Method: ON_REQUEST_ENTER of program CL_BSP_RUNTIME================CP
    Method: ON_REQUEST of program CL_BSP_RUNTIME================CP
    What can I do?
    ■If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system CD1 in transaction ST22.
    ■If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server CRM-DEV_CD1_00 in transaction SM21.

    Hi Michael,
    Refer to the link below and check the procedure.
    http://help.sap.com/saphelp_nwes70/helpdata/en/84/43f0d786304e19a652a8f80909a8ec/content.htm
    Regards,
    Arjun

  • JCo destination error while executing the webservice model

    Hi,
    I have explained what I have done so far and whats my issue right now.
    My requirement is calling a PI interface (exposed as webservice) from webdynpro for java and setting some parameter value to the PI interface based on which our functional flow will continue.
    Done so Far :
    1. Created a webdynpro for java application using NWDI.
    2. received the WSDL file of the PI interface and imported as "Adaptive webservice model" into webdynpro.
    3. used the model and set the parameters to PI interface and executed the model.
    4. I have created JCO destinations in the source system (where the application runs) to communicate to the PI system. A special user has been created and assigned in the connection for communicating.
    5. Also I have created the "Dynamic Webseviceproxies" in visual admin with the same name as the JCO destinations. It had a property "URL" for which I have tested with providing both the PI server URL (Http://<Hostname>:<Port no>) and also the complete webservice URL (Which calls the WSDL file directly)
    when I run the application, I get the following error.
    1. Exception on creation of service metadata for WS metadata destination 'WD_RFC_METADATA_DEST' and WS interface '{<Interface Name>'. One possible reason is that the metadata destination 'WD_RFC_METADATA_DEST' has not been properly configured; check configuration.
    after some exception the next error follows
    2. Invalid Response Code 403 while accessing URL: <The URL which I have provided in the webservice proxy in Visual admin tool> Response Message: Forbidden.
    after some lines of exception from PI server the next error follows.
    3. Error: You are not authorized to view the requested resource
    My Question :
    1. Do I miss anything in Configuration?
    2. Is my way of approach wrong?
    3. Any additional authorization needed?
    Kindly provide some ideas and inputs.
    Regards,
    Mahendran B.

    Dear Mahendran
    JCO destination will not used for the Web Service Model. While creating the webservice model, you need to use the logical destination which you have created in the Visual Admin.
    Please refer to the Secured WebServices II and verify currently used webservice logical destination How To Reimport Web Service Models in Web Dynpro for Java
    You can also refer to
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e?QuickLink=index&overridelayout=true
    Hope it will helps
    Best Regards
    Arun Jaiswal

  • Error In JCO Destination Creation

    Hi,
    I'm creating JCO Destination in Web Dynpro for Java. While finishing the JCO Destination wizard it shows a error as follows:
    Root Cause
    The initial exception that caused the request to fail, was:
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:507)
        at java.util.ArrayList.get(ArrayList.java:324)
        at com.sap.tc.webdynpro.progmodel.context.Node$ElementList.getElement(Node.java:2022)
        at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:617)
        at com.sap.tc.webdynpro.progmodel.context.Node.setLeadSelection(Node.java:749)
        ... 45 more
    But the JCO Destination is created successfully and I can test and ping tit successfully. But it becomes the part of System Denied JCO Destinations.
    In the server log file I'm getting the following log:
    1.5#00112F5374F1005B0000011100000EDC000443BF97417983#1200390062389#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#0#####SAPEngine_Application_Thread[impl:3]_14##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Cannot navigate via outbound plug tointeractiveForm of view InvoiceListView because there is no navigational link attached to it
    Exception id: [00112F5374F1005B0000010F00000EDC000443BF974176DF]#
    #1.5#00112F5374F1004F0000055B00000EDC000443BFA0A4587B#1200390219953#com.sap.tc.webdynpro.sessionmanagement#sap.com/tcwddispwda#com.sap.tc.webdynpro.sessionmanagement.ExceptionHandler.handleThrowable#subhayuds#116#####J-Integra for .NET TP Thread 2##0#0#Error#1#/System/UserInterface#Java###Exception occured during processing of a Web Dynpro application: "java.lang.IndexOutOfBoundsException: Index: 0, Size: 0".
    [EXCEPTION]
    #1#java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
    Can anybody help to find out this problem.

    Hi,
    This is a Web Dynpro bug. You need to apply the latest patch for Web Dynpro runtime.
    Regards
    Srinivasan T

  • Problem in connecting JCO destination in web dynpro

    HI all,
    I was installed sneak preview of Net weaver 6.4,
    I want to do some web dynpro (java) programs which connect to back end systems.(R/3 system).
    The R/3 system which I want to connect is at remote place, i have connectivity to that R/3 system using VPN connectivity. With this I am not having any problem. Since I am able to connect using User name and password, and able to do some transactions like RZ70, etc.
    I developed an application which calls COMPANY_CODE_GET_LIST (BAPI function).
    for the above requirement what I did was
    (1)I created SLD setting.
    (a)Web as Java (I am not having any problem to
    Create this.
    (b) Web as ABAP.
    When i am trying to create
    This, there are some steps like i need to go to SAP log in and I need to run the transaction RZ70. For this i need to create an enter in visual administrator>JCO RFC Provider>runtime-->Bundles i need to create an entry for RFC destination as well as Repository.
    under RFC destination there are some fields which i need to enter those are (a)Program ID as mySLD (b) Gateway Host as 10.10.10.125 (c)Gateway service as sapgw00 (d)Number of processes as 1
    Under Repository (a) Application server host 10.10.10.125 (b)system number as 00 (c)Client number as 100 (d)Language as en (e)user as ABCD (f)password as 1234
    I haven't choused the check boxes Local bundle and Unicode and pressed the set button. So like this i created the RFC destinations. under the properties tab there is a property called RFC_DEFAULT_DESTINATION by default it was false so i made it as true. .
    I also went to SLD Data Supplier,under Runtime tab , HTTP Settings , I mentioned
    (a)Host: pava-vis75
    (b) Port: 50000
    (c) user: administrator
    (d) password: abcd1234
    RFC Settings, I mentioned as
    (a)Gateway Host: 10.10.10.125 (which is SAP R/3 system)
    (b)Gateway Service/Host: sapgw00
    CIM Client Generation settings, as
    (a)Host: pava-vis75
    (b)Port (http/https):50000
    (c) user: administrator
    (d) Password : abcd1234
    I tested the CIMClient Test by click the the button. I got the successful message.
    Then I came back to HTTP settings and clicked the button with tilted arrow mark [This triggers data transfer to system landscape directory], for this also I got a successfully message.[data transferred successfully]
    Next I been to SAPLOGON and went to RFC Destinations by using sm59 transaction. There under TCP/IP connections i been to SLD_NUC , opened this by double clicking that and under Technical settings for Program ID I had given the ID which I created at visual administrator [JCO RFC Provider] which is mySLD , under gateway options for Gateway Host as 10.10.10.125and Gateway service as sapgw00 then i tested the connection, it was also successfully.
    Then I opened the SLDAPICUST and i created a new entry for maintaining the SLD Access Data by giving some couple of entries as
    (a)Alias: vissldtest
    (b)Host Name: pava-vis75
    (c)Port: 50000
    (d) user: administrator
    (e) password: abcd1234
    Then saved it.
    Next I created sapmsUV0 3600/tcp entry at
    WINDOWS\system32\drivers\etc\services file, and also there are some required entries which are already existing those are sapgw00 3300/tcp to sapgw99 3399/tcp , another entry starts from sapdp00s 4700/tcp to sapdp99s 4799/tcp , next entry starts from sapgw00s 4800/tcp to sapgw99s 4899/tcp and sapmsJ2E 3601/tcp .
    I restarted the system, as well as server.
    Now my problem is when I was trying to create JCO destination at web dynpro content administrator. For that I navigated as “create JCO Destination &#61664;Deployed Content&#61664;local-&#61664;local/CompanyCodeGetList-&#61664;Applications&#61664; CompanyCodeGetList
    I Choosed the JCO Connections tab-&#61664; there are 2 entries those are
    (1) COMPANY_CODE_MODEL
    (2) COMPANY_CODE_RFC_METADATA
    So I started creating connection for COMPANY_CODE_RFC_METADATA.
    First one is
    General data Name : COMPANY_CODE_RFC_METADATA
    Client : 100
    I didn’t changed any default JCo pool configuration.
    J2EE Cluster
    There is a check box called “Use Local J2EE engine J2E on pava-vis75’ so I choosed that.
    Connection Type
    Dictionary Meta Data and application Data
    I choosed the first one.
    Then
    Msg. Server Connection
    Security
    After these, I tried to test the connection by clicking the ‘Test Connection.
    It is saying the error as
    First time
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=v011 GROUP=DEFAULT R3NAME=UV0 MSSERV=sapmsUV0 PCS=1 ERROR service 'sapmsUVO' unknown TIME Fri Jul 01 07:20:41 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -3 COUNTER 1
    second time
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=v011 GROUP=DEFAULT R3NAME=UV0 MSSERV=sapmsUV0 PCS=1 ERROR service '?' unknown TIME Fri Jul 01 07:20:41 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -3 COUNTER 1
    Can any body please help me to solve this problem.
    From past 1 week on wards I have been trying to resolve this. But in vain.

    It does not necessarily mean that you have to change that parameter. I read that blog as I had a similar problem, and after reading it and understanding the reasons and possible causes for the error, I found that my particular problem was that I was using "PUBLIC" as the logon group in my JCO destinations, but such a group does NOT exist at my backend. I went to transaction SMLG, had a look at Logon Groups, noted that there were none other than SPACE, figured out that I had to include that information in SLD (Web AS ABAP tech. system --> Message Server --> Logon Groups), put it there. Voilá. It works.
    Edit: That SPACE logon group is the one I had to use at JCO destinations. Sorry I forgot to mention that one...
    Regards,
    Eduardo.
    Message was edited by: Jesus Cil

  • Jco Destinations not available in GRC AC 5.3

    Hello,
    We have installed GRC AC 5.3 with latest patch and configured SLD configuration. It is working fine but the standard virsa Jco destinations are not visible.
    Is there any additional settings required to get that Jco destinations?
    Regards,
    Kumar Rayudu

    Hi Kumar,
    JCo destinations not showing might be happening because of following two reasons
    1. AC capabilities are not deployed properly as mentioned by our friends in this message.
    2. Might be an issue with SLD Data Supplier in Visual Admin(VA):
    To resolve this logon to VA and select "SLD Data Supplier" under services. On right hand side bottom, you will see
    tabs of "Information", "HTTP Settings" & "CIM Client Generation Settings".
    Make sure entries in these tabs are correct and check for Data Transfer through SLD in these tabs. Once these tests are passed. Restart who system (not just J2ee).
    If the issue still persists, redploy AC capabilities via SDM with "Deployment Configuration" is set to "Update deployed SDA/SCAs that have any version".
    Hope this resolves your issue.
    Best Regards,
    Sirish Gullapalli.

  • IC WEBCLIENT: Access via 'NULL' object reference not possible

    Hi,
    Iam working in ABAP, and learning CRM ABAP on CRM5.0 IDES Demo system I was trying to create a new WebIC by copying one view from CRM_IC to ZCRM_IC bsp application. Following are the steps I following according to Cook book documentation.
    1. I copied BuPaDisplayCustomer view and controller from CRM_IC to ZCRM_IC from
        BSP_WD_WORKBENCH by selecting CRM_IC and runtime profile = 'DEFAULT'.
    2. Created a runtime profile from SPRO->CRM->IC Webclient->Customer specific modifications->Define
       runtime profile.
    3. Copied the 'DEFAULT' runtime profile to my new profile 'Z_COOKBOOK'. Assign 'ZCRM_IC' by
       clicking on 'Controller and substitues'.
       BSP       Replaced Controller         BSP                 ReplacmentController
       CRM_IC BuPaMoreContactView    Z_CRM_IC         BuPaMoreContactView 
    4. Define IC Webclient profile:
        SPRO->CRM->IC Webclient->Define IC Webclient profile->Copy the DEFAULT profile and assign it to
        'Z_COOKBOOK',
    5. Assigned the Webclient profile to the user from t-code 'PPOMW'. Selected 'USER' from the 
        existing 'Position' and Goto->Detail object->Enhanced obj descrption.Selected IC webclient from the
       list and created Infotype assigned Webclient profile 'Z_COOKBOOK'.
    6. Execute the ZCRM_IC from SE80 by rightclick and Test. Here is my problem,Iam receiving the
       following error in the webpage.
         The following error text was processed in the system CR7 :
               Access via 'NULL' object reference not possible.
        The error occurred on the application server CR7_01 and in the work process 0 .
        The termination type was: RABAX_STATE
    The ABAP call stack was:
          Method: SET_MODELS of program CL_CRM_IC_BUPADISPCUSTOME=====CP
          Method: SET_MODELS of program CL_CRM_IC_BUPADISPCUSTOME=====CP
          Method: SET_MODELS of program CL_CRM_IC_BUPADISPCUSTOME_IMPLCP
          Method: DO_REQUEST of program CL_BSP_WD_VIEW_CONTROLLER=====CP
          Method: DO_REQUEST of program CL_BSP_CTRL_ADAPTER===========CP
          Method: ON_REQUEST of program CL_BSP_RUNTIME================CP
          Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_BSP===============CP
          Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
          Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
          Module: %_HTTP_START of program SAPMHTTP
    I check the CRM services and all are active, using IE8 web browser. I just copied the view and controller
    from CRM_IC into Custom BSP application i.e., ZCRM_IC.
    Above error is occuring even If i run the standard CRM_IC BSP application and select one simple view.
    from SE80.
    Not sure whether any additional configuration or any special roles to be assigned to the Webclient profile.
    Thanks,
    Venn.

    hello swapna,
    we are facing the same error while accessing the leave request link, all jco are testing fine, i checked backend connection and its fine, please tel me how did u resolved that issue,
    Thanks in advance.....
    ajay

  • Using X509 certificates to create a client in a JCo destination / pool

    Hi,
    Our administrators have set up JCo destinations for us developers to use in connecting to the SAP R/3 back-end.  We need to use X509 certificates instead of username/password to create a connection.  How is this done?  The JCo API doesn't seem to list any class/method combination that is suitable. 
    JCO.createClient allows me to pass an X509 certificate, but it doesn't allow me to specify what JCO.Pool (i.e., JCo destination) to use. 
    JCO.addClientPool seems to allow both, but I don't think I want to really "add" a pool-- don't I just want to "use" a  pre-existing pool, i.e., one of the JCo destinations our administrator has set up? 
    Do I need to create a Client using the X509 certificate and somehow add this Client to the JCO.Pool?  I thought JCo destinations were meant to be pre-established Client pools waiting for a Client to be plucked out of it and used.  Is that wrong?  What am I missing? 
    Thanks in advance for your responses.

    Hi,
    I'm note sure whether you can use prepared JCo destinations in this case. However, if it's possible to use single JCo clients you instantiate when you need them, you have different options depending on whether you have an Enterprise Portal installed on top of your J2EE Engine or not.
    --> Without Portal
    Retrieve the user's current certificate from UME using:
    [code]com.sap.security.api.IUser currentUser = ...;
    java.security.cert.X509Certificate[] certificates = currentUser.getUserAccounts()[0].getCertificates();
    byte[] certBytes = certs[0].getEncoded();
    String encodedCert = someBase64Method(certBytes);
    Properties jcoProperties = new Properties();
    // Add your backend properties like hostname and so on...
    jcoProperties.setProperty("jco.client.user", "$X509CERT$");
    jcoProperties.setProperty("jco.client.passwd", x509Cert);
    JCO.Client jcoClient = JCO.createClient(jcoProperties);[/code]
    --> With Portal installed
    In general: Define your backend system in the Portal's system landscape instead of as JCo destination. Configure it's logonmethod for X.509 certificates. Either use UME's user mapping feature directly via com.sap.security.api.UMFactory.getUserMapping()... to add the certificate properties to the JCO properties, or use some intermediate API, some of which are available in the portal, some of which reside in the J2EE Engine (details if you request them).
    Best regards
    Heiko

  • AS Java 7.10: Can't create JCO destination 'WD_RFC_METADATA_DEST' in SLD

    Hello,
    I registered my J2EE 7.10 in the central SLD (sldmain.wdf.sap.corp:53000) successfully and created JCO destinations WD_RF_METADATA_DEST + WD_MODELDATA_DEST there. But the deployment of a WD application using Adaptive RFC fails because the above JCO destinations are not found (or access to SLD fails at all?). I didn't find any documentaion on how exactly the 2 destinations must be configured. On the central SLD there's no test/ping function for JCO-destinations! Could it be that my WD-deployer still tries to access a local SLD?
    <b>Root Cause</b>
    The initial exception that caused the request to fail, was:
       <b>com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'WD_RFC_METADATA_DEST' in the SLD. No such JCO destination is defined in the SLD.</b>
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:442)
        at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:230)
        at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:215)
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:106)
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:138)
    Thanks and regards,
    Jens

    Jen,
    Edit your JCo destinations and make sure you have Metadata as data type.  I am guessing you are getting this error becuase you might have selected Application data as data type.
    Hope this helps

  • Failed to resolve JCO destination

    Dear support,
    Recently we have made conection from our portal system to 4.7 system and Now we successfully login to portal.But when we click on ' Employee self service ' button we get below errors:
    The initial exception that caused the request to fail, was:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'SAP_R3_SelfServiceGenerics_MetaData' in the SLD. No such JCO destination is defined in the SLD.
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:467)
        at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:233)
        at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:218)
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:129)
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:149)
        ... 75 more
    I have checked SLD is running and is configured properly , i dont know anything about JCO destinations , this error is giving hint as
    Accessing the System Landsape Directory (SLD) failed. Depending on the concrete reason (see root cause) check the following:
    is the SLD Supplier in the J2EE engine configured correctly? See the SLD documentation for more details about the SLD and about how to configure it.
    are all JCO destinations maintained correctly? Use the preinstalled Web Dynpro Content Admin application to check/edit the destination. Use the Ping and Test functions of the Content Admin to
    I have gone through Blog
    Configuring SLD in Sneak Preview SAP NetWeaver '04 Sneak and all settings looks fine.
    Please make note this system has come recently under our maintainence and i am not much aware what exactly previous Administrator performed , But SLD is running fine.
    Can somebody help at earliest?
    Best Regards,
    AjitR

    Hi,
    Have you defined the JCO destinations in Web Dynpro Content Admin.
    If you havent, look at these link and configure the JCO Destinations required for ESS.
    http://help.sap.com/erp2005_ehp_01/helpdata/en/8c/cb3042366c0521e10000000a155106/frameset.htm
    http://help.sap.com/erp2005_ehp_01/helpdata/en/ca/115e4088dc0272e10000000a155106/frameset.htm
    Reward Points if helpful.
    Regards,
    Abhishek

  • URGENT:  Failed to resolve JCO destination name 'WD_GPMS_RFC_METADATA_DEST'

    Hi,
    when logging in am getting com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'WD_GPMS_RFC_METADATA_DEST' in the SLD.
    I had restarted the Server & and also System.
    Exception:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'WD_GPMS_RFC_METADATA_DEST' in the SLD. No such JCO destination is defined in the SLD.
    Accessing the System Landsape Directory (SLD) failed. Depending on the concrete reason (see root cause) check the following:
    is the SLD Supplier in the J2EE engine configured correctly? See the SLD documentation for more details about the SLD and about how to configure it.
    are all JCO destinations maintained correctly? Use the preinstalled Web Dynpro Content Admin application to check/edit the destination. Use the Ping and Test functions of the
    Content Admin to verify that each destination is properly configured.
    Additional information about the System Landscape Directory and the Web Dynpro Content Admin can be found in the SAP Developer Network (SDN) and in the Online Help for the SAP Web Application Server (installed with SAP NetWeaver Developer Studio and available online).
    Note: the above hints are only a guess. They are automatically derived from the exception that occurred and therefore can't be guaranteed to address the original problem in all cases.
    Please help me resolving it.
    Thanks,
    Hussain

    Hello Hussain,
    It looks like your Basis team has added another JCO destination to your Landscape....just check with them and create the jco destination on the portal...to fix it.
    Let me know if it helps.

  • ESS/ MSS  JCO destination error...

    Hi All,
    I have created all JCO destinations and when i test them , the result is successful
    But once i click on ess/mss tab in portals, i get the error..
    <i>com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'SAP_R3_HumanResources_MetaData' in the SLD. No such JCO destination is defined in the SLD.</i>
    But i have maintained SAP_R3_HumanResources_MetaData in the SLD.. Actually i have two SAP_R3_HumanResources_MetaData services one is active and another is inactive..
    For SAP_R3_HumanResources -- i have used "Logon Ticket" and for SAP_R3_HumanResources_MetaData -- used userid & pwd.
    Actually i have to do UserMapping as my portal userid and R/3 userid are different.. Then in this case am i creating JCO destinations correctly.. If not how to do..
    Please throw some light into this problem by your valuable suggestions.
    Thanks & Regards,
    Mahesh.M.R

    Hi
    I am having the exact same problem (i think). I believe that the problem is caused by a failed connection to the SLD.
    In my case, if I scroll the bottom of the error page, the 'Detailed exception chain' has the error:
    TypeBroker failed to access SLD: Error while obtaining JCO connection.
    The same error can be found in the DefaultTrace.
    This ESS is on a nw2004s sandbox portal (trying to reach an ECC 6.0 sandbox), but being lazy I just reused the SLD in my Development environment.
    This is however a Java WAS 6.40 and according to Note 954820 (Compatibility of SLD in the system landscape)
    QUOTE
    In general, the connection of systems to the SLD is released for SLD client applications with releases earlier than or equal to the SLD release (to be more precise: the AS Java release on which the SLD runs). Within a release, all Support Packages are released.
    UNQUOTE
    So, i'll try activating the SLD on a nw2004s JAVA WAS and use that instead.
    Regards
    Stig

  • Failed to resolve JCO destination name 'SAP_R3_SelfServiceGenerics_MetaData

    Hi,
    Got the following error message after login to my portal to access the ESS/MSS page:
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'SAP_R3_SelfServiceGenerics_MetaData' in the SLD. No such JCO destination is defined in the SLD.
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:476)
        at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:241)
        at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:226)
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:129)
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnectionUnMapped(SystemLandscapeFactory.java:168)
        ... 75 more
    Any suggestion what is problem?

    Hi Wooi,
    Please create JCO destination 'SAP_R3_SelfServiceGenerics_MetaData' and 'SAP_R3_SelfServiceGenerics_MetaDataFIN' for Metadata. First check SLD working fine or not. if the SLD is fine then update SLD data supplier in the visual administrator.
    As you metioned the JCO are grayed out. then you need to update host and service file in server location. the do SLD and SLD data supplier test.
    Once JCO connection test will successful then your issue will resolved.
    Hope it will helps
    Regards
    Arun Jaiswal

Maybe you are looking for

  • Issue with saving bitrates in presets

    Hi All, I'm having difficulty saving bitrates for Quicktime and MPEG4 presets. When I click on export and check the "Set Bitrate" option and change the number from the default value (1000) if save the preset or hit ok to go to media encoder the rende

  • Referencing and hopfully deleting custom dates in Address Book?

    I'm really struggling with this as a AS newbie. I want to delete all custom date values from selected Address Book records. I am using the following script which successfully deletes Birthdays but cannot handle custom dates such as "Anniversary". can

  • Smart objects open in Illustrator CC instead of CC 2014

    I have designed a couple of items in Illustrator CC 2014 and pasted them as a smart object in Photoshop CC 2014. Yesterday, I did some editing to these smart objects files and all was working well, the Smart Object opened in Illustrator CC 2014. Toda

  • SRP547W inbound http/ssh & NAT, plus DNS issues

    Hi, I've just upgraded to one of these and everything appears to be working ok - except inbound http & ssh. I have two connections to the internet using the WAN interface and ADSL2. I have load balancing enabled and some rules to route outgoing traff

  • How to create a PDF

    Hi, Any one tell me how to create a pdf file using java.