Skip to Content
author's profile photo Former Member
Former Member

Problems with Model (JavaBean) from other DCs

Hi there,

like suggested in some tutorials around, I would like to seperate my application into proper development components.

So I started creating a model with java beans in one dc and added it to the public part. After building the dc (also took me some time) I can add the dc to my main development component.

It appears in the used dc and I can add my model to the used models.

So far no problem.

Buuuut: if I create a data link in the data modeler view my model appears as empty. I had some datatypes (company and industry) which I cant see after importing.

Did somebody encounter the same problem?

best regards

Tom

p.s.: if I create a test component in the model dc and create a data link, I CAN map the model datatypes to context, so the model seems to be ok.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jan 10, 2007 at 04:26 PM

    Hallo Thomas,

    read slide 17 in my presentation on Component Interface Definitions in Practice https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f07c3625-c971-2910-3a9c-ce131487f82c.

    The consuming DC must be able to resolve the Java Bean Model, the Java Bean classes and the related package. Therefor you must additionally add class and package entities to the public part of the Java Bean Model DC.

    Regards, Bertram

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      actually it was YOUR PRESENTATION made me to do the separation 😉

      But I missed that part.

      Thank you very much for the fast help.

      BTW Really great presentation! Separation of components and decoupling components isn't only in web dynpro a very useful and unfortunatley often unnoted method.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.