nerdexam
SAP

C_LCNC_2406 · Question #54

You want to use a variable value in multiple pages in an SAP Build Apps application. Which variable type can you use?

The correct answer is D. App. App variables (option D) have application-wide scope, meaning their values persist and are accessible across all pages in an SAP Build Apps project - exactly what's needed for sharing data between pages. Page variables (B) are scoped to a single page and reset when you navigate…

SAP Build Apps

Question

You want to use a variable value in multiple pages in an SAP Build Apps application. Which variable type can you use?

Options

  • ATranslation
  • BPage
  • CSensor
  • DApp

How the community answered

(45 responses)
  • A
    4% (2)
  • B
    2% (1)
  • D
    93% (42)

Explanation

App variables (option D) have application-wide scope, meaning their values persist and are accessible across all pages in an SAP Build Apps project - exactly what's needed for sharing data between pages.

  • Page variables (B) are scoped to a single page and reset when you navigate away, making them useless for cross-page sharing.
  • Translation variables (A) are used for localization/internationalization (text in different languages), not for storing general-purpose runtime values.
  • Sensor variables (C) are read-only bindings to device sensors (GPS, accelerometer, etc.) and aren't designed for storing shared application state.

Memory tip: Think "App = Application-wide." If a variable needs to travel with the user across the whole app, use an App variable. If it only lives on one screen, use a Page variable.

Topics

#App Variable#variable scope#multi-page apps#variable types

Community Discussion

No community discussion yet for this question.

Full C_LCNC_2406 Practice