Model and Metadata JCo Destination Config in WD

Hi!
I just want to ask or verify if this is a correct JCo setup:
Logical System Name: WD_APT_MODELDATA_UIP_GDC
Model Instance Logical System Name: WD_APT_METADATA_GDC
Thanks!

Hi,
Thanks for that link. Yup, I think the project's JCO is interchanged somehow based on the link that you gave me. To give a background, this is just a transitioned project to me and the JCO was set up in that way...
I don't know why that was the case, but when I reversed the two JCO, it gave me an RFC authorization error. However, when I interchanged the MODEL and METADATA JCO, it worked fine again.
Would you know why this is the case? I just want to verify if it is alright to interchange JCOs and ensure that the conifgurations are correct.

Similar Messages

  • Difference between model and metadata JCos

    Hello,
    What is the difference between modeldata and metadata JCos ?
    Regards
    Mrinalini

    Hi Mrinalini,
                      The difference between the Model & Meta data is:
    Model data is the data coming through the table (which means it describes the actual data present in the table).
    Metadata is the structure of the table (which contains structure definitions, type definitions etc.)
    Thus, model data destination will fetch actual data while metadata destination will contain descrition of the data.
    Hope this helps you
    Cheers!!!
    Umang

  • Question about  Jco conenctions/Logical name of the model and metadata

    Is it common to use the same logical name of the model and metadata across different enviroments?
    For example,  MODEL_DATA_DEST, META_DATA_DEST is used for DEV, QAS and PRD? Because i seem to have some trouble using code built in DEV to another environment if the logical name of the model and metadata is different.
    Thanks in advance

    Hi,
    No for every environment the logical name of the model and metadata are different...
    for eg: some logical names, 
    WD_RFC_METADATA_DEST
    WD_MODELDATA_DEST
    USERINFO_WD_RFC_METADATA_DEST
    USERINFO_WD_MODELDATA_DEST
    About JCo Details,
    SAP JCo Functions,Architecture,Applications,Installation,Client & Server Programming :
    http://help.sap.com/saphelp_nw70/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/frameset.htm
    Creating Jco destination:
    http://help.sap.com/saphelp_nw70/helpdata/en/3a/3b1b40fcdd8f5ce10000000a155106/frameset.htm
    Maintaining Jco destination:
    http://help.sap.com/saphelp_nw70/helpdata/en/94/3c1b40fcdd8f5ce10000000a155106/frameset.htm
    The SAP JCo Repository :
    http://help.sap.com/saphelp_nw70/helpdata/en/01/43e13d82fcfb34e10000000a114084/frameset.htm
    Dynamic Jco creation Blogs:
    /people/anilkumar.vippagunta2/blog/2007/02/06/dynamic-jco-creation
    /people/gregor.wolf3/blog/2004/09/23/from-function-module-to-jco-application--part-1-of-3

  • Model and Metadata in JCO creation

    Hi all,
    I am having dout regarding Modeldata and Metadata.For example i am having 2 function modules.Is it that the name given to the fields " Default logical name for model instances " and
    "Default logical name for metadata instances " should be same for both the function modules as WD_BAPI_MODELDATA_DEST and WD_BAPI_RFC_MODELDATA_DEST so that JCO connection created for the above 2 names can be used for all the function modules
    Regards
    Padma N

    Hi Chaitanya,
                 For example i want to work with 5 function modules in my application.So while creating model i used model data and metadata as
    Modeldata Name : WD_BAPI_MODELDATA_DEST
    MetaData : WD_BAPI_RFC_MODELDATA_DEST
    and i selcted all the 5 function modules and i clicked finish.
    If i delpoy the application now and tried to create JCO connection the above 2 names are visible with red button besides them.
    If i create JCO connection for the above model and metaData instances will the 5 function modules will work fine or not
    Regards
    Padma N

  • Error with Metadata Jco destination....

    Hello All,
    I have created Modeldata destination which i have tested and working fine.
    And i am trying to create my metadata Jco destination here i am getting error some thing like Message
    server error.... what i should do over come from this error.
    Thanks in advance....

    Hi,
    Are you using any service user in R/3 for user mapping in meta data destination. And check this service user password is not locked/expired.
    I hope you are using the sso logon ticket for model data destination. So that is the only difference..
    Check R/3 Message server is configured in SLD properly or not.
    You need to create the technical system for R/3 in SLD. To create this system you need to know the message server host and port information. So you can use this function module "SLDAG_GET_MESSAGE_SERVER_INFO" to get this information required to configure the R/3 technical system in SLD.
    Anfter configuring this technical system you need to configure the JCO destinations in WebDynpor content administartor.
    Go through the below document for step by step procedure.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f56b5
    Regards,
    Charan

  • Model and MetaData configarations  in JCO Connection

    Hi all,
               while creating new model i used Load Balance option instead of Single Server.So while creating JCO connection what should be selected for ApplicationData and MetaData radio buttons.The error which i am got aftet deploying and running is
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Error connecting using JCO.Client: null
    Is this error is because of LoadBalance configarartion while creating JCO for Destinations or at the client num which we gave at the starting step of creating JCO
    Regards
    Padma N

    i got similar problem and this is how i resolved
    this is because jco connections are Using SSO and the user who is accessing that webdynpro application is not present in the backend system.
    please make sure user is there in the backend system from which you are getting data
    xxxxxxxxxxxxxxxxxxxxxxx
    Edited by: Armin Reichert on Feb 18, 2008 7:26 PM

  • 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.

  • Unable to close metadata jco connection

    Hi Experts,
    when checking the JCo Connection Pools in Web Dynpro Console, I found that all MetaData JCo are in use and unable to disconnect automatically.
    the following is metadata jco destination setting
    Maximal Pool Size 1
    Maximum Connections 5
    Connection Timeout 60
    Maximum Wait Time 10
    how can i do to close these jco connection?

    Hi Sidney,
    I dont really understand why you want to remove the Jco connections. If you click on the "Remove" button as posted earlier by someone, it will completely remove your Jco configurations and you have to create them again on your own. SO, dont do that.
    If you want to disconnect the Jco connection in webdynpro java, we can do that by using the following piece of code at the end of the  connection process.
    As far as I know, by default the Jco connections gets disconnected after certain time limit. Because, I never had to disconnect the Jco whenever I used one.
    wdContext.currentModelElement().modelObject().modelInstance().disconnectIfAlive()
    Regards,
    Gopal.

  • 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

  • Change Metadata JCO in Webdynpro application

    Hello all,
    I am trying to change the metadata jco destination in a webdynpro application.
    Although I have changed this in property "logical system name" of the dictionary, I am getting this error when I run the application :
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name "OLD_JCO" in the SLD. No such JCO destination is defined in the SLD.
    <b>The JCo destination seems to be pointing to the old jco (which does not exist anymore).</b>
    I have changed the JCo destinations for many applications earlier but had never faced this problem. For some reason, one application is giving this error.
    Is there any other place that needs to be updated with the new JCo destination?
    Thanks and Regards,
    Reena

    Hi Suresh,
    The Metadata JCo destination that is mentioned in the error message does not exist. I am aware of this and this JCo was deletd deliberately as we did not need it. In place of this, we created two new JCos and also changed our Wen Dynpro programs to reflect the new JCos. Two WD applications succesfully recognized the new JCos and are working well.
    However, the third WD project, is still pointing to the old JCos that we had deleted.
    We do not want to create these old JCos again.
    Here is the error description:
    The initial exception that caused the request to fail, was:
       <b>com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'OLD_JCO' 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: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:150)
        ... 63 more
    Detailed Error Information:
    com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type com.extranet.salesorderdisplay.orderlistmodel.types.Kunnr could not be loaded: com.sap.dictionary.runtime.DdException: TypeBroker failed to access SLD: Error while obtaining JCO connection.
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:250)
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:213)
         at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:318)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initUnmappedAttributes(NodeInfo.java:687)
         at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:238)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:429)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:772)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:707)
    Thanks and Regards,
    Reena

  • Error in Jco Destination Create (MsgServerName is not defined).

    Hi,
    When I try to create a Metadata Jco Destination, the system show the message "MsgServerName is not defined" and cancel the operation.
    I can create Modeldata Jco Destination correctly. The problem is only on Metadata Jco Destination.
    Thanks.
    Ariel.

    Hi Alex,
    Please see the below link in which discussed the issue for "MsgServerName is not defined". 
    JCo Destinations: Message Server connection not defined
    /message/8658127#8658127 [original link is broken]
    Maintain JCO Destination, cannot set the server and logon group
    Also check the [System Landscape Directory Process and JCo Configuration|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f56b5?quicklink=index&overridelayout=true]
    Hope it helps
    Regards,
    Arun

  • Maintain JCO Destination Issue

    Hi ,
    I have configured SLD and maintained JCO destination WD_MODELDATA_DEST and WD_MODELDATA_DEST with SAP backend connection details.
    When i tried to create the JCO desitnation , i m getting the following issues:
    JCo destination 'RFC_MODEL' was successfully created in SLD.
    Exception while getting JCo Clients Failed to get list of defined JCO clients for deployable object 'sap.com/cafeugpcroomwd'.
    Exception while getting the JCo clients Failed to get list of defined JCO clients for deployable object 'sap.com/cafeugpcroomwd'.
    Exception while getting the JCo clients Failed to get list of defined JCO clients for deployable object 'sap.com/cafeueruico~km'.
    Exception while getting JCo Clients Failed to get list of defined JCO clients for deployable object 'sap.com/cafeugpcroomwd'.
    when i try to test the connection, i m having the following issue.
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=op60vimt75 GROUP=SPACE R3NAME=T75 MSSERV=sapmsT75 PCS=1 ERROR       service 'sapmsT75' unknown TIME        Sat Apr 17 03:32:23 2010 RELEASE     700 COMPONENT   NI (network interface) VERSION     38 RC          -3 MODULE      nixxhsl.cpp LINE        776 DETAIL      NiHsLGetServNo: service name cached as unknown COUNTER     1
    Can somebody help me out what went wrong or let me know changes i have to do ?
    your help is appreciated!!!
    Regards,
    Ravi.
    Edited by: ravikanth kasim on Apr 17, 2010 9:45 AM

    Hi Ravi,
    Please refer to below document for jco errors
    [Troubleshooting SAP Java Connector |http://wiki.sdn.sap.com/wiki/display/EP/TroubleshootingSAPJavaConnector(JCo)]
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0019b1a-775f-2910-beb8-d81f27d0d8d0?quicklink=index&overridelayout=true
    Creating JCO Connectivity from J2EE to SAP
    Hope it helps
    Regards
    Arun

  • Failed JCO destination name 'WD_RFC_METADATA_DEST'    and MODEL DATA

    Hi Friends
    I am created "WD_RFC_METADATA_DEST". this meta data.When i am created this metadata i was called message server as technical system of CRM server.
    means i am created metadata for CRM System
    Once metadata had complted then i was cheing click on "Text"
    Here it display this error message
    Model Data test
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=ecc15 GROUP=PUBLIC R3NAME=E15 MSSERV=sapmsE15 PCS=1 ERROR       Group PUBLIC not found TIME        Fri Feb 19 01:12:26 2010 RELEASE     700 COMPONENT   LG VERSION     5 RC          -6 MODULE      lgxx.c LINE        4299 DETAIL      LgIGroupX COUNTER     1
    Meta data test
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=ecc15 GROUP=PUBLIC R3NAME=E15 MSSERV=sapmsE15 PCS=1 ERROR       Group PUBLIC not found TIME        Fri Feb 19 01:13:19 2010 RELEASE     700 COMPONENT   LG VERSION     5 RC          -6 MODULE      lgxx.c LINE        4299 DETAIL      LgIGroupX COUNTER     1
    What is problem. i m not getting can u tell me how slove this problem.
    Regards
    Vijay Kalluri

    Hi Vijay,
    You need check following thing to resolve this issue.
    1. Check the your host file entries for CRM System (Start>Run>enter 'drivers'>etc>hosts)
    2. Check SLD test is successfull or not.
    3. As per your error message group PUBLIC not found. Check in the CRM system (T-code : SMLG) whether PUBLIC group is available or not.
    Then check JCO destination parameter again and test it.
    Hope this will helps you.
    Thanks
    Arun

  • 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

  • ModelData and MetaData Mapping in JCo Connection

    Hi all
    <b>i tried the example given in webdynpro tutorials(Creating a Web Dynpro Application Accessing ABAP Functions)
    but i got dout while creating JCo connection
    After clicking "Create" button of  WD_FLIGHT_MODELDATA_DEST
    two radiobuttons of 1)modeldata 2)metadata are comming
    if i select modeldata for both  WD_FLIGHT_MODELDATA_DEST, WD_FLIGHT_RFC_METADATA_DEST it is giving test sucess but while running it is giving errror as</b>
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException: type extern:com.sap.tc.webdynpro.tutorial.model.types.FlightModel:com.sap.tc.webdynpro.tutorial.model.types.Bapisfldat could not be loaded: com.sap.dictionary.runtime.DdException:
         at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getStructure(DataTypeBroker.java:297)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:753)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:761)
    <b>If i select modeldata for  WD_FLIGHT_MODELDATA_DEST and metadata for WD_FLIGHT_RFC_METADATA_DEST  it is giving testfails</b>
    so can u plz solve my problem

    Hi,
    Create a new JCO(for both Meta Data,Model Data) connection in Content administrator>Webdynpro>Create JCO destination
    and Make use of that Jco.Otherwise check the status of your Meta data.ModelData Jco connection in Content administrator>Webdynpro>Maintain Jco destination.
    Regards
    Nandha

Maybe you are looking for

  • Error message whentrying to connect or synch to 8310

    I have an 8310 with v 4.2.2.170 firmware.  I am using the latest desktop v. 4.6.0.12(may 22 2008).  I have been synching with my Outlook calendar and contacts on my Vista notebook without any problems until today.  When I try to connect I get a messa

  • Error Message Java App Possible Proxy Issue

    I am trying to connect to a java app throught the internet and get the following message: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown

  • Is my test suite configured properly?

    I am building db-4.6.19 from source on Novell SuSE Linux 9.2 on ia64 (Intel Itanium2) hardware, then running the test suite with tclsh 8.4. Here's my configuration line: cd build_unix ../dist/configure prefix=/home/mark/WORKAREAS/webplatform/build/de

  • UWC Login problem from explorer

    Dear All I am having funny problem with UWC, if I try to login to uwc via windows explorer with correct username and password repeatedly I receiving login page and uwc leave some errors in regards of SSO, but if I use the firefox, I can login to UWC

  • BC4J with Swing Application

    Is there possible to use Business Components for Java in Java/Swing applications without using any kind of application server?