Skip to Content
0
Jul 03, 2014 at 09:43 AM

oData associations problems

26 Views

I met a problem when created oData service

Comment.xsodata

service {

"BCX_RESSOURCEPLANNING"."COMMENT" as "Comment"navigates ("Comment_Resources" as "Resources" from principal);

"BCX_RESSOURCEPLANNING"."RESOURCES" as "Resources" with ("USERID", "FIRSTNAME", "LASTNAME");

association "Comment_Resources"

principal "Comment"("CREATOR") multiplicity "1" dependent "Resources"("USERID") multiplicity "1";

}

url: https://server/comment.xsodata/Comment?$format=json

problem : the association info could not display in the same view.

association info:

How to display them in the same view.Just like

{

CMTID: "304215",

CMT_TYPE: "T",

TEXT: "Test for odata write",

CREATED: "20140703150811",

CREATOR: "I304185",

Resources: {

__deferred: {

uri: "https://ls5005.wdf.sap.corp/ResourcePlanning/services/comment.xsodata/Comment(304215L)/Resources"

},

USERID: "I304185",

LASTNAME: "Sun",

FIRSTNAME: "Sam"

}

}

Thank you for your help.

Attachments

1.png (27.5 kB)
2.png (6.8 kB)