Skip to Content
Author's profile photo Prathik Nagaraj

Creating dependencies between components in WebDynpro Java

Here are a set of simple steps you need to follow to create dependencies between two components

  1. Create 2 development components (say DC1 & DC2)
  2. Create a component for each Development component
  3. Create application for both the development components
  4. Select the DC2 and create a public part for this because DC2 is the development component that is to be published
  5. Add component of DC2 to public part by right clicking on it and publishing it in public part.
  6. Create dependencies in DC1 ( this can be done by navigating to Windows->view component properties ->dependencies)
  7. Now build the project
  8. Go to used component in DC1
  9. Select the component  of DC2

        You are done 🙂

If you want to navigate between them then

  1. Go to window of DC1
  2. Embed interface view
  3. Create the inbound & outbound plugs as needed.

Screenshots of the steps mentioned above

Step 1

one.JPG

Step 2


two.JPG

Step 3

/wp-content/uploads/2013/07/three_298308.jpg

three_1.JPG

Step 4

/wp-content/uploads/2013/07/four_298310.jpg

Step 5

/wp-content/uploads/2013/07/four_1_298311.jpg

/wp-content/uploads/2013/07/four_2_298312.jpg

Step 6

/wp-content/uploads/2013/07/five_298322.jpg

/wp-content/uploads/2013/07/five_one_298323.jpg

Step 7 : Now build the project

Step 8


/wp-content/uploads/2013/07/six_298324.jpg

Step 9


/wp-content/uploads/2013/07/seven_298328.jpg

If you want to navigate between them then

eight.JPG

nine.JPG

ten.JPG

eleven.JPG

Regards,

Prathik

Assigned Tags

      9 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Helpful Information . Thanks @PrathikNagaraj

      Author's profile photo Navya Krishna
      Navya Krishna

      After doing this Dc dependency, the components in DC2 should be added as references in the required component of DC1 right? When i try to add components in references, i am getting null pointer exception. Does anyone know What might be the reason for this?

      Author's profile photo Pankaj Kumar
      Pankaj Kumar

      Hi Navya,

      Follow http://scn.sap.com/docs/DOC-2656

      Rgds,

      Pankaj

      Author's profile photo Former Member
      Former Member

      Thank you, I always forget the steps,

      good thing it's written in a well understood way for easy use in future!

      Thanks again

      Shai

      Author's profile photo Former Member
      Former Member

      Your action is CE7.0, not CE7.3.

      Do you give me some hint for how to Creating dependencies between components in WebDynpro Java In the ce7.3?

      Author's profile photo Jun Wu
      Jun Wu

      if i am not wrong, there is no CE7.0

      Author's profile photo Prathik Nagaraj
      Prathik Nagaraj
      Blog Post Author

      Hi Wang Tao,

                          These steps are for WebDynpro Java CE 7.3

      Regards,

      Prathik

      Author's profile photo Ervin Szolke
      Ervin Szolke

      Hi Prathik Nagaraj,

      could you please correct this sentence?

      "Create a create a component for each Development component"

      Thank you and Regards, 😉

      Ervin

      Author's profile photo Prathik Nagaraj
      Prathik Nagaraj
      Blog Post Author

      Hello Ervin,

                       Thank you for pointing out the mistake 🙂 , I've made the correction.

      Regards,

      Prathik