cancel
Showing results for 
Search instead for 
Did you mean: 

Public Parts

Former Member
0 Kudos

How can a model of one development component be made available to another development component?

Does a step by step tutorial exist somewhere?

Accepted Solutions (1)

Accepted Solutions (1)

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hallo Gregory,

look at the new Web Dynpro sample application on componentization which is based on local Web Dynpro DCs. It demonstrates how to use a single model component within UI components in "referencing mode".

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd0e0401-0801-0010-aaab-d0e1742da383">Web Dynpro Componentization (38)</a>

To re-use this model components (in a Web Dynpro DC A) within another Web Dynpro DC the public part of DC A must contain the model entity (.wdmodel metadata file) as well as the java package containing the model classes and model class metadata files (.wdmodelclass). For an Adaptive RFC model the logical dictonary types must also be visible for other DCs.

Regards, Bertram

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi gregory

Refer this Doc

http://help.sap.com/saphelp_nw04/helpdata/en/42/43973fade73c17e10000000a114084/content.htm

Additinally if you are looking for a Tutorial.

http://help.sap.com/saphelp_nw04/helpdata/en/96/5cc5d7a3e741d3905e37d460c4d8c3/frameset.htm

Scenario2+ mentioned here is to demonstrate how to use DTR,CBS and CMS ( which of no concern to you) however this tax example uses public parts and used dependencys (Development components).

Hope this info helped you

Regards,

RK

htammen
Active Contributor
0 Kudos

Hi Gregory,

I don´t know if there exists a documentation in the meantime but you can simply add the desired model to a public part by right cklicking the model an choosing "Add to public part".

You have then to import this PP in your depending DC under DC meta data -> Used DCs. After you have done that you can use the model.

Regards

Helmut

P.S. Don´t forget to build the model DC before adding to the used DCs. Otherwise you will not see the PP.