Skip to Content
0
Jul 21, 2023 at 10:57 AM

Not able to pass account owner to contact Owner in SAP SDK C4C

169 Views Last edit Jul 21, 2023 at 11:21 AM 2 rev

Dear Team,

As per requirement , I need to pass account owner to Contact owner whenever account owner get changed. Please find below code. It's passing account owner uuid to contact owner uuid but it's not changing contact owner as the account owner on UI.

var accowneruuid = this.ToRoot.EmployeeResponsibleSales.EmployeeUUID;

var Contactowner = this.ToRoot.CurrentDefaultHasContactPerson.RelationshipBusinessPartnerUUID;

Contactowner.content =accowneruuid.content;// but it's passing uuid , not changing contact owner as per the account owner uuid

Thanks and Regards,

MD.