SAP Knowledge Base Article - Public

2770360 - Query Not Showing the Correct Results in a Page Layout

Symptom

You have configured the available queries for a page layout, however the number of results of the default query is different from the expected. And, if you select another query and come back to default the result is correct.

Query_My.jpg

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

SAP Cloud for Customer

Reproducing the Issue

For example:

  1. Go to Customer work center.
  2. Go to Accounts screen.
  3. The default query My Accounts is showing a wrong number of results.
  4. Select a different query and after this come back to My Accounts.
  5. Now, the result is correct.

Cause

This behavior could happen if you hide the master layout default query on the page layout. As it is not possible to set a default query for a page layout the system could show an unexpected result on the first screen load.

Resolution

There are two options to correct this behavior:

  1. The page layout and master layout should have the same default query.

    Or:
  2. The business user should define your own default query. So, the system will load the personalized default query.

Keywords

Query ; Page Layout ; Advanced search ; search results , KBA , AP-RC-UIF-FLX , Page Layout & Key User Configuration , How To

Product

SAP Cloud for Customer add-ins all versions