cancel
Showing results for 
Search instead for 
Did you mean: 

Custom fields, default values using screen persona in s4 hana public cloud

Shadab_Hussain
Explorer
462

Hi Experts, we are working on screen persona in S4 Hana Public Cloud. Here are few queries that we are facing

1. Is there any way we can default values like in VA01 screen set delivery block/billing block or anything that can be fixed for screen flavor

2. In some cases, e.g. for product master we have custom field extension possible using Manage Product app whereas that same custom field is not available in MM01/MM02/MM03. Is there any way to add this using screen persona?

3. Screen field validation - Is there any way to validate values entered on screen for a flavor without going for custom logic enhancements?

 

View Entire Topic
Tamas_Hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos
  1. Of course. If it is a single fixed value you'd want to use as the default, you can double-click the input field and enter it as part of your flavor. If the value varies depending on some criteria, then you can use an onLoad script to determine what it should be and set it that way. Then, if you don't want the user to change it, you'd hide the field.
  2. You could add custom fields in your flavor, but then you also must script the logic that does something with them. The backend is not aware of your frontend custom fields added by the flavor, so the script(s) would need to take care of populating them based on some scripted logic performing navigation to other screens to read values or take the entered values and process them the way you need it. Unfortunately, the lack of Personas RFC capability in Public Cloud limits your options, but a lot is still possible with the appropriate script.
  3. Not without some "custom logic", but you could base your validation on this blog post as an example. It is about making fields mandatory, but you can replace that with any other coding as necessary.