
Hi Everyone,
This blog post mainly focuses on the Default field update in the field level using adaptation Rules in SAP C4C.
To create a rule, do the following:
Login into C4C and enter adaptation mode.
Here we are using Phone call business object for ruling concept - By clicking on back arrow till last you can reach the implementation option.
Select the implementation drill down to rules and validations.
Click on Add button and select the Rule.
You can view the rule writing screen.
Default value rule creation steps:
When we are working with default values, there are a few things needs to follow:
Syntax: IF(logical_expression, value_if_true, value_if_false)
Syntax explanation:
IF () -> In the IF () logic expression if the outcome is true return the first value. Else, return the other value.
IF(Root.Type_31408d0a2c830b4a4f085c684fa90526== 101, '2', ' ')
Here we are trying to default the Direction field as “Inbound.”
Thank You!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.