** TEAM FPM ** – Analyzing your FPM Application (in general, customizing, enhancements, …)
ever wondered which kind of analysis tools and tricks are available to get a deep insight into your FPM Application?
First step: Setting user parameter FPM_CONFIG_EXPERT
This user parameter you can set via Menu –> System –> User Profile –> Own Data.
(–> Hint: Just click on these blog-screenshots to get a deeper insight…)
What will happen when you set the parameter’s value to ‘X’?
From this point in time you will get additional functionality within the runtime of your FPM applications as long as this parameter is set. When you start an FPM application, it will look like the following screenshot – keep an eye on the right-hand side of the global toolbar.
Three additional buttons will appear (from left to right):
1) Configure Page
When you press this button a direct navigation takes place into a new window where the whole page – the floorplan itself – can be configured. This jump to the FPM Configuration Editor makes it easier to maintain/develop/analyse your applications.
2) Show Configurable Areas
When Generic UI Building Blocks (GUIBBs) are included within your application (e.g. List, Form, …) these blocks will be displayed with a blue layer over it. Clicking on this layer triggers a navigation to the FPM Configuration Editor of the respective GUIBB.
3) Application Hierarchy
This button leads you directly to the FPM Application Hierarchy Browser which automatically will show you the build-up of your FPM Application. Details like which floorplan is used, which application configuration and component configurations are used are shown. A very good thing there is that you also can directly navigate to the listed configurations.
Furthermore analysing the several included configurations is also possible. It is shown which configuration has already been customized or even enhanced! This everybody should really know because with this tool you save a lot of time within your daily work.
When you are an administrator and just would like to customize SAP delivered applications, you also have the possibility to set user parameter FPM_CONFIG_EXPERT to ‘A’. The tooltips of the additional buttons will slightly change:
1) Customize Page
2) Show Customizable Areas
If you need the above functionality just a few times you also can – besides setting the user parameter FPM_CONFIG_EXPERT – set a URL-parameter.
By adding sap-config-mode=CONFIG to your FPM application URL, you will get the same functionality as when having set user parameter FPM_CONFIG_EXPERT = X (+ configuration of ALV output).
By adding sap-config-mode=X to your FPM application URL, you will get the same functionality as when having set user parameter FPM_CONFIG_EXPERT = A (+ implicit personalization).
Second step: Using the Comparison Tool
From SAP_BASIS 7.31 onwards the FPM Comparison Tool is provided which shows you the deltas between:
- The original FPM Application and its customizing
- The original FPM Application and its enhancements
- The original FPM Application and its Context Based Adaptation (CBA)
To use the Comparison Tool you have to be within the FPM Configuration Editor of a Customizing, Enhancement or CBA. Press button “Adaptations & Comparisons” within the global toolbar.
An additional area will appear on top of the screen which provides a Dropdown-Listbox showing all entities where a comparison makes sense (all parent entities of the currently edited/displayed entity).
Having selected an object all changes will be displayed.
On the left-hand side you will see all FPM entities which were changed/added/deleted. When you select a changed element on the left-hand side all attribute changes will be displayed on the right-hand side table. Here a reset is offered also for single attributes.
Third step: Using the Analysis Capabilities from Web Dynpro ABAP, e.g. the Technical Help
If you are still on NW 7.02 and are not capable of using the Comparison Tool from above, you still have the possibility to get an overview of your deltas/enhancements via the Technical Help or the native analysis tools from WD ABAP.
To reach the Technical Help just do a right-click within your running FPM-Application and choose entry “Technical Help”.
A pop-up will appear with different tabs on it. On the very first tab “Web Dynpro Application” you get an overview about the used Application Parameters as well as all the configuration data which is used. A very good functionality here is (within higher releases) that you can directly jump to the FPM Configuration Editor of the used component configurations.
Another important tab here is “Views and View Elements”. Below this section you get a good overview of the currently displayed UI-Elements and their attributes.
Besides the Technical Help WD ABAP has further analysis tools.
Four Web Dynpro Components are offered which you can use analyzing your application/component/configuration:
Select the respective component and navigate to its Web Dynpro application. Execute it.
In our case especially the component WD_ANALYZE_CONFIG_COMP is of great use. Let’s have a look into its application and its features.
Within the application you enter the respective FPM component configuration you would like to analyze.
You see that you get a deep insight in the basic properties of your configuration as well whether the configuration has been enhanced.
On the bottom you get all details about the configuration data itself (tab “Explicit Configuration Data”) and also the implicit personalization capabilities (tab “Implicit Configuration Data”).
Via link “Goto Personalization” you can analyse whether a customizing has been done and which data has been changed.
You see that the provided data is more complex as the FPM Comparison Tool because the pure Web Dynpro Context data is provided (tab “Explicit Personalization”). Nevertheless you get a good overview of what has been changed within the customizing in comparison to the original configuration. If personalizations have been done to configurations this also can be seen within this screen (User Scope = U). Within this screen you are also able deleting the respective customizing/personalization.
Fourth step: Always good to know that Web Dynpro components and its feeder classes can be enhanced either
But how can yousee whether methods of a component or an assistance class has been enhanced? This can be quite difficult because it is not always obvious whether an enhancement exists.
One good thing to know is when entering methods of your component or assistance class further columns are rendered on the right-hand side in case an enhancement exist. In most of the cases you have to use the scrollbar on the bottom to reach this kind of columns. So just be aware of this fact!
Fifth step: Use shortcut Ctrl-Alt-Shift + “h”
This shortcut gives you an overview of other possible analysis capabilities of your FPM application. Just try it out.
Outlook for 7.31: Runtime Analysis Tool (RAT)
From SAP_BASIS 7.31 SP5 onwards we will provide successively the Runtime Analysis Tool for all available FPM components.
With the Runtime Analysis Tool will be able to determine the origin of all the displayed UI-elements on your running application! If you would like to know where a button on the UI comes from or an input field, you get the information whether:
– it has been configured or
– it came via the Application Configuration Controller (AppCC) dynamically
So with the Runtime Analysis Tool you will be able to analyse your application at runtime! You will definitely save time in analyzing…
The tool is available under the appropriate tab within the Technical Help and gives you the following information:
Nicely drafted 🙂
I'm always on the lookout for FPM help. Thanks for this.
Lot of useful information... thanks for the blog
It is really very usefull information. Thanks a lot.
I need wiring concept with exaple. Anybody Plz..
Thanks a lot. 🙂
I am having SAP Netweaver 7.31 SP6 in my system.But With the Runtime Analysis Tool I am not able to determine FPM tab where i can see the origin of all the displayed UI-elements on in my running application.
Could you help me to find this.
Thanks in advance.
These features will be a great help when we are analyzing standard applications. Thanks for sharing.
Analyzing the origin of fileds from feeder takes time to see from which feeder class etc.. Run analysis tool is save timer and Great information to share .. Thanks..
Is there any way to read/access the FPM screen personalization data ( like sorting of the fields on the list UIBB ) in the FPM feeder or appl controller class?
I just want to say: what a fantastic blog!!
Thanks for your feedback 🙂