Create RFC Model in ESS

four logical JCo connections are used by the Self-Service applications:
·        SAP_R3_SelfServiceGenerics
·        SAP_R3_SelfServiceGenerics_MetaData
·        SAP_R3_HumanResources
·        SAP_R3_HumanResources_MetaData
i have create a model in R3 and using the webdynpro RFC Model to connect it, it requires to established a JCO connection.
which 2 should i use to connect the Adaptive RFC Model ?
the default is :WD_RFC_METADATA_DEST WD_MODELDATA_DEST

Hi yzme,
You can use any of the JCO connection sets to create new Model.
If all of these JCO connection are configured in your Message Server
1>     WD_RFC_METADATA_DEST
       WD_MODELDATA_DEST
2> SAP_R3_SelfServiceGenerics
    SAP_R3_SelfServiceGenerics_MetaData
3> SAP_R3_HumanResources
     SAP_R3_HumanResources_MetaData
Regards,
Mithu

Similar Messages

  • JCO$Exception when creating RFC model

    Hi all,
    I'm getting this fatal error when creating an RFC model in Web Dynpro for Java (connecting to a BW system):
    com.sap.mw.JCO$Exception: Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx
    I have absolutely no clue what's going wrong...
    The RFC model gets created, but when running the application it doesn't work...
    Any help appreciated!
    Jeroen

    Raj,
    Thanks for your reply.
    I had already solved the problem... After a long time I found out it was due to the language: when creating an RFC model one should use the language of SLD.
    kind regards,
    Jeroen

  • Custom RFC model in ESS General Data

    Hi,
    I want to create a custom RFC model in generaldata component and personaldata component.
    This is my requirement.
    I want fax number in Generaldata view and I want to hide date of birth in personaldata view.
    I dont see fax number in model used for Generaldata and also country in model used for Personaldata.
    I am trying to use custom RFCs to get the work done, but I am not sure if I can import the same or if it is going to do the work.
    Even if that is possible, I want to know what impact it has for support package upgrades.
    Thanks and regards,
    Chinnu

    Hi yzme,
    You can use any of the JCO connection sets to create new Model.
    If all of these JCO connection are configured in your Message Server
    1>     WD_RFC_METADATA_DEST
           WD_MODELDATA_DEST
    2> SAP_R3_SelfServiceGenerics
        SAP_R3_SelfServiceGenerics_MetaData
    3> SAP_R3_HumanResources
         SAP_R3_HumanResources_MetaData
    Regards,
    Mithu

  • Error while creating a Adaptive RFC Model

    Hi all,
    I am trying to create a Model using a Adaptive RFC Model, I assign a Model name and the logical system names, enter the details in SAP Logon Information for the Single server,here it gives me a Gateway error. What could be the issue here?
    NB: In the Host Name , I tried with both the Host name of the r/3 server and also with the SAProuter string ( as we have the server at other place) ,still it doesnt work. and I am able to login to the R/3 system from the SAPLogon GUI from my desktop normally.
    Is there any issue of the firewall related to this, if so whats the port number that should be opened so that i can connect to the r/3 system get the list of BAPIs present there into my Webdynpro application .
    Need help on this
    Regards,
    Vijay

    Hi Lohi n Gopi ,
    I have checked out with the your given suggestion of trying with the host name as well as  IP address and also typing all the details,without copy pasting the details . In both the cases it gave the " Connect to gateway failed " error mesg.
    But one intersting thing here that i observered when trying with hostname, IP address, or SAProuter string is as follows .
    <b>with IP address</b>
    <i>Connect to SAP gateway failed
    Connect_PM GWHOST="ipaddress",GWSERV=sapgw10,ASHOST="ipaddress",SYSNR=10
    LOCATION CPIC(TCP/IP) on local host
    ERROR      patner not reached(host "ipaddress",service=3310)</i>
    <b>with SAProuterString</b>
    <i>Connect to SAP gateway failed
    Connect_PM GWHOST="SAProuterString",GWSERV=sapgw10,ASHOST="SAProuterString",SYSNR=10
    LOCATION SAPRouter on " some HostName"
    ERROR      hostname unknown</i>
    <b>with HostName</b>
    <i>Connect to SAP gateway failed
    Connect_PM GWHOST="hostname",GWSERV=sapgw10,ASHOST="hostname",SYSNR=10
    LOCATION CPIC(TCP/IP) on local host
    ERROR      hostname "hostname " unknown</i>
    Is there any firewall port blocking issue here ?if so , whats the port that needs to be opened ?
    Appreciate your help.
    Thnks,
    NR

  • Error while creating a RFC model for WD for Java

    Hi,
    While trying out the example(TutWD_FlightList_Init.zip) for model programming in the NDS,I got the following error when I try to create a model:
    Plugin Name     Web Dynpro Model Editor Services
    Plugin Id     com.sap.ide.webdynpro.service.modeleditor
    Class     com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog
    Method          nextPressed
    Message          Internal error - see detail information in exception trace
    Exception     org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError)
    Can anybody help?Is there any place in NDS to see the detailed error message?
    thanx in advance,
    Bhupesh

    I modified the xml file as described in the forum.But the error persists.
    One interesting thing is:
    When I create model after restarting the NDS,I get the following error:
    org.eclipse.swt.SWTException: Failed to execute runnable <i>(java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library librfc. Found version "620.0.1237" but required at least version "620.0.1374".)</i>
    I get the NoClassDef found error next time onwards,
    Where do I get the 620.0.1374 version of librfc?
    thanx.
    Bhupesh

  • Error while creating adaptive RFC model

    Dear All,
    I am trying to create Adaptive RFC model by  which i can fetch data from R/3 trough BAPI and display on the webDynpro UI.
    I am getting error
    Exception: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library librfc. Found version "640.0.55" but required at least version "640.0.76".)
    Kindly suggest.
    Thanks
    Ashish

    Hi,
    Check this link....
    com.sap.mw.jco.JCO$Exception (104) RFC_ERROR_SYSTEM_FAILURE

  • Creating Adaptive RFC model without logon name and pwd?

    Hi All,
    I have this requirement where when I log on to an application I need to get a mapped user name and pwd from EP and then connect to the R/3 system.
    However, you cannot create a Adaptive RFC model without username and password. So i needed to know if this can be done in some other way.
    Thanks,
    Malita

    hi
      To my  understading , you need  user and pwd created  for your portal and  call the RFC or Bapi .
      Hope this is possible . 
      Creating  the  users and pwd for the portal  for  your application  is possible , but parallelly
      calling the RFC with same user name and pwd  i hope its not , as you have to deploy the application
      which created the userid and pwd , then call the RFC ,
       and for more you can provide more information what exactly is your requirement .

  • Error in wizard to create new RFC model: connect to message server failed

    Hi,
    I am trying to create a new RFC model in my Web Dynpro project in NWDS.  In the wizard, I reach the step where I am required to enter the SAP login information.  I then enter the details in the Load Balancing tab and click Next.  The error message I get is:
    Connect to message server failed
    Connect_PM MSHOST=****, R3NAME=*, GROUP=**
    LOCATION CPIC (TCP/IP) on local host ***
    ERROR service '***" unknown
    (Note: the *** are client-specific and therefore confidential info so I am removing them).
    The thing is, a colleague of mine is also doing the same thing, but he is not encountering this error.
    Can someone help me troubleshoot this?

    Hi
    The user you use to connect in the RFC should have the authorization to S_RFC. In the Duet installation guide look for the section about defining a system user ID in UME. This section has details about the authorization required for the user.
    Thanks

  • Regarding Nodes created when creating a model from RFC

    Hi All
    When we create a model from RFC suppose FlightBook RFC, then node is created one as FlightBook_Input, and one as FlightBook_Output.
    Inside flightBook_input we have nodes and value attribute which we use to pass the data and also for output, but i still dont know what flightbook_output signifies and how we can use it
    Thanks & Regards
    Sandeep

    >>Inside flightBook_input we have nodes and value attribute which we use to pass >>the data and also for <b>output</b>
    How is that? You should always use model class assigned to relation "output" to get RFC FM result. BTW, don`t forget to invalidate it.

  • Can not create an new rfc model, NW DevStudio SP11

    Hi,
    I have installed the NetWeaver Developer Studio SP11
    and now if I create a ref model I get this exception:
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: com/sap/tc/logging/LogController)

    Fran,
    it's in SAP Service Marketplace at http://service.sap.com/notes. Some Notes are replicated to SDN, unfortunately not all of them. What's missing are most of the Notes under component BC-*, which is the one for Web AS.
    In case you can't get into the Marketplace, here's the text:
    SAP Note No. 832994
    Short text          NoClassDefFoundError during adaptive RFC model
    import
    Component           BC-DWB-WD-JAV
                        Web Dynpro Tools - Java
    Long text
    Symptom
    You import an adaptive RFC model with Web Dynpro tools, and the system
    issues the following error message:
    org.eclipse.swt.SWTException: Failed to execute runnable
    (java.lang.NoClassDefFoundError: com/sap/tc/logging/LogController)
    Other terms
    Reason and Prerequisites
    You use SAP NetWeaver Developer Studio with Support Package 11.
    Solution
    The Eclipse installation directory contains a "plugins" folder. This
    folder, in turn, contains the "com.sap.mdi" plug-in folder. Open the
    "plugin.xml" file located in the relevant plug-in directory in an
    editor.
    Insert the following line in the list of required plug-ins:
    <import plugin="com.tssap.sap.libs.logging" />
    The contents should look as described below. The change becomes
    effective once you have restarted the IDE.
    <?xml version="1.0" encoding="utf-8"?>
    <plugin id="com.sap.mdi" name="%pluginName" version="2.0.0"
    provider-name="SAP AG">
      <runtime>
        <library name="lib/SAPmdi.jar">
          <export name="*"/>
        </library>
      </runtime>
      <requires>
        <import plugin="com.sap.mw.jco"/>
        <import plugin="com.tssap.sap.libs.logging" />
      </requires>
    </plugin>
    Regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • How to use two RFC models in one Data Source for a Interactive Form UI Elem

    Hi
    I want to use two RFC models (two Function Modules from a SAP Backend system) in one context node of a View Controller in order to pass it as the data source to a Interactive Form UI element. Can I use the data binding mechanism directly or have I to copy the data into a Value Node within the view controller.
    Thanks for helping
    René Morel
    SAP (Schweiz) AG

    Rene,
    You can create a local context node in component controller and copy the data from both the RFC's to this node, then bind it to the view controller. Then you can make this view context node as the datasource of the interactive form.
    Regards,
    Anand

  • Not able to create Distribution Model nor Import using IDX2

    Hello,
    I have created an RFC destination, and i'm able to connect successfully also remote logon is working with error, i have also created Port associated in RFC destination.
    But when i try to added a message type in distribution model, i get an error rfc destination not maintained.
    Same goes with Import of metadata, i not able to maintain an Port in IDX1, hence not able to import metadata.
    If i import an Idoc or create an external defination will it help.
    any help would be appreciated.
    Regards,
    Abhishek

    >>i not able to maintain an Port in IDX1
    I hope you have created RFC destination in PI system. What error do you see when you try to maintain port?
    Regards,
    Prateek Raj Srivastava

  • How to find out the destination of an "Adaptive RFC Model - DEPRECATED"

    Hi All,
    How to find out the destination of an "Adaptive RFC Model - DEPRECATED" of an running application
    and Where is the destination created in the server .
    I have got the code of the running project from NWDI .
    Thanks in Advance
    Regards
    Piyas Kumar

    Hi,
    I am not sure I fully understand the question, but as per the guide
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50f7192d-2808-2d10-189b-df3fa5f71abf
    Excerpt from Page 7
    Caveat Confector!1
    ARFC1 destinations were created using the Web Dynpro Content Administrator tool. This tool is
    still available for compatibility reasons, but the destinations it creates are not used by ARFC2
    models!
    Instead, you should use the u201CDestinationsu201D tool found on the Configuration Management screen of
    the NetWeaver Administrator.
    Therefore I think if you look up the application in the WD content Admin, there you can find out what kind of JCO/RFC connections are belonging to it. You can find it on http://<host>:<port>/webdynpro/dispatcher/sap.com/tcwdtools/Explorer
    Browse your application here, and then select the JCO Connections tab on the right hand side.
    I hope this helps.
    Best Regards,
    Ervin

  • Adaptive RFC model connectivity to SAP R/3 4.6 B

    We are developing a new webdynpro application which uses the backend R/3 version is 4.6B using Adaptive RFC model.
    We are able to connect to Web As systems without any issues but getting error messages while creating the Adaptive RFC model to R/3 4.6 B system as backend.
    Appreicate your help.
    Message was edited by: Udaya Chada

    Hi ,
    I think SLD,s/w Catalog and Creating Logical Systems were Configured,
    Go through the Following Steps Like,
    -- General Data, Enter the Client of the System and Client No. (JCo Connection is Pointing to)
    --J2EE Cluster, Select the J2EE Cluster you wish the JCo destination to be assigned
    -- Select the Destination Type, Either Application/Dictionary data
    -- Appl.Server, You may only select Servers/Logon Groups From the Drop down list that have first been defined as technical Systems in SLD.
    -- Message Server, Application Data JCo destination is connected must have atleast one logon group.( if this is not done ,use SMLG transaction code to create in SAP System)
    --Security, If you have selected connection Type as Application Data , then in the Security Screen you would appear Authentication Techniques and select a appropriate one .
    if you have selected connection type as a Dictionary meta data then provide User Name and Password
    If this is useful to you ,don't forget to award Points
    --Venkat

  • Problem in displaying a field in webdynpro using Adaptive RFC model

    HI,
    I created a webdynpro application using adaptive RFC model and i have a problem in displaying one of the output fields.
    When i execute the function module it is giving the exact value for my output field in this case telephone number (of type STEXT which is char with length 40).But when i am trying to display that telephone number in webdynpro application it is taking only first 4 digits.
    i deleted the model and recreated it still it doesnot work.
    please let me know how to resolve it.
    points will be awarded for sure
    Bala

    Hi Bala,
    Whenever you reimport the model server restart is necessary otherwise the changes will not get reflected. You will get an error when you deploy the application.There is no go around except restarting the server as the meta data gets cached in the server as long as the server is runnig.So, Once you restart the server the cache will be cleared.
    Check once again whether you are fetching data from correct BAPI field. Still problem persist try debugging.
    Regards, Suresh KB

Maybe you are looking for