Hello, welcome to the third episode of this series.
I know that many of you were been asking how to set a predefined value for a specific field in your change request.
How to do it? There is a badi? Can you do it directly in the data model?
Yes probabile there is a way to do it programmatically, but when I tried it, I discovered many issues with this approach, and since FPM is in place, why don’t we use a so powerful tool that offers a very flexible environment for the UI configuration, that make the things more and more easier?
Let’s see how to do it.
Introduction to FPM customization:
in FPM you can do three types of customizations.
1) Personalization – every user can do it. They can change the basic behaviour of ui sections and this changes are visible only to the user that have changed it.
2) Customization – the FPM administrator can do it. The changes are visible to all the users using the same component configuration on which the customization have been done. The admin can change advanced fields and section settings.
3) Configuration – if something is not feasible with customization, maybe you can do it with configuration, but this is almost a development and you need to do it via SAP GUI.
We will use CUSTOMIZATION here.
Enable your user as FPM administrator. Make sure in SU01 that you have the following paramter
Start the customizing for the view you want to change:
Right click on the field you want to change -> technical settings -> copy the link indicated below
Paste the link in a browser and add the following parameter:
as well explained here: Activating Administrator Mode – Floorplan Manager for Web Dynpro ABAP – SAP Library
Now the magic will happen! You will see a yellow bar that indicated that the customizing is active, and some additional buttons on the ui
there are more surprises! If you right click on a field you see a new option. Click on it!
Now you can change a lot of stuffs 🙂
for example if you want to add a default value, write something in the field and then open the options and set the following radio button
Easy right? 🙂
See you in the next episode!