ERPClimb logoERPClimb
Fiori Troubleshooting Capstones
Fiori & SAPUI5advanced 6 min read

Fiori Capstone Part 2: The App Loads but Data Is Missing or Wrong

Preview · a free account unlocks the full lesson

Key takeaway

Diagnose apps that load but show no data, partial data or wrong values: filters and variants, CDS access controls, service errors, binding paths, annotations pointing to wrong properties and caching of old metadata.

Visual overview

Fiori Capstone Part 2: The App Loads but Data Is Missing or Wrong — learning sheetFlow: Inspect $filter/$select → Variants and defaults → Authorization and DCL → Annotations and bindings → Metadata cache, then back end. Key ideas: INSPECT THE REQUEST; AUTHORIZATIONS; MAPPING AND ANNOTATIONS; METADATA CACHING. Watch out: Assuming the back end is wrong before checking the request wastes time.ERPClimb.com / FIORI / LESSON 15/16 / LEARNING SHEETFiori Capstone Part 2: The App Loads but Data Is Missingor Wrong1 · HOW IT FLOWS1Inspect$filter/$select2Variantsanddefaults3Authorizationand DCL4Annotationsandbindings5Metadatacache, thenback end2 · KEY IDEAS EXPLAINEDInspect The RequestIn the network tab, open the data request and read$filter, $select and $expand. A default variantmay filter on a value that no longer exists, or a…AuthorizationsIf the request succeeds with an empty result, CDSaccess controls or back-end authorization may berestricting rows. Compare with a user who sees…Mapping And AnnotationsWhen values look wrong — amounts without decimals,wrong field in a column — check the annotation'sproperty path and semantics, and in freestyle apps…Metadata CachingAfter service changes, browsers and servers maycache old metadata. Fiori apps then show missingor outdated fields. Clearing metadata caches on…3 · REMEMBER · WATCH OUTRememberCheck the request actually sent: filters from variants or defaults mayexclude everything.Empty results without errors often mean CDS access controls arefiltering rows.Wrong values can come from wrong binding paths or annotationsreferencing the wrong property.!Watch outAssuming the back end is wrongbefore checking the request wastestime.4 · IN A REAL PROJECTUsers of a list report saw no orders since a reorganisation. The shared default variant filtered on a retiredsales organisation. Updating the variant and adding a check for variants referencing obsolete values in thereorganisation checklist resolved the issue in minutes.Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Part 1 handled the case of a blank screen; Part 2 handles subtler data problems, where the app loads but the data is missing or wrong.

The first move is always to inspect the request actually being sent. In the network tab, opening the data request and reading its $filter, $select and $expand often reveals the issue directly: a default variant may filter on a value that no longer exists, or a mandatory filter may be sitting empty. Running the same query directly is a good way to compare. Assuming the back end is wrong before checking the request this way just wastes time.

If the request succeeds but comes back with an empty result and no errors, the likely cause is CDS access controls or back-end authorization restricting rows. Comparing against a user who does see data, and checking the DCL conditions alongside that user's authorization values, usually narrows it down.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.