cancel
Showing results for 
Search instead for 
Did you mean: 

Validate Group Name in FSM Mobile

Joao
Explorer
0 Kudos
594

Hello,

I am new to FSM and I am trying to validate the customer Group Name in the Business Partner Mobile screen.

Let us say that I have 3 possible group names: Large Account, Small Account and Distributor. My goal is to allow the creation of the customer only if the group name is "Large Account".

I have tried several expressions in the "Advanced Settings" of the field businessPartner.groupName but without success.

Thank you in advance,

Joao

View Entire Topic
Yanik_Kurzawski
Participant

Hello Joao,

I tested this again with the same field and for me this is working just fine in the mobile application.

I tested this on windows/android so I don't know if there is an difference to iOS. Maybe also check your fields in the database so it's the exact value.

For me your configuration looks good so I don't know why it isn't working for you. If you don't find any solution maybe try contacting SAP support.

Greetings

Yanik

Yanik_Kurzawski
Participant

Hello Joao,

so now I tested it under iOS again and i'm getting the same error as you. So this solution is working under windows app/android but not for iOS. As far as I know there shouldn't be any different expression required for iOS than for android. So you can try and open a ticket to SAP support and report this as a bug.

But the solution in my first example with an UDF is working for android, windows and iOS. So as an workaround you could create an UDF with the same fields and just hide the visibility of the original groupName in the screen config. If needed you could also create an business rule to copy the values of the UDF to the original field.

Greetings

Yanik

Joao
Explorer
0 Kudos

Hello Yanick,

Thank you for the feedback.

The support has done a full sync and it has solved the problem. I was also getting different behaviors in IOS and Android depending on the screen. I will make a few test and see if the behavior is the same in both platforms.

Regards,

Joao