Quantcast
Channel: SCN : Popular Discussions - Floorplan Manager for Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 1726

FPM_SEARCH_UIBB: Fine Tuning of the Search Area

$
0
0

Hello experts,

 

I created a search application using FPM_SEARCH_UIBB. The user should only have a fixed search area with twelve search criterias, two of them should be mandatory.

 

The general setup of the search area is done and works fine. But there are some nasty details I'm struggling with.

 

Hide + / - Signs

 

In IF_FPM_GUIBB_SEARCH~GET_DEFINITION I set MAX_1_VALUE to abap_true. This prevents the user from adding search critera which is already on the search area. So far so good.

 

But is it possible to hide the + / - signs completely? If there is a plus-sign the user will click on it. If all criterias are already on the screen the user will receive an ugly error message. So the signs should be hidden.

 


Make Operators Read-Only

For all search criterias only the 'is' operator i relevant. All other operators are already excluded. But in the UI the operators are still displayed as drop-down fields and the user has the possibility to open it just to see that there is only one entry in the list.

 

Is it possible to make the operator field read-only? Hiding it would also be an option.

 

 

Mark search fields as mandatory

As mentioned two of the search fields should be mandatory. In IF_FPM_GUIBB_SEARCH~GET_DEFINITION I set attribute mandatory = abab_true with the result that the minus signs on the right side are hidden and the label is read-only so that the attribute cannot be changed.

 

The check whether a value is maintained is implemented in IF_FPM_GUIBB_SEARCH~PROCESS_EVENT.

 

Now the question:

The search attributes are not marked with a red star as mandatory as it is standard for form UIBBs. Is there somewhere a setting to mark the attributes consistently with a star? I know that this is a minor issue but there are people who are very keen on red stars for mandatory fields.

 

 

Best regards,

Markus


Viewing all articles
Browse latest Browse all 1726

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>