Reimporting RFC inro web dynpro java project

Hi,
I tryed to reimport RFC into my web dynpro java application.
It warn me with message below
Message
Adaptive RFC Reimport could lead to inconsistence of R/3 metadata cashed on the J2EE server
Thus it is recommanded to invalidate the cache,
this could be done either by restarting the J2EE server or by using Adaptive RFC Metadate Cache Invalidation Tool within Webdynpro Console
Question
How can i use  RFC Metadate Cache Invalidation Tool ?
Thanks.

Hi Friend,
Have A look On This Document Hope It will help.
[Metadata Cache Invalidation for Adaptive RFC Models|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10465350-b4f5-2910-61ba-a58282b3b6df&overridelayout=true]
And Let Us Know If Still face any issue.
Regards
Jeetendra

Similar Messages

  • Web Dynpro Java : Failed to get deployable object part info for component

    Currently we have a web dynpro java project which connects to the ABAP backend with Web Services. Everything seems fine, and when we transport to the production server via NWDI, we have the following error. Everytime we try to access the application , the error is occurred.
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to get deployable object part info for component com.sie.attachmentcomp.AttachmentComp
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.getComponentDeploymentDescription(ClientComponent.java:784)
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:934)
        at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:177)
        at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
        at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
    It is working properly in our development , and testing environment. Only production has this error. And one weird thing is that this particular error occurred only sometimes to some user. For example; I could not access to the application with this error yesterday but my friend can access. Today, I can access in the morning but my friend cannot. For another friend , Yesterday he can access by using IE but not by Firefox. But today Firefox is fine but not with IE. It seems crazy.
    For more information, in our J2EE engine for the production server, we have 3 server nodes (clusters). And we are not sure it is the source of the problem. Is there any solution , and any way to know from the application that we are on which server?
    We also go and check from the Content Administrator in Web Dynpro Console. Under our project name, in the list of Components, sometimes we can see AttachmentComp but sometimes not.
    Please help us as our project is about to go-live next week.
    Thanks,
    Yu

    Hi Meenge,
    Please check below document for finding root cause for "Failed to start deployable object part info for <development component> and application <application name>"
    http://help.sap.com/saphelp_nwce711core/helpdata/en/44/7716e1633a12d1e10000000a422035/frameset.htm
    OR http://help.sap.com/saphelp_nw04/helpdata/EN/f4/1a1041a0f6f16fe10000000a1550b0/frameset.htm
    Hope it helps
    Regards
    Arun

  • InteractiveForm UI Element in Web Dynpro Java - Image not displayed on form

    Hello Experts,
    Using: NetWeaver Developer Studio 7.0.1_06; Adobe Livecycle Designer 8.1.
    I have an image "image.png" in my src/mimes/components/com.mm.InteractiveFormComp folder within my web dynpro java project.
    I load the image into my context in wdDoInit method in the comp controller:
    wdContext.currentContextElement().setImage("image.png");
    In the interactiveform I have an ImageField on the form and have set its properties as follows:
    Field - URL = http:[host]:[port]/webdynpro/dispatcher/InteractiveFormComp/src/mimes/components/com.mm.InteractiveFormComp/image.png
    Field - Embed Image Data = "checked"
    Binding - Default Binding = Image
    However, no image ever shows up on the form. I have also been through many threads in the forums but havent found a solution. Can anyone please assist me?
    Regards,
    MM.

    Hello,
    I tried using jpg and bmp. Didn't work.
    Any other suggestions?
    Regards,
    MM
    Solved it!
    Edited by: Marshall Mathers on Mar 9, 2011 9:53 PM

  • Kill the RFC connection as soon as the call is completed in Web Dynpro JAVA

    Hi Experts,
    Please guide us how to kill the RFC Connection from web dynpro java as soon as the execution is completed.The FM connection (Adaptive RFC) isnt getting closed in IS-U side. Please guide us how to close them explicitly.
    We are getting the following error
    (102) RFC_ERROR_COMMUNICATION max number of cpic clients exceeded (300)

    hi suvankar ,
    wdContext.current<Modelname>_InputElement().modelObject().modelInstance().disconnectIfAlive();
    use this option after executing your rfc, it will remove the connection to the r/3.
    adn this
    (102) RFC_ERROR_COMMUNICATION max number of cpic clients exceeded (300)  -- is occuring because the pool size defined the jco destination is not sufficient, ask your basis team to increase the pool size.
    Regards
    Govardan

  • Logical Destinations in Web Dynpro Java

    Hi!
    Is it possible to access logical HTTP destinations maintained in SAP NetWeaver Administrator via Configuration Management -> Security ->Destinations in Web Dynpro Java source-code.
    I would like to use such a destination to configure an URL target for a IWDFrame UI element.
    Thank you very much in advance!
    Regards,
    Thomas

    I found out that there is a [Destination Service API|http://help.sap.com/saphelp_nwce711/helpdata/en/8b/8e7dac1e661d44bf2a676fd3948cc6/content.htm] for this purpose. Unfortunatly I am still not able to provide the required components security.class and tc/sec/destinations/interface to the web dynpro component. Maintaining them via Project Properties -> Web Dynpro is not allowed any more, and I couldn't find them in the DC perspective to add them as DC dependency.
    Has anybody got an idea where these two libraries have gone?
    Regards,
    Thomas
    PS: The 7.0 procedure, which can be found in various posts, doesn't seem to work any more for CE 711.

  • " APPLICATION NOT FOUND"  while deploying Web dynpro java Application

    Hi, I am getting a message that "application not found " While deploying the web dynpro java application .......... please give me a solution for this .

    Hi Ram,
    This error comes generally when your webdynpro project does not have an application. To create an application in your webdynpro project follow the underlying steps:
    <Project>->WebDynpro->Applications ---> right click and create New Application.
    Follow the steps to create the application.
    Now if you create archive and deploy, it will not give you the error again.
    Best Regards,
    Ravi

  • Consuming External Web Services in Web Dynpro Java

    Hi All,
    I an trying to consume external web service in Web dynpro java using Adaptive Web Service Model.
    But getting below mentioned error while executing the web service
    Exception on execution of web service with WSDL URL 'D:\Web Service Project\CurrencyConvertor.asmx.xml' with operation 'ConversionRate' in interface 'CurrencyConvertorSoap'
    Steps i followed are as below:
    1. Created  Adaptive Web Service Model for this i select WSDL source as "Local File System or URL"
    In next step i select No logical destination radio button and click on next
    In next step, browse the WSDL file and successfully import the WSDL file.
    2. After successfully importing the WSDL file i wrote below code in Init method:
    WebModel modelweb = new WebModel();               
    Request_ConversionRate reqConversion = new Request_ConversionRate(modelweb);
    ConversionRate conversion= new ConversionRate(modelweb);
    reqConversion.setConversionRate(conversion);
    wdContext.nodeRequest_ConversionRate().bind(reqConversion);
    3.After that execute the model - code is given below :
        IWDMessageManager manager = wdComponentAPI.getMessageManager();
        try
          wdContext.currentRequest_ConversionRateElement().modelObject().execute();
          wdContext.nodeResponse().invalidate();
          wdContext.nodeConversionRateResponse().invalidate();
        catch(Exception e)
          manager.reportException(e.getMessage(), false);
    Please let me know how to resolve this.
    Thanks
    Sandy

    Hi,
    You need to use destinations for metadata and modeldata.
    Configure those destination in Visula admin.
    you can refer to following link.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7
    Regards,
    Shruti.

  • Creating sales order using web dynpro JAVA

    Hello everyone,
    i am new to web dynpro. Can any one tell me how to creating sales order by web dynpro JAVA using BAPI.
    Thanks.
    Vinita Sharma

    Hi...
    you can use Adaptive RFC methodology in web dynpro java to work with BAPIs..... these are standard bapi's provided
    Here are required Bapis... select which one you want....
    BAPISDORDER_GETDETAILEDLIST Sales Order: List of All Order Data
    BAPI_ORDER_CHANGE_STATUS_GET Change status for order
    BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales Document
    BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order
    BAPI_SALESORDER_CREATEFROMDAT1 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales Order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create sales order, no more maintenance
    BAPI_SALESORDER_GETLIST Sales order: List of all orders for customer
    BAPI_SALESORDER_GETSTATUS Sales order: Display status
    BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
    check this thread SALES ORDER creation using BAPI
    sample java program which will call SAP bapi function sales order create
    PradeeP

  • Deploying problem of web dynpro java application

    Hi,
    I have a web dynpro java application with no problem about deploying.
    I copied this application with another name.
    I tryed new application to deploy but sdm aborted with error.
    Error
    19.Tem.2011 10:22:25 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : vserver0202
    SDM port : 52018
    URL to deploy : file:/C:/Users/CEMIL~1.BOZ/AppData/Local/Temp/temp27456HF_PERS_RAPOR_BUTCE.ear
    Result
    => deployment aborted : file:/C:/Users/CEMIL~1.BOZ/AppData/Local/Temp/temp27456HF_PERS_RAPOR_BUTCE.ear
    Aborted: development component 'HF_PERS_RAPOR_BUTCE'/'local'/'LOKAL'/'0.2011.07.19.10.22.15'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application local/HF_PERS_RAPOR_BUTCE.. Reason: Clusterwide exception: Failed to deploy application local/HF_PERS_RAPOR_BUTCE. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/HF_PERS_RAPOR_BUTCE. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted

    Hi,
    Since the exception says "Are all referenced components deployed and available on the engine?"
    Check wether any DC is used as a used DC in the webdynpro component which you are deploying.
    If any used DC is available try to deploy that DC in the server and then deploy ur webdynpro application.
    If all reference DC's are avialable in server, still if you get this error try to rename the component and reload+rebuild the project and deploy it.
    Hope this helps you...
    Regards,
    Saleem Mohammad.

  • Web Dynpro Java to Web Dynpro ABAP

    Hi all,
    I am a web dynpro java developer with more than 3 years of portal development experience.
    I am now put into a project with web dynpro ABAP(ESS/MSS customization).
    Would like to know whether I should start concentrating more on ABAP or SAP HR?
    I dont have any ABAP programming exp except that attended a training few years back.
    And on SAP HR,dont have much exp except that have some knowledge on ESS customization in dynpro java.
    Please let me know where I should start to get myself refreshed before starting my work.
    Any advice/docs are invited.
    Also,please let me know whether there is any NWDI required for ESS/MSS customization in webdynpro ABAP.
    Thanks
    Meena

    Hi Meena,
    As you have good experience of Web Dynpro JAVA.
    I think you just need to comcentrate on ABAP skills.
    You need not concentrate on SAP HR as ur work is technical your functional guys will take care of HR module and will help you.
    For starting i would suggest you to just go through the basics of ABAP like Work areas , internal tables etc.
    Then start doing some WD ABAP hands on.
    My scenario is similar.
    I am a portal and WD JAVA person and this is my first WD ABAP assignment.
    I followed the above approach.
    You will find many concepts similar to WD JAVA as this is just the ABAP flavour of Web Dynpro.
    The below link will help you a lot
    [WD ABAP HELP|http://help.sap.com/saphelp_nw04s/helpdata/en/43/1f6442a3d9e72ce10000000a1550b0/frameset.htm]
    I hope it helps.   

  • Function used in web dynpro java application

    Hi
    I am creating some application in web dynpro java by using ABAP function module and table. I am trying to put data to table and update data in table and delete data in table in my application by using ABAP function by using RFC. And this is the ABAP function module.
    FUNCTION ZUP_DESIG12.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(DESG_CODE) TYPE  ZUP_DESIG-DESG_CODE OPTIONAL
    *"     VALUE(DESG_DESC) TYPE  ZUP_DESIG-DESG_DESC OPTIONAL
    *"     VALUE(DESG_ACT) TYPE  ZUP_DESIG-DESG_ACT OPTIONAL
    *"     VALUE(DESG_OPT) TYPE  ZUP_DESIG-DESG_OPT OPTIONAL
    *"  TABLES
    *"      WA STRUCTURE  ZMSTR_DESIG
    DATA CNT TYPE I.
    SELECT MANDT DESG_CODE DESG_DESC DESG_ACT FROM ZMSTR_DESIG
      INTO TABLE WA.
    IF DESG_OPT = 'U'.
    UPDATE ZMSTR_DESIG
        SET DESG_DESC = DESG_DESC
        DESG_ACT = DESG_ACT
        WHERE DESG_CODE = DESG_CODE.
    MESSAGE 'Updated Successfully' TYPE 'I'.
    ELSEIF DESG_OPT = 'C'.
    SELECT COUNT( * ) FROM ZMSTR_DESIG INTO CNT
       WHERE DESG_CODE = DESG_CODE.
       IF CNT > 0.
       MESSAGE 'Duplicate Designation code' TYPE 'I'.
       ELSE.
      WA-DESG_CODE = DESG_CODE.
      WA-DESG_DESC = DESG_DESC.
      WA-DESG_ACT = DESG_ACT.
      MODIFY ZMSTR_DESIG FROM WA.
       MESSAGE 'Inserted successfully' TYPE 'I'.
    ENDIF.
    ELSEIF DESG_OPT = 'D'.
       DELETE FROM ZMSTR_DESIG WHERE DESG_CODE = DESG_CODE.
       MESSAGE 'Deleted successfully' TYPE 'I'.
    ENDIF.
    ENDFUNCTION.
    I am not able to put data to table through my application but i am getting this error.
         java.lang.ArrayIndexOutOfBoundsException: -1
    What might be the problem .
    Regards,
    H.V.Swathi

    Can any one tell solution

  • Caching in Web Dynpro Java

    Hi Experts,
    I am trying to develop a web dynpro for java application based on RFC model.
    I am using an RFC that brings the Countries and States from the R/3 and will be used as dropdowns in the views controllers.
    The question is:
    I would like to cache the Countries and States in my web dynpro application. The idea is not to execute the model everytime. The model should be executed only once. I would like to store these countries and states in a local java dictionary or etc. and use them for UI element designing.
    Is there any way to do this in Web Dynpro Java? I would like to follow a better approach to avoid performance problems.
    I do not want to follow this approach: executing the model in the wdInit method of the controller. Executing this model in this method also causes performance problems. Because the model is brining approx 1540 records from R/3.
    Please advice.

    Hi All,
    Thank you for the suggestions.
    I am a beginer in wd java. i am starting with amit's suggestion.
    Step 1: Execute RFC to fetch data preferably use doInt method for it.
    Should I execute the method in wdInit of the view controller/component controller?
    I defined a method "executePMPReadBAPI" in component controller.
      public void executePMPReadBAPI( )
        //@@begin executePMPReadBAPI()
       try{
            wdContext.currentPMPDoctorReadElement().modelObject().execute();
            }catch (Exception e){
            logger.errorT("Error in executing PMP Read BAPI");
    wdInit of View controller:
              IWDAttributeInfo countryInfo =
                   wdContext.getNodeInfo().getAttribute(
                        wdContext.currentContextElement().COUNTRY);
              ISimpleTypeModifiable countryType =
                   countryInfo.getModifiableSimpleType();
              IModifiableSimpleValueSet countryValueSet =
                   countryType.getSVServices().getModifiableSimpleValueSet();
              for (int i = 0; i < wdContext.nodeCountries().size(); i++) {
                   IWDNodeElement CountryNode =
                        wdContext.nodeCountries().getElementAt(i);
                   String countryKey = (String) CountryNode.getAttributeValue("Land1");
                   String countryText =
                        (String) CountryNode.getAttributeValue("Landx");
                   countryValueSet.put(countryKey, countryText);
    This coding is working, I am able to populate the dropdowns. The problem is the application is slow.
    I am guessing this much coding is not necessary in the view conroller's wdInit method.
    Why the binding approach like mentioned below is not working (model>Conroller>View)? How should I execute the RFC in the wdInit of the component controller? Is this possible?
    wdInit of Component Controller: Below coding and proper binding is not sufficient to populate dropdowns? Please advice.
         Zhr_Ess_Address_Input ReadInput = new Zhr_Ess_Address_Input();
              wdContext.nodeZhr_Ess_Address_Input().bind(ReadInput);
              try {
                   wdContext
                        .currentZhr_Ess_Address_InputElement()
                        .modelObject()
                        .execute();
                   wdContext.nodeOutput().invalidate();
              } catch (Exception e) {
                   logger.errorT("Error Reading the BAPI");

  • Synchronization in Web Dynpro JAVA

    Hi All,
    I have a Web Dynpro JAVA application, for which an iView has been created and is assigned to a role. Now I have the below requirement,
    If two users tries to access this application at the same time then the second user has to get a message stating that "A user is already accessing this application please try later". Basically the thread concept. Is it possible to achieve this in Web Dynpro JAVA. If yes please provide me some pointers on how to achieve this.
    Thanks & Regards,
    Vishweshwara

    Hi Vishweshwara,
    Create the Custum table with UserID fields.
    Create the RFC with UserID fields as input parameters and result  field as export parameter.
    Write the logic in RFC if Custum table contains any value in UserID Field then return error message like " This application is already using by  <UserID>"
    else
    stor the values UserID and LoginStatus(which you are sending from Webdynpr java app) in custom table and  return success message.
    Create webdynpro java component and create two iview called main and info view
    import the RFC in webdynpro java app and do the binding from model to component controller and component controller to view controller of main.
    Write the following code in wdDoInit() method of main view to get the login userid and sending that to RFC.
    String userID = null;
    IWDClientUser clientUser = WDClientUser.getCurrentUser();
    IUser User = clientUser.getSAPUser();
    if (User != null)
    try
    IUserAccount[] acct = User.getUserAccounts();
    if(acct[0] != null)
    userID = acct[0].getLogonUid();
    wdContext.current<RFCNodeName>Element().setUserID(userID);
    catch(UMException e)
    //Raise some error msg according to your scenario.
    //code for calling the RFC
    wdThis.wdGet<ComponentControllerName>().execute();
    String msg = wdContext.current<OutputNodeName>Element().getResult();
    if(msg != null && msg.lenght() !=0)
        if(msg.equalsIgnoreCase("This application is already using by  <UserID>")
              wdThis.wdFirPlug<PlugName>();// code for naivigate from main view to info view
    the navigation between main view to info view needs to defined in navigation moduler area.
    if you foolow the above specified way u can achive your requerment.
    Revert back if you any quaries.
    Thanks & Regards,
    bhargava.

  • Web dynpro java application to update data in CRM system

    Hello All,
    I need to develop a web dynpro java application which will read and update data in CRM. How can I do this?
    Thanks and Regards,
    Deepti

    First develop RFC / BAPIs to update and read in CRM system.  Call those BAPIs from Web Dynpro Java application using AdaptiveRFC model.
    Cheers,
    ~kranthi

  • How to set up environment for web dynpro Java?

    We want to develop applications in Java Web Dnpro.
    What do I need to configure in SAP R3 to use Web Dynpro Java?
    I can develop applications on the SAP NetWeaver Developer Studio and only perform a configuration  in SAP ECC ?
    Or do I need to install SAP EC Composition Environment ?
    Can I develop and set up RFC connections to integrate with my application in Web Dynpro Java?
    Please help me,
    Regards,
    Viviane

    Dear Viviane,
    In the webdynpr java application, you can use the data from SAP system. like you can use RFC's, Bapi's in your webdynpro application.
    Refer to [Linking RFC to Web Dynpro|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/761eba66-0401-0010-b982-d5f5bd9e8f90?quicklink=index&overridelayout=true] and http://wiki.sdn.sap.com/wiki/display/WDJava/WelcometoWebDynproJava%21
    Best Regards
    Arun Jaiswal

Maybe you are looking for

  • What to do about not waking after Sonnet Tango USB FW PCI in G4 AGP Graph?

    I have bought a used PowerMac G4 AGP Graphics 400 MHz, running OS X 10.3.9, 512 Megs of RAM, 20 GB internal ATA HD, Internal CDRW, Internal ZIP 100, Adaptec SCSI SE card (25 pole). That system was just fine - amazing power for an 8 year old computer!

  • Indesign CS4 - Error Synchronizing Data Panels

    I have a user who is trying to synchronize their data panels which are stored on a file server. This has worked for the past few months, but yesterday she suddenly got the error that says 'Error writing data panel.' That is the only information given

  • Upload files question

    hi all i face a problem that i try to upload a file to server using javazoom package but this file contains refrences to images in a folder relative to it and i need to upload these images also{ for example if the file named aaa.dvr there is a folder

  • Error while installing EBS12.1.1

    Hello, I am trying to install EBS12.1.1. on a redhat linux machine. I have two questions regarding the same. First, I got all the downloadables from edelivery.oracle.com and have created a staging area of my own(/root/StageArea). I unzipped all the p

  • LTE calls drop when iMessages come in over wifi

    Have only had Verizon since my iPhone 5 purchase (~3.5 weeks).  Get about 3 bars of LTE in the house, and have WIFI.  Tonight, I had a crazy experience of about 5 dropped calls one right after another. (With 3 bars still always visible).  I was getti