Reimport model

Hi,
I was wondering how ABAP WebDynpro handles model changes?
In Java WD, you can do something called "Reimport model", which will then regenerate the context nodes for import and export and the java representing classes of ABAP objects/ddic structures etc.
Do you need to do that in ABAP WebDynpro? Or the developer is expected to change the generated method manually?
Cheers
Michael

Elton,
Vijayakhanna is right: it is necessary to re-start server. After first model usage metadata get cached and stay in cache as long as server is running. So even you have modified model, stale metadata is returned unless you restart server.
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com

Similar Messages

  • Build ERROR after reimport model, too many datatype deleted

    Hi all,
    now when I reimport model of my DC, I found too many datatype would be deleted after I press Finish. I think with this deletion my dc will never pass the build. All I wonder is why this happen, what kind of operation on back end will cause this kind of deletion.
    I know there must be some changes behind java layer, but I dont know why they just delete datatype, I can not continue my work with these models, they are too many, I can not fix them all or delete&recreate them.
    Give me some hint?
    Best Regards,
    William

    HI William
    There might be some changes done in your Backend [exsisting model]
    so it is throwing dump when you are trying to reimport. what you can do is delete the exsisting model and try to create a new model. first take the back up of the project and experiment on the dummy project
    Best Regards
    Chaitanya.A

  • Reimport Model for JavaBean

    Hi All,
    Whatever I try, the option 'Reimport Model' in the context menu is disabled for my JavaBean Model.
    Get's a bit anoying after having deleted the model, rebuild it, and reworked the context mappings for the gazillionst time.
    Anyone any idea?
    Thanks,
    Jurjen

    Hi Jurjen,
    We too have to face same problem again and again. But following points may help you:
    1. When you add any attribute to your java bean, ensure that it has proper getter and setter method. Then go to model class which is generated based on Java bean class and manually add the attribute in that model class. You can do manual addition by double clicking the specific model class, going to properties and then clicking on New. Make sure that whatever property you are adding must have same name as what you have added as attribute to your java bean.Reflect it in mappings also.
    2. If you are deleting some attribute from java bean class, remove it's getter and setter also. Then again in properties of corresponding model class, delete the associated property. Reflect it in mappings also.
    3. If you have to do complete re importing of java bean model classes then in most of the cases we found out that mapping from Component Controller to Bean model have to be reconstructed but not from view to Component controller. Only some addition deletion of some attributes have to be done from view to Component Controller.
    Regards,
    Gopal

  • Java.lang.NullPointerException while reimporting model

    Hi All,
    I have a Web Dynpro project that contains several models.
    When I try to add a new RFC (by reimporting the model) I get java.lang.NullPointerException.
    I can add the RFC to a new model without any problem but I need to add it to this specific model.
    This is the full error:
    Plugin Name: Web Dynpro Model Editor Services
    Plugin ID: com.sap.ide.webdynpro.service.modeleditor
    Class: com.sap.ide.metamodel.importers.rfcmodel.DynamicRFCModelImporter
    Method: doImportDynRfcModel()
    Message: The RFC could not be imported. Please rectify the error and then try importing the model.
    Exception: com.sap.ide.metamodel.importers.rfcmodel.RFCImportFailedException: RFC Import failed. Cause: class java.lang.NullPointerException:null
    java.lang.NullPointerException
         at com.sap.ide.metamodel.importers.rfcmodel.DynamicRFCModelImporter.ImportRFC(DynamicRFCModelImporter.java:316)
         at com.sap.ide.metamodel.importers.rfcmodel.DynamicRFCModelImporter.doImport(DynamicRFCModelImporter.java:196)
         at com.sap.ide.metamodel.importers.rfcmodel.reimport.DynamicRFCModelReimporter.doImport(DynamicRFCModelReimporter.java:331)
         at com.sap.ide.metamodel.importers.rfcmodel.reimport.DynamicRFCModelReimporter.getImportLog(DynamicRFCModelReimporter.java:264)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$11.run(ModelWizard.java:1344)
         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard.doReimportDynRfcModel(ModelWizard.java:1361)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:69)
         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(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:286)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:795)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
    I tried to restart the NWDS or test it on another computer - didn't help.
    My NWDS version is SP16.
    Thanks,
    Omri

    Hi,
    Check whether this helps.
    RFC Reimporting failed
    BAPI Reimport
    -Nagarajan.

  • Unable to reimport model.

    I'm using NWDS 7.2 SP03. I have to reimport several Adaptive RFC 2 Models. I successfully reimported some of them, but for some others I get a failure. In the Error Log there are these messages:
    method: doReimportDynRfc2Model -> Adaptive RFC2 model reimport failed      [Error: com.sap.cmi.modeltype.arfc2.wizard.ARFC2ModelCreationWizard  Thread[ModalContext,6,main]]
    Internal Error
       Plug-In Name: Model Type Adaptive RFC 2
       Internal Error  : com.sap.cmi.modeltype.arfc2
       Class      : com.sap.cmi.modeltype.arfc2.wizard.ARFC2ModelCreationWizard$2
       Method     : doReimportDynRfc2Model
       Message    : Adaptive RFC2 model reimport failed
       Exception  : java.lang.NullPointerException: null
          [Error: com.sap.ide.tools.services.ui.dialog.DialogService  Thread[ModalContext,6,main]]
    If I do a "Reimport preview" of the failing models I get a pop-up window with the message "Cannot find model delta"
    and in the error log there is the message:
    Internal Error
       Plug-In Name: Model Type Adaptive RFC 2
       Internal Error  : com.sap.cmi.modeltype.arfc2
       Class      : com.sap.cmi.modeltype.arfc2.service.ARFC2ModelCreationService
       Method     : createModel()
       Message    : Failed to create model
       Exception  : java.lang.NullPointerException: null
          [Error: com.sap.ide.tools.services.ui.dialog.DialogService  Thread[main,6,main]]
    Any help is greatly appreciated.
    Regards,
    Livio

    Yugandhar,
    thank you for your reply. I moved my workspace to another machine with a NWDS SP01 and it works!!
    I got one question. At present my NWDS and the target NWCE are both at SP 03 level.
    If I change the SP level of my NWDS,  must I change also the NWCE?
    In other words, the NWDS and NWCE can be at a different SP level?
    Thank you and best regards,
    Livio.

  • Dont want to restart Server everytime I reimport model

    Hello,
    Everytime I reimport a model, I get a popup saying "Please restart your J2EE Server......" with no option to cancel it.
    Any ways I can avoid this?
    Regards,
    Shubham

    Hi Shubam,
    Whenever u <b>Reimport </b>the model server <b>Restart </b>is necessary otherwise the changes will not be reflected. You will get an error when you deploy the application.There is no go around except restarting the server because after first model usage metadata gets cached and stay in the cache as long as the server is running .So, Once you restart the server the cache will be cleared.
    Refer to the below thread once.
    Re: Need to Restart J2EE Engine after Reimporting a Model
    Regards,
    Jhansi

  • RFC doesnt show up in reimport model

    Hi,
    We have created a ZRFC and when reimport and add that to the  model . after i give the login credentials for the ECC and search for the RFC it doesnt show up in the search. But it still exists in the system. Do I have to do anything like exposing it as service to show up in the list.
    Please let me know.
    Thanks,
    James

    Hi,
    Yes, RFC should be remote enabled. Also, make sure that your server credentials are pointing to server , where RFC exists and not any other server.
    Regards,
    Apurva

  • NullPointer after Reimport Model

    Hi,
    I have reimpoert a model to add a new output-parameter. So I made a reimport. Than a DC-Build and than I edit my model binding to add the new parameter in my context.
    But now I get a Nullpointer-Exception. It seems, that it makes the model-execute and the node-invalidate but there is no data in the fields.
    Have I forgot something during the reimport process?

    Hi,
    Please reffer this error :in the portal
    Hope Help full !!!
    Regards
    Vijay

  • Reimport model requires server restart for version nw 04s sp15

    Hi All,
      Does reimport of model requires sever restart in NW 04s sp15, Sometimes it works with out restart of server. .Please give your inputs.
    Thanks.

    Hi,
    The J2EE engine holds a cache of deployed model objects that is optimized by technical system.
    Therefore if there are updates in the metadata of a deployed model object, it is necessary to restart the J2EE engine to flush this cache, and make the new interface metadata available to the Web Dynpro application.
    Its not always required to restart the server.Its only required when there are updates in the model object.
    Thanks n Regards,
    Archana

  • Reimport Model after BAPI Changes

    Hi,
    Understand that a workaround to refresh the cache/metadata is to restart the J2EE server, after some BAPI changes and reimport the model.
    Is there any solution without restarting the J2EE server?
    Thank you.

    Hi Vincent,
    The only possible way to refresh the Metadata is to restart the J2EE server.
    check this link
    Reimport a Model of a Custom Bapi Function
    Regards,
    shyam.

  • Error in reimporting a model

    hello all,
    I am working on ess personal information->personal data  web dynpro application.
    backend guys add a extra field in rfc strucure i have to just display this field on screen.
    i did reimport model ,
    then did the model binding for this extra added field.
    then i build the application and deployed it .
    but after that i getting an error but if i remove that extra field from mapping then there is no error .
    jco is ok.
    below is the error
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Access via NULL object reference not possible., error key: RFC_ERROR_SYSTEM_FAILURE
            at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
            at com.sap.xss.per.fc.persinfo.FcPersInfo.onCleanup(FcPersInfo.java:614)
            at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfo.onCleanup(InternalFcPersInfo.java:807)
            at com.sap.xss.per.fc.persinfo.FcPersInfoInterface.onCleanup(FcPersInfoInterface.java:246)
            at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInterface.onCleanup(InternalFcPersInfoInterface.java:299)
            at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInterface$External.onCleanup(InternalFcPersInfoInterface.java:463)
            at com.sap.pcuigp.xssfpm.wd.FPMComponent.cleanUp(FPMComponent.java:645)
            at com.sap.pcuigp.xssfpm.wd.FPMComponent.access$1000(FPMComponent.java:78)
            at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.exitCalled(FPMComponent.java:965)
            at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.exitCalled(FPMComponent.java:1136)
            at com.sap.pcuigp.xssfpm.wd.BackendConnections.wdDoExit(BackendConnections.java:124)
            at com.sap.pcuigp.xssfpm.wd.wdp.InternalBackendConnections.wdDoExit(InternalBackendConnections.java:228)
            at com.sap.tc.webdynpro.progmodel.generation.DelegatingCustomController.doExit(DelegatingCustomController.java:77)
            at com.sap.tc.webdynpro.progmodel.controller.Controller.exitController(Controller.java:180)
            at com.sap.tc.webdynpro.progmodel.controller.Controller.exit(Controller.java:154)
            at com.sap.tc.webdynpro.progmodel.controller.Component.exitController(Component.java:251)
            at com.sap.tc.webdynpro.progmodel.controller.Controller.exit(Controller.java:154)
            at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.exit(ClientComponent.java:219)
            at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.exit(ClientApplication.java:474)
            at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.destroy(ClientApplication.java:527)
            at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.destroy(ApplicationSession.java:396)
            at com.sap.tc.webdynpro.clientserver.session.ClientWindow.destroyApplicationSession(ClientWindow.java:235)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doDestroyApplication(ClientSession.java:1003)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doSessionManagementPostProcessing(ClientSession.java:789)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:264)
            at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
            at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
            at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
            at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
            at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1288)
            at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
            at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:548)
    Thanks .
    Punit

    Hi Punit,
    Follow the two things
    1.  Make sure that the JCO you are using is working fine.
        Check that the userid and password is still valid.
    2. Check whether the RFC is working fine or any changes happened? Log in with the user same as    portal and then execute the RFC.
    3. Restart your server and NWDS.
    it will solve your problem.
    thanks

  • I canu00B4t reimport a model

    Hi forum
    When i try to reimport a "model" i got the next error:
    !MESSAGE Apr 28, 2008 12:58:45...         com.sap.ide.webdynpro.ui.service.ServicesUI          [Thread[main,5,main]] Error: Internal error
       Plugin name: Web Dynpro Model Editor
       Plugin ID  : com.sap.ide.webdynpro.modeleditor
       Class      : com.sap.ide.webdynpro.modeleditor.ModelEditorCallback
       Method     : ReimportModel
       Message    : An error ocurred. See error log for more details.
       Exception  : java.lang.NullPointerException: null
    !STACK 0
    java.lang.NullPointerException
         at com.sap.ide.jcb.core.service.SAPLogonHelper.<init>(SAPLogonHelper.java:48)
         at com.sap.ide.jcb.core.wizardpages.SAPLogonPage$MessageServerPane.fillUpLoadBalancingPaneSystems(SAPLogonPage.java:1003)
         at com.sap.ide.jcb.core.wizardpages.SAPLogonPage$MessageServerPane.show(SAPLogonPage.java:303)
         at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.createControl(SAPLogonPage.java:91)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard.createPageControls(ModelWizard.java:408)
         at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:524)
         at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:473)
         at org.eclipse.jface.window.Window.create(Window.java:302)
         at org.eclipse.jface.window.Window.open(Window.java:552)
         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(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         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)
    I have the  7.0.11 SAP Netweaver Developer Studio version.
    Can help me, ?
    Edited by: Josue Cruz on Apr 28, 2008 8:07 PM

    Hi Göran
    Thnks for your answer
    This always has been happening, i´m thinking that this is a problem of Windows Vista Operating System, because one coworker has the same project and the same NWDS with the same SP but he has Windows XP.
    I am working with Adaptive RFC Model.
    I can´t logon in anyone backend system (R/3), because i can´t open de wizard reimport model...
    well...
    t hnks

  • Wrong JCO names appear in JCO refrences on model reimport

    Hello All,
    I have two JCO names mentioned in the JCO refrences in the properties of  my DC. But As soon as I reimport model, a third JCO name which is wrong, appears in the JCO references tab of DC properties automatially. where is this JCO name coming from ?
    Regards
    Mrinalini

    hi
    check the JCO name in data dictionary in your project, to reflect the new JCO's, you must deploy it once. Also invalidate the JCO after deployment (using System adminstration).

  • Random model exception in WD application

    Hi,
    I am using NWDS CE 7.1 Ehp1.
    I have 3 web dynpro DCs in which I have imported a ARFC2 model for same RFC.
    This application was working fine in all three landscapes dev, test and prod.
    There was a change in table type parameter in this RFC which is working fine when tested from SAP.
    I re-imported this model in 2 out of 3, WD DCs and transported in dev, test and prod.
    Since then I am facing following issue: -
    Application works fine sometimes and sometimes it gives following exception:-
    java.lang.IllegalArgumentException: Target role name 'About_Me' not defined for model class 'com.vendor.javaportal.homepage.userdetails.userdetails.Z_Empprof_Getdetails_Output'
        at com.sap.tc.cm.base.model.BaseGenericModelClass.retrieveTargetRoleInfo(BaseGenericModelClass.java:104)
        at com.sap.tc.cm.base.model.BaseGenericModelClass.setRelatedModelObjectsInternal(BaseGenericModelClass.java:562)
        at com.sap.tc.cm.base.model.BaseGenericModelClass.setRelatedModelObjects(BaseGenericModelClass.java:537)
        at com.sap.tc.cm.arfc2.model.ARFC2GenericModelClass.setRelatedModelObjects(ARFC2GenericModelClass.java:490)
        at com.sap.tc.cm.arfc2.gci.ARFC2TypedModelClass.setRelatedModelObjects(ARFC2TypedModelClass.java:199)
        ... 76 more
    I did some preliminary investigations: -
    1.     I initially thought about a transport problem on one of the AS but prod server has only one single AS.
    2.     The RFC has been tested in SAP R3 in all application servers and is working fine.
    3.     JCO connections from WD to SAP are up and running fine.
    Any idea what is going wrong here?
    I also tried to reimport model for two erroneous DCs and created a activity each and transported to Prod.
    but still same strange behavior!
    Please help.
    Regards,
    Amey

    Hi Pradeep,
    Thanks for reply, but I have already re-imported the model and transported it.
    Still I get this exception.
    First time when I re imported the model after RFC change, it showed some deltas in re import.
    I transported this activity to prod and I started getting this exception randomly.
    Sometimes the application works fine but sometimes it runs into above mentioned exception.
    So I re imported the model (this time it didnt show any deltas) and transported that activity to prod.
    but still no success!

  • Broken DC after re-importing model

    Hello,
    I have an existing model with an RFC already present in the model. A few changes have been made to the structure of the RFC which required a re-import of the model.
    After re-import, the DC becomes Broken on NWDS and also all the structures and data fields present in the model dictionary show as deleted.
    Upon building the DC on local machine, I get the following error. I tried reverting and reimporting the model but was in vain.
    Any leads in this direction?
    The error-
    [ddgen] [Error]   Structure com.pg.dc_model.models.susezpmodel.types.Zsus_Status_Count_Struct is not generated
         [ddgen] [Error]   BuiltIn Type or Simple Type expected
         [ddgen] [Info]    Catching throwable null
         [ddgen] [Info]    com.sap.dictionary.generation.ant.GenerationAntTaskError
         [ddgen]      at com.sap.dictionary.generation.ant.GenerationAnt.showCheckResult(GenerationAnt.java:171)
         [ddgen]      at com.sap.dictionary.tools.generation.Generation.generatePersistentStructure(Generation.java:480)
         [ddgen]      at com.sap.dictionary.tools.generation.console.GenerationConsole.generate(GenerationConsole.java:168)
         [ddgen]      at com.sap.dictionary.generation.ant.GenerationAnt.main(GenerationAnt.java:47)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         [ddgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         [ddgen]      at java.lang.reflect.Method.invoke(Method.java:324)
         [ddgen]      at com.sap.dictionary.generation.ant.DDGenAntTask.execute(DDGenAntTask.java:219)
         [ddgen]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         [ddgen]      at org.apache.tools.ant.Task.perform(Task.java:364)
         [ddgen]      at org.apache.tools.ant.Target.execute(Target.java:341)
         [ddgen]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
         [ddgen]      at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
         [ddgen]      at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:116)
         [ddgen]      at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:58)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         [ddgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         [ddgen]      at java.lang.reflect.Method.invoke(Method.java:324)
         [ddgen]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
         [ddgen]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:99)
         [ddgen]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)
         [ddgen]      at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
         [ddgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
         [ddgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:6004)
         [ddgen]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
         [ddgen]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
         [ddgen]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
         [ddgen]      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
         [ddgen] ERROR: Unknown exception during generation null (com.sap.dictionary.generation.ant.GenerationAntTaskError)
         [ddgen] ERROR: Generation failed due to errors (11 seconds)
    Error: C:\Documents and Settings\281171\.dtc\0\DCs\pg.com\susezp\scsusezp\dc_model\_comp\gen\default\logs\build.xml:80: [Error]   Generation failed!
         at com.sap.dictionary.generation.ant.DDGenAntTask.execute(DDGenAntTask.java:254)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
         at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:116)
         at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:58)
         at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
         at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:99)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)
         at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:6004)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    Ant runtime 11.297 seconds
    Ant build finished with ERRORS
    [Error]   Generation failed!
    Error: Build stopped due to an error: [Error]   Generation failed!
    Build plugin finished at 2010-07-01 11:19:30 GMT+05:30 (IST)
    Total build plugin runtime: 11.984 seconds
    Build finished with ERROR
    - Regards,
    Sudeep

    Hi
    First reimport model , then build it , all inconsistency will be display.
    these could be possible
    1 : I am sure that its a problem of some structure changes in RFC (check all those which are present at DC binded with model)
    2:  Dictonary are not generated (check at dictonaries , this is default taken care by framework sometimes it happen)
    3. Local Context node having some type missing (due to structure change) (delete all the model binding and bind it again with new structure)
    BR
    Satish Kumar

Maybe you are looking for

  • XP SP3: USB-drivers won't install

    I just got myself a 8900 Curve and want to connect it to my PC to transfer data, Sync it, update the OS... Mass Storage Device through the BB works perfectly, but the PC Sync Tool not. Windows XP SP3 detects New Hardware but can't find drivers. In De

  • Connecting Serial Device to iMac

    I have a serial device that I would like to connect to my iMac but of course, iMac don't have serial ports. So I purchased a serial to USB cable device but my iMac will not recognize it. The particular device is a Garmin GPS and I am using it w/Paral

  • Dynamic website indexable by search engine

    Hi< i was looking on the web and apparently I can make my dynamic webpages indexable by search engine spiders by using a "/" character instead of the standard "?" when passing a URL Query String. I am using Coldfusion MX7. I do not know where to reco

  • Trying to open a file but it automatically closes itself.

    I am able to open a certain pages file however after a few seconds it closes automatically and a message appears saying 'the application Pages quite unexpectedly. The problem may have been caused by the SFWordProcessing plug-in' it gives me the optio

  • Advice needed on rman

    Hi All, I took the entire database backup.I had a tablespace "NAME".It had two tables "BOYS" & "GIRLS". After taking the backup,i deleted both the tables.I brought the database to mount state then i gave restore database and recover database. I am no