cancel
Showing results for 
Search instead for 
Did you mean: 

UI rules possible in the service ticket items (c4c)

DAcker
Contributor
0 Kudos

Hi experts,

I tried to create UI rules (visible / read-only) or validation rules for fields in the context of service ticket items. But it doesn't work... I created earlier some UI rules for a field with general context in the service ticket and there it worked fine. I don't know what I'm doing wrong..

Specific scenario:

I want to make the custom field 1 read-only, if the product is not "10000023". The following rule is created in the editor for the custom field 1 (in the general data tab - see screenshot below).

Rule for read-only of custom field 1:

IF( Root.ItemModificationStructure.ProductID == 10000023, false, true)

So in position 70 or 80 (marked) the product is 10000023, therefore I would expect that the custom field 1 is not ready-only (editable). But it is all the time read-only... This behaviour I see also with two other custom fields...

What am I doing wrong? Is it generally possible to create UI rules and validation rule in context of the service ticket items or are there some restrictions? ( I got also some issues with a validation rule I create in this item context)

Thanks for help in advance!

Best regards,

Deborah

DAcker
Contributor
0 Kudos

I also tried with this rule:

IF( Root.ItemModificationStructure.ProductID!=10000023, true, false)

But unfortunately without success...

Accepted Solutions (1)

Accepted Solutions (1)

andreea_patru3
Explorer

Hi Deborah,

To my knowledge, these rules work only at header level, not on item level. The ProductID you can see there is actually the one that can be found at header level, on the Overview tab.

DAcker
Contributor
0 Kudos

Hi Andreea, thank you very much for the quick response! 🙂 I suspected that, too...

Do you know if this information is somewhere documented or confirmed by SAP?

andreea_patru3
Explorer
0 Kudos

Hi,

I received an oral confirmation from someone at SAP during a conference. You can also see it here: http://blog.acorel.nl/2017/03/its-never-too-late-to-validate.html

Thanks!

DAcker
Contributor
0 Kudos

I voted for the corresponding idea in customer influence:

https://influence.sap.com/sap/ino/#/idea/144651/(for validation rule) and created a new idea for the UI rules (visible/read-only) https://influence.sap.com/sap/ino/#/idea/203550

Please vote also if you need/want this requirement!

Thanks.

DAcker
Contributor
0 Kudos

Another idea to vote on customer influence: https://influence.sap.com/sap/ino/#/idea/203558 for the translation function of messages in the validation rule editor

matheus_kuhn
Participant
0 Kudos

Hi Andreea,
You are right, these rules work only at header level, not on item level (columns, buttons, etc...). Thanks for collaborating with us.

Answers (0)