Hi Folks,
Sorry if this has been asked/answered already but I searched and tried that is already there. My problem is that I'm trying to create a simple master detail app with 1 - 1 relation between two entity set. My master_get_entityset fetch the data in model correctly and everything in master looks good. As I have 1 - 1 association my detail_get_entity gets called and I can see the data is fetched in method but I'm struggling how to map the single entity to the detail page (SimpleForm ui element specifically). I already tried option including binding the element in Detail.controller.js like below.
this.getView().bindElement("/sap/opu/odata/sap/ZGW_RFC_DEST_DETAILS_SRV_01/DETAILSSet(0)");
I have relevent mapping (field name in my xml view) not sure what needs to be done!
BTW.. I was able to create and use 1-n relation and that worked perfectly fine all I had to do was to give the table control the entityset name. I guess you guys can easily find the missing link.
Will appreciate the help.
Regards,