cancel
Showing results for 
Search instead for 
Did you mean: 

Referencing model data in used DC

Former Member
0 Kudos

Hi,

we have created a faceless web dynpro component in a DC which contains a java bean model. This model is referenced from the interface controller via the component controller of that component. This component doesn't contain any views, but we have added it to the public part of the DC.

After that we created a second web dynpro component in a different DC and declared the above component as used component and as Used Web Dynpro Component. Then we tried to reference the data in the interface controller of the first component (via the data modeler). This works fine for referenced value nodes in the first component. But if we reference model nodes or attributes in the first component, we get a whole lot of error messages stating that classes and interfaces (which are generated by Web Dynpro) are errornous.

An example for such a class is:

public class InternalStammdatenKunde
  implements IPrivateStammdatenKunde, com.sap.tc.webdynpro.progmodel.gci.IGCIComponentDelegate
{

  /**
   * Location for this controller.
   */
  private static final Location logger = Location.getLocation(InternalStammdatenKunde.class);

  /**
   * Framework implementation of Controller that delegates to this.
   */
  private final com.sap.tc.webdynpro.progmodel.gci.IGCIComponent wdAlterEgo;

  /**
   * Delegate that implements application defined logic
   */
  private final net.dsb.zhsgui.view.StammdatenKunde delegate;


  // ---- Context --------------------------------------------------------------

  IGCINodeInfo infoDsbQuickfindInput;
  IGCINodeInfo infoDsbQuickfindKunde;
  IGCINodeInfo infoTopLevelQuickfindKunde;
  IGCINodeInfo infoContext;

  {

Does anybody has an idea what went wrong here?

Greetings.

Achim

Accepted Solutions (1)

Accepted Solutions (1)

htammen
Active Contributor
0 Kudos

Hi Achim,

your Java Bean model references a Java Bean and this is probably not part of the public part.

You will have to add the Java Beans to the public part as well.

Regards

Helmut

Answers (0)