Web Dynpro Model Usage Error

Hi All
I have created Web Dynpro Model out of my CAF project. I followed this <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8b7059da-0c01-0010-e09c-9ecabaf58864">tutorial</a> to create Web Dynpro model and use it in other DC. In the other DC, I added all the other required DCs mentioned in the tutorial such as caf/core/dict,  caf/ui/ptn/common and tc/col/runtime with each of them havin dependency type as build and deploy.
After I do model mappings in controller and view, deploy and run the application, I m gettin the following exception
"java.lang.NoClassDefFoundError: com/sap/tc/col/client/generic/api/IQuery "
Has anybody ever got this exception ?
any help on this will be appreciated with points
Regards
Dharanish

Hi ,
check the following depedencies in Public part of the component,
caf/core/dict
caf/eu/gp/api/wd(GPWdbDynpro)
Caf/eu/gp/api(external)
caf/runtime/uicoupling/api(compilation)
caf/UI/ptn/common(com.sap.caf.ui.utils)
com.sap.aii.proxy.framework(defalut)
com.sap.exception(default)
com.sap.mw.jco
com.sap.security.api.sda
tc/cmi
tc/ddic/metamodel/content
tc/logging
tc/wd/webdynpro
tc/wdp/metamodel/content
and then add following two in library reference in webdynpro refrence,
if your using the GP interface we have to include the "cafeugp~api"
for caf ->sap.com/cafruntimeuicouplingapilib
Thanks,
Balaji.B

Similar Messages

  • Error when Creating Web Dynpro Model in CAF-Service

    Hi All,
    I reaaly need help. AFter updating to SPS 9, it was necessary to redeploy my Entity Service. That contains to "Create a Web Dynpro Model" in the Service Explorer,
    to get an interface of the Service in my Web Dynpro Application.
    Before I update to SPS 9, the Application works fine.
    But now, when I want to "Create a Web Dynpro Model" in the NWDS I get the following Error-Message (its not a useful Error-Message):
    <i>Error cannot create Web Dynpro Model:
    Creation of  Web Dynpro model failed. Reason: null </i>
    Thanks for helping me
    Steve

    Hi Aliaksei,
    the problem in the thread is the same I got.
    When I use only 7 letters for the operation name, the creation work. When I use more then 7 letters the creation doesnt work.
    But its hard to find a methodname with only 7 letters.
    In SPS 8 I didnt have problems with the length of method names. Why is it so?
    The workspace log:
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:45.577
    !MESSAGE Oct 10, 2006 3:12:45 PM         com.sap.ip.mmr.foundation.AssociationsOfObject        [Thread[main,5,main]] Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:45.592
    !MESSAGE Oct 10, 2006 3:12:45 PM         com.sap.ip.mmr.foundation.AssociationsOfObject        [Thread[main,5,main]] Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.core.service.FileSystemService.comp... [Thread[main,5,main]] Error: absolute path too long (253) for MDO:
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.core.service.FileSystemService.comp... [Thread[main,5,main]] Error: absolute path too long (253) for MDO:
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.webdynpro.implementation.ModelProxy... [Thread[main,5,main]] Error: could not get a valid path for ModelClass "cas.conti.com.sap.cd.database.services.cd_database.changedescriptiontableservice.QChangeDescriptionTableServiceFindByTitle" (path too long?)
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.webdynpro.implementation.ModelProxy... [Thread[main,5,main]] Error: could not get a valid path for ModelClass "cas.conti.com.sap.cd.database.services.cd_database.changedescriptiontableservice.QChangeDescriptionTableServiceFindByTitle" (path too long?)
    Thanks
    Steve

  • Web Dynpro Model Wizard Exception

    Hi there,
    I've recently installed the latest Netweaver'04 Sneak Preview and I get the following exception when generating an R3 Adaptive RFC model (using the "create model" Wizard):
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: com/sap/tc/logging/LogController)
    Here are the rest of the details that the error displays:
    Plugin: Web Dynpro Model Editor Services
    Pugin ID: com.sap.ide.webdynpro.service.modeleditor
    Class: com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog
    Method: nextPressed
    Message: Internal error - see detail information in exception trace.
    I'm on Version: 2.0.11 of the NetWeaver Developer Studio.
    Anyone else out there with the same problem?
    Thanks,
    Gough

    Hi,
    Do check if the following link helps.
    Problem Connecting with SAP R3 for creating new model
    Regards,
    Vijith

  • Web Dynpro Model Editor - Wizard Exception

    Hello,
    I get the following error when I want to create model in Web Dynpro (Right click on Models > Create model):
    Internal error
    An internal error has ocurred. See error log for more details.
    Plugin name:  Web Dynpro Model Editor
    Plugin ID:      com.sap.ide.webdynpro.modeleditor
    Class:           com.sap.ide.webdynpro.modeleditor.ModelEditorCallback
    Method:         createModel
    Message:       An error ocurred. See error log for more details.
    Exception:     java.lang.NullPointerException: null
    Developer Studio version: 7.0.11
    Thanks for any advice,
    Peter Censcak

    Hi Peter,
    We have already faced this problem in our company with Windows Vista machines.  So, if you have Windows Vista, try to run NWDS under Administrator account and in Windows XP compatibility mode...
    If not, probably you should re-install your NWDS.
    Best Regards,
    Juraj Sedik

  • Generate Web Dynpro Model?

    Hi,
    I'm familiar with DS 7.0, and I'm begining to lear 7.1 recently.
    I searched for tutorials and in the forum, but I can't find how to create a Web Dynpro model from a CAF DC, in 7.0 it was just a right click and generate WD Model, can you help me please?
    thanks a lot!

    Hi Maldonado,
    Check this link first:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ee5047-c7a0-2a10-70b7-9557e3e4d440
    Reward points if it's helpful.
    Regards,

  • Adding a Web Dynpro Model on a Composite Apllication Component in CE 7.1

    Hi experts,
    I am trying to add a web dynpro model to a Composite Application DC.
    I am using SAP NW CE 7.1.
    In CE 7.0, this was done by simple right click on the CA DC.
    but i am not able to do it in CE 7.1.
    Can somebody tell me how do i add a web dynpro model to a composite application DC???
    basically i need to add a UI corresponding to a composite application?????
    Cheers
    Gaurav Raghav

    Hi Srinivasan Subbiah,
    The option you just mentioned is disabled.
    how can i enable it???
    Also let me explain what i need.
    I have a 3 step process where in a user fills a form and sends it to his manager, who appoves/reject it based on some criterias. then the approval/rejection alert is send back to the user.
    Now i need to develop the UI as well as Business Logic for this process.
    How do i go about it?????
    I can develop the UI in a Web Dynpro DC and the Business Logic in a Composite Application DC. How do i associte one with the other????
    In CE 7.0, this was achieved by addind a Web Dynpro Model in the Composite Application Project. How do i acheive the same in CE 7.1 ?????
    Thanks and cheers
    Gaurav Raghav

  • Web Dynpro model binding

    can anybody help me here.
    I want to take some data from the backend system and want to display it into a table.

    hi,
    follow this procedure
      1.      Choose the context menu entry  Create Model on the  Models node.
      2.      Choose Import RFC Model.
      3.      Make the required specifications in the second wizard window to define where the generated   RFC proxies are to be stored.
      4.      In the next wizard window, log on to the SAP System that contains the BAPIs with the business logic.
      5.      Select the BAPIs for which you want to create Java proxies.
      6.      Choose Finish to start the proxy generation process:
      7.      In the Web Dynpro Explorer, choose Create Component Interface Definition in the context menu for the node Web Dynpro Component Interfaces.
    8.      Enter a name and a package and choose Finish.
    9.      The following structure is created in the Web Dynpro Explorer:
    10.      Place the cursor on the subnode Used Models and choose Add in the context menu.
    11.      Select the Web Dynpro model in the dialog box.
    12.      Choose OK.
    Regards,
    Sunaina Reddy T

  • Web Dynpro Model Generation for Application Services

    Hi Experts,
    I'm currently experimenting with the new functionality provided by CE, but there is one thing that I can't seem to figure out. How does the new Web Dynpro model generation work with regards to CAF Application Services? I'm trying to call an application service from a web dynpro application, but it seems as if models are completely different from Netweaver 7.0. What type of model do I need to create? Do I have to expose the application services as web services?
    I've tried creating an EJB model and then binding the model to the context, but I kept receiving null pointer exceptions when doing this and I'm not sure if this is the correct way to do this. Can anybody point me to some good documentation on Web Dynpro/CAF interaction in CE?
    Thank you,
    JP

    Hi JP,
    You are right, the CAF models are completely different in NW CE 7.1 compared to NW 7.0.
    CAF Application Services in CE 7.1 are in fact EJBs. So the EJB model importer is the way to go. You can find <a href="http://help.sap.com/saphelp_nwce10/helpdata/en/45/dd45e4bc295595e10000000a1553f7/frameset.htm">documentation</a> and some <a href="http://help.sap.com/saphelp_nwce10/helpdata/en/45/f7f744aea471fae10000000a1553f6/frameset.htm">tutorials</a> on help.sap.com. If you still have troubles after you go thru these, please post your concrete issues and I'm sure we'll be able to figure out what's been going wrong.
    HTH!
    -- Vladimir

  • Quick Question: ABAP web-dynpro model relies on JCO?

    Hi gurus,
    As mention in subject. Does ABAP web-dynpro model relies on JCO?
    Did a quick search without solid answers...

    JCO, is Java Connectors to connect SAP from Java world
    You don't need any JCO when you are in the same ABAP Stack
    There is no model Nodes/Attributes in Web Dynpro ABAP as in Java, because you are in the same ABAP Stack
    Abhi
    Edited by: Abhimanyu Lagishetti on Jul 10, 2008 11:35 AM

  • Web dynpro component usage

    Hi,
    Can anybody provide me some useful links or some tutorials regarding web dynpro component usage.
    Thanks in advance.

    Hi,
    Creating webdynpro component
    http://help.sap.com/saphelp_nw04/helpdata/en/20/1d353ed106ec2ce10000000a114084/frameset.htm
    Web dynpro tutorials
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/1fc0bdb1cdd34f9a11d5321eba5ebc/frameset.htm
    Try this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Simplest Example in Java Webdynpo
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/a-c/creating%20your%20first%20web%20dynpro%20application.pdf
    Simplest Example in ABAP Webdynpro
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cb243c45-0801-0010-eb9c-88669007f130
    Web Dynpro Sample Applications and Tutorials
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    Search in Webdynpro forum.
    do reward if it helps
    Thanks,
    Reddy.

  • Inheritance in Web Dynpro Model

    Hello
    This is the current situation:
    I have 3 JPA entity classes much like these (including constructors, getters, setters, ...).
    @Entity
    public abstract class OuComponent {
    @ManyToOne
    private Ou ou;
    @Entity
    public class Ou extends OuComponent {
    @OneToMany
    private Collection<OuComponent> ouComponentCollection;
    @Entity
    public class Person extends Component {}
    In the database, OuComponent has a discriminator column.
    This structure appears to work in a normal web module and an EJB Module.
    In Web Dynpro, using a model, I can create a new Person and attach an existing Ou to it (through the inherited property ou from OuComponent).
    However, when I try to display the information, I recieve the following error:
    java.lang.IllegalArgumentException: Cannot perform write operation 'setRelatedModelObjects' on target role: Class 'Person' is not compatible to class 'OuComponent' of target role 'ouComponentCollection' in model class 'Ou'
    It appears that Web Dynpro does not realise that Person is actually a subclass from OuComponent. I think it simply checks the discriminatorcolumn for the word 'OuComponent' and throws this exception because it finds a related entity of the type Person instead of OuComponent (even though, as stated, Person IS-A OuComponent. Web Dynpro just seems to ignore it).
    How could I bypass this?
    Thanks for your feedback

    Hi Vincent.
    Have you resolve this problem? If yes, could you post the solution?
    Regards
    Marcos Brandã

  • Creating web dynpro model from XMII web service

    Hi All,
    need some help, after creating model in Web Dynpro from XMII WSDL file everything is fine but when i execute the service. I'm getting the following error:
    <b><i>Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML is not valid. Element [http://www.sap.com/xMII]<OutTxRecordSetXML> is required in <OutTxExecutionMsg> but can not be found.</i></b>
    Please help!
    Regards,
    Raj

    Hi Sam,
    i am providing login details, if i dont i see the authorization error message. I'm using runner to access the BLS transaction now to get the xml data. I'm wondering if there's something wrong on the XMII side, some config?
    Regards,
    Raj

  • Web service model -Compile error

    Hi,
    I am using NWDS 7 to create a Web dynpro application. When i imported the web service model, i get compile error on the proxy classes generated. like javax.xml.rpcc not found etc etc. Should we add some extra jar files to successfully compile it?
    Any help?
    regards,
    Shabeer

    Hope this will help in case of DCs
    https://forums.sdn.sap.com/click.jspa?messageID=2452528
    Regards, Anilkumar

  • Web dynpro project creation error with NWDS SP07

    I have NWDS 7.01 SP07 installed and when I am trying to create a webdynpro project, Local DC or otherwise. I get the following exception in the log. I am not able to create a web dynpro project. This problem has been replicated on other systems in windows environment.
    java.lang.NoClassDefFoundError: com/sap/ide/metamodel/webdynpro/WebDynproObject
    Any help regarding this release? We have to use SP07.

    This error is with NWDS standalone. No NWDI or server involved at the time of the error.
    Error happens at the time of creation of the web dynpro project. For both a DC project and standard web dynpro project. It seems to be a bug in NWDS 7.01 SPP07. I am wondering if there is a patch available.
    There are also errors opening up the empty web dynpro perspective.

  • Web Dynpro-layout preview-Error-IE cannot display-service in SICF activated

    Hello,
    By starting a view in web dynpro framework, i have the error in tab layout "page cannot be displayed" from IE.
    Before i make the change in the DNS and system32/../etc, the layout was displayed, but the web dynpro application cannot be started.
    Now after those configurations and activation of services in SICF, i can start the web application only with firefox and not internet exploer, and, that internet explorer is preconfigured for the layout preview, i recieve all times the eror "cannot display" when i start a view in the layout tab.
    1. How can i change settings so that view can be displayed in layout after i actived the (hope the suitables i.e. view designer) services in SICF - Default_host...
    2. Is it possible to change IE to firefox as main browser for layout tab.
    Note: For virtual domain i
    1. add dns "domain.com" in the DNS
    2. add in system32/etc/host file to "127.0.0.1 localhost",    "10.10.0.10 sysserv.domain.com"
    3. and trough tr. rz10 in the instance profil input the icm/.... ....domain.com
    Through this three steps i could get the web dynpro application started,
    but from the other side, the layout preview do not display the view again
    and just send error the message: "THIS PROGRAM CANNOT DISPLAY THE WEBPAGE"
    Many thanks for helping
    arnaud
    Edited by: Arnaud on Jul 15, 2010 4:36 PM
    Edited by: Arnaud on Jul 15, 2010 8:31 PM

    Hi,
    The string is not correctly formed ( a quote and a concatenation ) :
    Your url :
    v_url:=nvl(v_rep_port,'http://'||v_rep_HOST ||':'||v_rep_port||')||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_rep_svr;
    The Correction :
    v_url:=nvl(v_rep_port,'http://'||v_rep_HOST ||':'||v_rep_port)||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_rep_svr;
    Hope it helps
    Mohamed Dadi

Maybe you are looking for

  • Blocking creation of Return PO to vendor

    Vendor owes us credit note on return stock. Debit amount in excess of $2000. Is there a way to block Users from creating a Return PO back to the same vendor but allow creation of normal standard PO. Is there a alternative way to release the block onc

  • Getting Separate Movable Text Elements In a Single Layer?

    Is there any way to have more than one text placement inside of a single layer, but be able to maintain and move each of those separately from the others?   From what I have seen, each new Text item gets its own new layer.   If I want to document an

  • DB Link Hanging in Oracle 10.2.0.3

    Hi, DB link hanging when we are trying to connect remote system in 10.2.0.3 Linux 64 bit. Linux 64 bit ----> Remote Linux 64 bit is not working Linux 64 bit ----> Remote Windows 64 bit is not working Remote Linux 64 bit ----> Linux 64 bit is not work

  • Diagram notes do not print

    After creating a new database diagram and adding notes to it, I find the notes do not print. The box for the notes does print, but the text inside it is missing. This is present in both the print preview and the actual printed result. Has anyone else

  • Is photostream plus iMac enough of a back up solution?

    I take a lot of photos on my phone. I just bought an iMac. I would like it if every photo on my phone can be backed up to my mac. At the moment, I've signed in with my iCloud account on both the imac and the phone, and enabled photos. I see photos in