nerdexam
SAP

C_LCNC_2406 · Question #24

In SAP Build Apps, which function returns the number of items in a list?

The correct answer is B. LENGTH. LENGTH is the correct function in SAP Build Apps for returning the number of items in a list (array). It operates on list/array data types and returns an integer count of how many elements the list contains. COUNT (A) is a distractor borrowed from SQL/database contexts where it…

SAP Build Apps

Question

In SAP Build Apps, which function returns the number of items in a list?

Options

  • ACOUNT
  • BLENGTH
  • CMAX
  • DSUM

How the community answered

(33 responses)
  • B
    94% (31)
  • C
    3% (1)
  • D
    3% (1)

Explanation

LENGTH is the correct function in SAP Build Apps for returning the number of items in a list (array). It operates on list/array data types and returns an integer count of how many elements the list contains.

  • COUNT (A) is a distractor borrowed from SQL/database contexts where it counts rows - SAP Build Apps uses formula-based logic, not SQL, so COUNT is not the function here.
  • MAX (C) returns the largest numeric value within a list, not the number of items in it.
  • SUM (D) adds up numeric values in a list, again operating on the content of items rather than the quantity of them.

Memory tip: Think of LENGTH like measuring the length of a physical list of items - just as you'd count how long a piece of paper is, LENGTH tells you how many entries your list holds. If you've used JavaScript or Python, this maps directly to .length (JS) or len() (Python).

Topics

#formulas#LENGTH function#list operations#built-in functions

Community Discussion

No community discussion yet for this question.

Full C_LCNC_2406 Practice