cancel
Showing results for 
Search instead for 
Did you mean: 

C4C - Rule Editor doesn't work

0 Kudos

Hi community,

i don’t understand a custom rule.

I would like to set the property of a street name to uppercase. The “code” is:

TOUPPER(Root.CurrentDefaultAddress.StreetName)

The preview shows me the value in uppercase format but in the end nothing changed.

The description of the uppercase function says: “This function should convert to uppercase”.

Is that not possible or a bug in SAP C4C?

Regards,

Mike

Accepted Solutions (1)

Accepted Solutions (1)

former_member192750
Active Contributor
0 Kudos

The properties you can set are ONLY mandatory, visible and read-only based on certain rules.
The rules can have conditions where you use functions like TOUPPER(Root.CurrentDefaultAddress.StreetName) to match the StreetName to 'PARK LANE' for example.

Check out the blogs below for details:
https://blogs.sap.com/2016/07/26/introduction-to-c4c-rule-editor/
https://blogs.sap.com/2016/07/26/using-model-rule-editor-to-create-custom-rules-in-c4c/

Regards,
Ankan

Answers (1)

Answers (1)

former_member259099
Participant
0 Kudos

Please note: the Key User Rule Editor is a Key User tool only and must never be used by a PDI Development User!

If you have a Business User you have access to the Key User Tool which will be enabled via the Adaption Mode in the C4C system where you can enhance the UI with variety of functions -> Adding extension fields, adding rules, etc.. The Key User Rule Editor should be used by Business Users only, using Adaptation Mode in C4C. Login to the UI, click Adapt > Edit Master Layout.


If you have a PDI User you can use the UI Designer which can be accessed from the Cloud Application Studio. In here you can open the corresponding UI screen and then use the Extensibility Explorer to enhance the UI screen.