CAF Model vs Adaaptive RFC Model

hi all,
    What is the difference between<b> CAF model with Adaptive RFC Model</b>.
Regards,
Sukanta

Hi,
CAF Model and Adaaptive RFC Model both are different.
In CAF you are creating Entity Service , Application service and doing modeling in entity service and application service as per your requirement and you can also expose the modeled services as web service for using from other application like as Web Dynpro. In CAF GP you can also do the modelinh of workflow.
http://help.sap.com/saphelp_nw70/helpdata/en/18/56d93f5e0f9015e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/32/d58041a17e060de10000000a1550b0/frameset.htm
But RFC model is like that it is a technology that enables the Web Dynpro application developer to use the business functions encapsulated in Business APIs (BAPIs) even after a structure modification, without having to provide the new data using a second back end or a new structure with subsequent regeneration of the proxies.
For more details please go through the link
http://help.sap.com/saphelp_nw70/helpdata/en/41/38bc8f813719488ddc9d9b21251ec3/frameset.htm
Thanks
Chandan

Similar Messages

  • SRM  RFC Model Error in Webdynpro JAVA

    Hi All,
    When I create a model from Any R/3 RFC in Webdynpro(JAVA) and map the RFC model context to Controller Context then every thing works fine, but when I create model from SRM RFC(Model is created with no problems at all) and map the SRM Model context to Controller Context, then I get below error:
    com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type com.cnsl.srm.model.types.Bbp_Category_Id could not be loaded: com.sap.dictionary.runtime.DdException: Type com.cnsl.srm.model.types.Bbp_Category_Id does not exist
    Is there any thing specific to SRM that we have to do on the Webdynpro(JAVA) side to be able to call the SRM RFC. Kindly suggest me. Also please if you can forward me to forum thread/blog in case there is any.
    -Shekhar.

    Hi,
    Please look at this thread. Similar problem
    Webdynpro Services Exception
    WebDynpro using BAPI has an error
    Regards,
    Marcin Gajewski

  • Regarding RFC Model

    Dear Frds
    I created ejb  using java code
    I am using java model and imported using
    "old webservice model" i need to set socket time to 3 mins for my webdynpro application...
    So if want change my old webservice model to adaptive RFC model
    what should i do?
    Can i use Ejb written in java in Adaptive RFC model...
    where are this adaptive RFC model used?
    Thanks and Regards
    ShravanG

    Hi
    oh sorry..
    Actually i mean to say adaptive webservice model
    Can i increase socket time if i reipmport my model from
    old depricated model to adaprive RFC model..
    what benefits will i get if i use Adaptive RFC Model
    over Old Depricated model..
    Can i use public parts of EJB in webdynpro..
    thanks
    Shravan
    i mean can i use

  • Webdynpro Callableobject - RFC model

    Hi,
      I am creating a webdynpro component, which will be available as callable object in GP.this involved interface and component controllers.
      In our scenario we use a rfc model.But, we are stuck up in the java conding for Interface controller and Component controller(For methods getDescriptuion and execute).
    Can anyone help me out in this java coding.
    Any helpdocument or links will be of great help.
    Thanks,
    Sharath

    Sharath,
    Please try to search forums Composite Applications section on SDN is good starting point, especially <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1eb928a1-0601-0010-f890-be9169f0d856">Complete CAF documentation for developers</a> manual.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • 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

  • Unbound fields in a table built with rfc model

    Hi,
    I would like to have unbound fields in a table in addition to the fields that are coming from the model.
    I have a model from an RFC function. I use this to build a table. There are 5 columns. This works fine. I would like to add two additional columns to the table that have their data coming from elsewhere (not from the rfc function).
    I've tried using the wdDoModifyView as below:
    IWDTextView text = (IWDTextView)view.getElement("TextView2");
    text.setText("This is the text");
    The problem here is that the value is shown on all the rows, not just one.
    And if I try to use the object that contains the getters and setters for the table data, these additional unbound fields do not have the getters and setters.
    How can I get to these unbound fields so I can fill them in a loop ? Can I create additional fields in the model so I can bind them to the context ?
    I do not wish to change the rfc code to have these additional fields in there. I am also not able to add fields to the model by hand (should I be able to ?).
    Any help greatly appreciated
    Kind Regards,
    Jari Pakarinen

    Thanks.
    I will need a clarification though
    Here is the code snippet from wdDoInit():
    for (Iterator iter = list.iterator(); iter.hasNext();) {
         Object skeduLine = iter.next();
         StringTokenizer toker = new StringTokenizer(((Ztab4000)skeduLine).getWa(), "t");
         Zmaterials zMats = new Zmaterials();
         String blaa = (toker.nextToken().split("\,"))[0];
         if (blaa.indexOf('.') != -1);
              blaa = blaa.replaceAll("\.", "");
         zMats.setWmeng(Integer.parseInt(blaa));
         zMats.setEtdat(getDate(toker.nextToken()));
         zMats.setMatnr(toker.nextToken());
         zMats.setKdmat(toker.nextToken());
         wdContext.nodeZ_Rfc_Schedagrt_Save_Input().currentZ_Rfc_Schedagrt_Save_InputElement().modelObject().addMaterials(zMats);
    I'm going thogh a list that contains String objects.
    Each String object contains fields separated by a tab. There are 6 fields, and 4 of them are going to the Zmaterilas object, and the rest 2 should be put to the additional fields of the table.
    I create the Zmaterials (table contents minus the additional fields) object and populate these fields with the 4 fields of data.
    How should I put the additional data to the table here ?
    Kind regards,
    Jari

  • Execute a RFC-Model in another WD-Project

    Hi everybody,
    my purpose is to execute a RFC-Model in an other WD-Projekt in order to use the result node.
    WD-Project(A) -references-> WD-Project(B)
    WD-Project(A) executed the RFC-Model in WD-Project(B) which is only used by WD-Project(A) .
    I provide an execute method in Interface Controller in WD-Projekct(B) but if i call it from WD-Project(A) i get no result! in my context node? But if i start the WD-Project(B) as standalone it works properly.
    Unitl now i thought that calling a method of another Interface-Controller will start the hole application, in this case WD-Project(B).
    What is my mistake?
    regards,
    Sid

    Hi,
    Check whether you have defined the usage of project(B) in project(A) correctly. Also check the lifecycle for the controller of project(B).
    Check this [Link|http://help.sap.com/saphelp_nw70/helpdata/EN/89/b21640dc88e769e10000000a155106/content.htm]
    Hope it helps.
    Regards,
    Manoj

  • 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 importing a Adaptive RFC Model

    Experts,
    I am trying to import an Adaptive RFC Model. Before importing I need to speciy the connection parameters in the import wizard. I am using the single server method to connect and have specified all the parameters correctly. I have not specified a SAP router as I am using a test system. when I click next on the Model import wizard I get an error.
    The trace shows-
    [code]ConnectionFailed Exception : com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
    Connect_PM  GWHOST=test833, GWSERV=sapgw00, ASHOST=test833, SYSNR=00
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner not reached (host 10.3.82.177, service 3300)
    TIME        Fri Jun 29 08:54:18 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r.cpp
    LINE        8715
    DETAIL      NiPConnect2
    SYSTEM CALL SiPeekPendConn
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUN
         at com.sap.ide.jcb.core.service.connection.internal.ConnectionManager.connect(ConnectionManager.java:220)
         at com.sap.ide.jcb.core.service.connection.internal.ConnectionManager.connectToSingleServer(ConnectionManager.java:206)
         at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.internalConnectToServer(SAPLogonPage.java:1769)
         at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.access$2300(SAPLogonPage.java:46)
         at com.sap.ide.jcb.core.wizardpages.SAPLogonPage$9.run(SAPLogonPage.java:1730)
         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:136)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:261)
         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
         at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.connectToServer(SAPLogonPage.java:1699)
         at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.performFinish(SAPLogonPage.java:1805)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard.initializeReimporter(ModelWizard.java:1410)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard.performPostSapLogonPageForReimport(ModelWizard.java:1433)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:85)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
         at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
         at org.eclipse.jface.window.Window.open(Window.java:563)
         at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.reimportModel(ModelEditorCallback.java:218)
         at com.sap.ide.webdynpro.service.modeleditor.ModelService.reImportModel(ModelService.java:207)
         at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.reImportModel(ServiceWithUI.java:120)
         at com.sap.ide.webdynpro.tsmodel.application.actions.ReimportModelAction.run(ReimportModelAction.java:11)
         at com.sap.ide.webdynpro.projectbrowser.actions.PBReimportModelAction.run(PBReimportModelAction.java:77)
         at com.sap.ide.webdynpro.projectbrowser.actions.PBDevelopmentObjectAction.runInternal(PBDevelopmentObjectAction.java:80)
         at com.sap.ide.webdynpro.projectbrowser.actions.PBDevelopmentObjectAction.run(PBDevelopmentObjectAction.java:61)
         at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
         at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Caused by: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
    Connect_PM  GWHOST=test833, GWSERV=sapgw00, ASHOST=test833, SYSNR=00
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner not reached (host 10.3.82.177, service 3300)
    TIME        Fri Jun 29 08:54:18 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r.cpp
    LINE        8715
    DETAIL      NiPConnect2
    SYSTEM CALL SiPeekPendConn
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUN
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1125)
         at com.sap.mw.jco.JCO$Client.connect(JCO.java:3138)
         at com.sap.ide.jcb.core.service.connection.internal.ConnectionManager.connect(ConnectionManager.java:216)[/code]
    Can someone tell me problem..
    Thanks in advance,
    Vineeth

    In service file if entry is not there... give the enty like
    <b>sapgw<Inst.No>       33<Inst.No>/tcp
    sapgw<Inst.No>s      48<Inst.No>/tcp</b>
    where <Inst.No> = System Number of your R/3 system(00 or 01...)
    In host file....
    ip of the server                            name of the server....

  • Login failed error while importing an adaptive RFC model

    Hi there,
    I am trying to import a adaptive RFC model for a BAPI from a 46D system, to which I have connected using VPN from my WAS J2EE server. I have given the login details as Single server(Not load balancing), and given the user login details. However, I am not able to proceed further because it gives me the error 'Name or password is incorrect, please re-enter'. This is strange because I am giving the correct name and password, and I am able to login to this system through SAP GUI using same logon credentials.
    I am confused as to what it is expecting to move forward. I have tried changing case of the user name, restarting my WAS etc. The client is correct, and the login language is EN.
    Could anybody have any clues or have you faced a similar problem?
    thanks in advance,
    LM

    I have had the same problem.
    I think whoever programmed the logon routine at that point should be fired immediately and banned from programming for life! Logging on is a very basic and well-understood task, and programmed gozillions of times since 1940s. Common sense and unwritten rules of programming dictate simply if you make something case-sensitive, then you should accept an input in its original form (i.e. password in smalls, or whatever) but not change it to uppercase and then work case-sensitively. Either this, or you program everything case-insensitively.
    Fire that programmer or give him to us gollumvoice

  • 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

  • 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

  • RFC model values are not shown in table

    Hi there,
    I can't gather the values from the RFC FM in my table, while this has been done exactly the same way as other tables which do get values... Any reason for this?
    I have 2 DC's:
    -data DC which acts as a container for the RFC-imported datamodels
    -bupa DC in which the implementation is done
    Custom Controller CuCoMain (from bupa DC):
    Context:
    OutputRelContacts (model node bound to model BuPaRelationsModel.__Crm_Bb_Bupa_Rels_Output)
    cardinality: 0...n; selection: 0...1
    > Rel_Contacts_Result (node of OutputRelContacts)
    => bound to BuPaRelationsModel.__Crm_Bb_Bp_Rel_Res_Ds
    cardinality: 0..n; selection: 0...1
    There is no context input necessary since 'related contacts' is dependent of the bpnr which I pass as parameter (see below).
    Implementation in CuCoMain
    public void TriggerAccConSearch( java.lang.String Mode, java.lang.String BuPaNr )
        //@@begin TriggerAccConSearch()
         //also see comments in TriggerBuPaSearch
         accContactsInput = new __Cernum__Crm_Bb_Bupa_Rels_Input();
         accContactsInput.setRel_Mode(Mode);
         accContactsInput.setBp_Number(BuPaNr);
         try{
              accContactsInput.execute();
              wdContext.nodeOutputRelContacts().invalidate();
              accContactsOutput = accContactsInput.getOutput();
              this.wdThis.wdGetContext().nodeOutputRelContacts().bind(accContactsOutput);
         catch(Exception e){
              msgMngr.reportException(e.getMessage(),true);
        //@@end
    Context in view
    Context node OutputAccContacts (bound to CuCoMain.OutputRelContacts.Rel_Contacts_Result)
    cardinality: 0...n; selection: 0...1
    Implementation to trigger TriggerAccConSearch:
    String SelectedBuPaNr = this.wdThis.wdGetContext().nodeVOutputDetails().currentVOutputDetailsElement().getBpnumber();
         String RelMode = "C";
         this.wdThis.wdGetCuCoMainController().TriggerAccConSearch(RelMode, SelectedBuPaNr);
    RelMode & SelectedBuPaNr are filled with values.
    So what did I do wrong...? I'm out of inspiration; I've reimported the model, rebuilt the entire application, redone the context, redone the implementation but up until now nothing worked.
    Any help is greatly appreciated
    KR
    A

    Hi there,
    Yes, as stated earlier, my RFC is being called by the application and the parameters are correct (input & output). Somehow, these values just don't get transferred to the node.
    Also, you can try the following piece of code before the RFC call at the Dynpro end :
    IWDMessageManager manager = wdComponentAPI.getMessageManager();
    try{
    wdContext.current<RFC_Name>_InputElement().modelObject().execute();
    wdContext.node<Output_Node_Name>().invalidate();
    } catch(WDDynamicRFCExecuteException ce) {
    manager.reportException(ce.getMessage(), false);
    I don't think that will help in my situation. In my situation there are 3 tables which have to be filled by the nodes.
    These 3 tables are all based on the same RFC (with different input parameters). The weird thing is that one of these tables works perfectly and the others just don't work. Even weirder is that all the RFC-uses are implemented the same. (See below)
    The working RFC call (table is populated):
    public void TriggerAccRelSearch( java.lang.String BuPaNr, java.lang.String Mode )
        //@@begin TriggerAccRelSearch()
         //also see comments in TriggerBuPaSearch
         accRelsInput = new __Crm_Bb_Bupa_Rels_Input();
         accRelsInput.setRel_Mode(Mode);
         accRelsInput.setBp_Number(BuPaNr);
         try{
              wdContext.nodeOutputRelationships().invalidate();
              accRelsInput.execute();
              accRelsOutput = accRelsInput.getOutput();
              //wdComponentAPI.getMessageManager().reportWarning("TriggerAccRelSearch Result of RFC START" + accRelsOutput.getRel_Result().listIterator()..toString() + "TriggerAccRelSearch Result of RFC START");
              //wdComponentAPI.getMessageManager().reportWarning("First line: " + accRelsOutput.getRel_Result().get(0).toString());
              //currentRel_ResultElement().getRelationship().toString());
              this.wdThis.wdGetContext().nodeOutputRelationships().bind(accRelsOutput);
              wdComponentAPI.getMessageManager().reportSuccess("test accrelsearch: " + wdContext.nodeOutputRelationships().nodeRel_Result().currentRel_ResultElement().getAttributeAsText("Relationship").toString());
         catch(Exception e){
               msgMngr.reportException(e.getMessage(),true);
         finally{
              DynamicRFCModel modelinst;
              modelinst = (DynamicRFCModel) WDModelFactory.getModelInstance(BuPaRelationsModel.class);
              modelinst.disconnectIfAlive();     
        //@@end
    The non-working RFC-calls (tables are NOT populated):
    public void TriggerAccReltdEmpSearch( java.lang.String Mode, java.lang.String BuPaNr )
        //@@begin TriggerAccReltdEmpSearch()
         accReltdEmplInput = new __Crm_Bb_Bupa_Rels_Input();
         //accReltdEmplOutput = new __Crm_Bb_Bupa_Rels_Output();
         accReltdEmplInput.setRel_Mode(Mode);
         accReltdEmplInput.setBp_Number(BuPaNr);
         try{
              wdContext.nodeOutputReltdEmp().invalidate();
              accReltdEmplInput.execute();
              accReltdEmplOutput = accReltdEmplInput.getOutput();
              this.wdThis.wdGetContext().nodeOutputReltdEmp().bind(accReltdEmplOutput);
              //wdComponentAPI.getMessageManager().reportSuccess("test accReltEmp: " + wdContext.nodeOutputReltdEmp().nodeReltd_Emp_Result().currentReltd_Emp_ResultElement().getAttributeAsText("Relationship").toString());          
         catch(Exception e){
              msgMngr.reportException(e.getMessage(), true);
              msgMngr.reportSuccess("error: " + e.getCause());
         finally{
              DynamicRFCModel modelinst;
              modelinst = (DynamicRFCModel) WDModelFactory.getModelInstance(BuPaRelationsModel.class);
              modelinst.disconnectIfAlive();          
        //@@end
    and:
    public void TriggerAccConSearch( java.lang.String Mode, java.lang.String BuPaNr )
        //@@begin TriggerAccConSearch()
         //also see comments in TriggerBuPaSearch
         accContactsInput = new __Crm_Bb_Bupa_Rels_Input();
         accContactsInput.setRel_Mode(Mode);
         accContactsInput.setBp_Number(BuPaNr);
         try{
              wdContext.nodeOutputRelContacts().invalidate();
              accContactsInput.execute();
              accContactsOutput = accContactsInput.getOutput();
              wdComponentAPI.getMessageManager().reportWarning("TriggerAccConSearch Result of RFC START" + accContactsOutput.getRel_Result().toString() + "TriggerAccConSearch Result of RFC START");
              this.wdThis.wdGetContext().nodeOutputRelContacts().bind(accContactsOutput);
         catch(Exception e){
              msgMngr.reportException(e.getMessage(),true);
         finally{
              DynamicRFCModel modelinst;
              modelinst = (DynamicRFCModel) WDModelFactory.getModelInstance(BuPaRelationsModel.class);
              modelinst.disconnectIfAlive();     
        //@@end
    Parameter definition:
    __Crm_Bb_Bupa_Rels_Input accRelsInput;
    __Crm_Bb_Bupa_Rels_Output accRelsOutput;
    __Crm_Bb_Bupa_Rels_Input accReltdEmplInput;
    __Crm_Bb_Bupa_Rels_Output accReltdEmplOutput;
    __Crm_Bb_Bupa_Rels_Input accContactsInput;
    __Crm_Bb_Bupa_Rels_Output accContactsOutput;
    The table dataSources have all been bound to the context properly, as well as the table columns. Also, in the backend the correct values have been passed and retrieved.

  • 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

  • Photoshop CS4:Fatal error

    This pops up when I open my Photoshop CS4: Fatal error - missing component: /Library/Application Support/Adobe/Adobe Version Cue CS4/Client/4.0.0/VersionCue.framework. Any ideas on what i can do? happens when I open a project. Thanks

  • How to call a method of a class where the name of method is string

    i have a method of a class in the form of a string and i have the object of the class to which it belongs .what i want to do is call this method. for ex: S1 s=new S1(); // this is the object of my class. this class has one method called executeMe() S

  • Client proxy to file(xml) scenario configuration

    I have done client proxy to file (xml) ,while executing abap code there is no error, but xml msg is not received in particular target directory. so i want to know about 1. What are the configuration required for client proxy to pi(with T.Code).      

  • IPhoto Time Machine restore.

    iMac went in to Apple store. Came out with a new HD and new install of Snow Leopard and iLife 08. When it went it originally it had an up to date, and what I thought was a slightly corrupted Leopard and iLife 08. Ok fine. SL, but no restore disks, wh

  • I have master collection suite 5.5 and illustrator not accepting serial number

    why won't it except the seal number i have