nerdexam
SAP

C_BOCR_11 · Question #205

Your HR Manager asks you to create an array of all 4000 employee IDs for your company. You create the following formula in a Crystal report: whileprintingrecords; numbervar array EmployeeIDArray…

The correct answer is C. An array can contain a maximum of 1000 values. See the full explanation below for the reasoning.

Question

Your HR Manager asks you to create an array of all 4000 employee IDs for your company. You create the following formula in a Crystal report: whileprintingrecords; numbervar array EmployeeIDArray; numbervar Counter; if not({Employee.Employee ID} in EmployeeIDArray) then (Counter := Counter + 1; (Redim Preserve EmployeeIDArray[Counter]; EmployeeIDArray[Counter] := {Employee.Employee ID})); Why do you get an error when you refresh the report?

Options

  • AThe array counter does not increment correctly.
  • BThe array is discarding existing values when adding another element.
  • CAn array can contain a maximum of 1000 values.
  • DThe array was evaluated too many times.

How the community answered

(35 responses)
  • A
    11% (4)
  • B
    3% (1)
  • C
    80% (28)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full C_BOCR_11 Practice