on 2008 Nov 18 2:19 PM
It is recommended to put a web dynpro's model in a seperate DC. In order to do so I have tried the following steps:
1. Created DC A
2. Created a model in DC A (based on adaptive RFC)
3. Added the model to a Public part, by right clicking on the new model and clicking on 'add to public part'
4. Created DC B
5. Added the public part of DC A as used DC (under DC Metadata, DC Definition, Used DCs).
6. Created a new webdynpro component
7. Tried to use the model of DC A, by right-clicking used-components under the web dynpro component that I just created.
In step 7, I expected to see selection box containing the DC A's model. However, my selection box is empty.
Can anyone explain what I did wrong, or why I shouldn't expect the model to be in that selection box? Is it possible to reference to another DCs model in the first place?
Hi,
I think this discussion will be useful to you
http://help.sap.com/saphelp_nw04/helpdata/en/c0/2a6a09e6b9e54aace2adf40260337e/frameset.htm
PradeeP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
One thing missing is
It is recommended to put a web dynpro's model in a seperate DC. In order to do so I have tried the following steps:
1. Created DC A
2. Created a model in DC A (based on adaptive RFC)
3. Added the model to a Public part, by right clicking on the new model and clicking on 'add to public part'
4) Build DC A
4. Created DC B
5. Added the public part of DC A as used DC (under DC Metadata, DC Definition, Used DCs).
6. Created a new webdynpro component
7. Tried to use the model of DC A, by right-clicking used-components under the web dynpro component that I just created.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And don't forget to deploy DC A to your server. That's one I always forget, then I wonder why DC B isn't working!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
After you have created the public part for DC A, you need to build the DC A properly. Also do check if you have added only the model or even the component to the public part. If you have added only the model then you can use the reference of the model in your DC B.
Thanks,
Gopi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for all the answers. Points for you all
I indeed forgot to mention that I also built DC A. That is why I ruled that out as well. After you mentioned the importance of that build-process, I tried to have a detailed look into that. Eventually I found out that the built never completed succesfully, although the NWDS made it appear that way (it changed to another view before I was able to see the error).
I found out that I ran the NWDS with a wrong version of the Java VM. Once I had changed the Java VM to the latest 1.4.2 version, DC A built properly and I was able to see the model in DC B.
Thanks again for your help!
User | Count |
---|---|
68 | |
11 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.