CRM and CX Blogs by Members
Find insights on SAP customer relationship management and customer experience products in blog posts from community members. Post your own perspective today!
cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
Hi,

This blog will help you to generate custom number range for particular field in C4C thru SAP Cloud Application Studio.

 

Generate number range for particular field in UI.

Ex: The number range should be start from (10 digits only) 8000000000 – 8999999999.

Step 1: Generate CODE LIST type as following:



Step 2: Generate a Reusable functional library as shown below:



Step 3: Write logic to generate a number in library function as shown below:



Step 4: Call that functional library in your code, I used it in event After-Modify.



Step 5: Output, generated the custom number automatically in QC screen when you create new record.



 

Thanks,

Chandra Gajula.