Skip to Content
0

How To Put Duplication Check Validation Rule for Custom Field in SAP C4C

Apr 15, 2017 at 08:38 AM

291

avatar image
Former Member

Hi Experts,

I have a requirement that one Custom Field i have Created "Client Code" but want to put Duplication Check before save in Customer WC.

Please suggest the steps to achieve the requirement.

Thank you in advance

Santosh K

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Fred K Apr 17, 2017 at 01:50 AM
0

Hi Santosh,

1. Add the extension field to the available query of Customer business object.

Please refer to this document for detail.

https://blogs.sap.com/2014/12/10/how-to-add-extension-fields-to-standard-queries-c4c-only/

2. Use the query in On-Save validation event of Customer.xbo and return false if duplicate.

Best Regards,

Fred

Share
10 |10000 characters needed characters left characters exceeded