on 04-23-2008 2:00 PM
I have a problem with caf and mixed persistence. I am developing with NetWeaver CE 7.1 SP 3 and NWDS 7.1.
I want to create a business Object (PERSON) which has some fields/attributes like "lastname", "surname", "age", "birthday",.... and "ADDRESS". The PERSON object should be saved on the NetWeaver Application Server (local persistnce).
The Object ADDRESS is a seperate object which should be contain in PERSON´s. The ADDRESS object gets his data from a SAP R3 Backend accessible by a webservice.
Now my question, is it possible to create a field in PERSON that directly refer to a ADDRESS or must I create a seperate relation between these objects. I would prefer something like (0..) to (1..) realtion between PERSON and ADDRESS.
Hi Dirk,
Have you tried the procedure. Do you have any problems with it. Because we followed the same procedure to get the solution
Regards,
Srinivasan Subbiah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ciao
I've the whole thread. I had the same problem and I asked in the forum.
Could you really build the association between person and adress. Because sb. from SAP hat told me:"we don't support local-to-remote associations. While we don't support it, we allow you to model these association via CAF modeler, and then we fail at runtime - my point was that we should disallow making of these association via the CAF modeler as long as we don't support them. Local-remote association is perfectly valid as a business case, but is not considered very common and strategic. Anyway, post like yours can make us reconsider that."
Thanks if you give me feedback
Kind Ragards!
Ping
Hi Dirk,
You created a Address business object in your app. For that set persistancy to be Remote.
Then go to datasource and create mapping with the imported webservice.
This Address BO can have relations as you require with Person.
Hope this solves your problem.
Regards,
Srinivasan Subbiah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.