Skip to Content



My name is Chandra Gajula working in Mindtree Ltd., Bangalore.

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.



Chandra Gajula.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply