on 07-09-2008 10:41 AM
Hi all,
Can someone please explain me when do we use DCs? How and why do we create public part for a particular DC? How an we use one DC in another? If anyone has any document on the basic concept of DCs it wud be helpful.
Thanks & Regards
Jaspreet Kaur
Hi
The DC is a software entity that is reusable any where.For Re usability purpose DCs will be created in your project. Suppose if we create a webdynpro DC say DCA and there are two webdynpro components say DCA_Comp1 and DCA_Comp2. I have a one more DC say DCB. This DCB wants the functionality of DCA_Comp1..
Then add DCA_Comp1 to the public part of DCA.
Add DCA in DCB. Explore DCDefinition->Used DCs-->(Right click)--->Select Add DC
In DCB component declare a comp and used components.
Now in DCB you can use the functionality of DCA_Comp1 but you can not use DCA_Comp2 because its not added to public part
Regards
Kalyan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create context in Interface Controller which is similar to view controller in child Dc. Create public part in the same.
Build this Dc.
Use child DC's public Part in Parent Dc and also use Component of child under "Used web dynpro components" of parent.
Open data modeler of parent Dc.
Here you will find Interface Controller of Child Dc.
Now you can map value attributes of both DC's by creating similar context structure in parent's Component or View Controller to handle the passed values.
Build and Deploy your parent Dc .
Refer this [Blog|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/10113] [original link is broken] [original link is broken] [original link is broken]; for idea.
Mandeep Virk
Hi Jaspreet,
Go though my answer in this thread:
/thread/404380 [original link is broken]
Bye
Ankur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
May be of use for you
http://wendtstud1.hpi.uni-potsdam.de/sysmod-seminar/SS2005/presentations/19-NWDI-Overview.ppt
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.