SAP
C_BOCR_11 · Question #148
C_BOCR_11 Question #148: Real Exam Question with Answer & Explanation
Sign in or unlock C_BOCR_11 to reveal the answer and full explanation for question #148. The question stem and answer options stay visible for context.
Question
You must create a formula in a Crystal report that will evaluate an array, determine if the field value is already present in the array and add the value if it does not exist as an array member. You must keep all existing array members when new values are added. There are 900 potential array members. You develop the following formula, but find that it does not work as required: shared idarray() as number shared rtI as number if onfirstrecord or {Customer.Country} <> previousvalue({Customer.Country}) thenredim idarray(1) rtI := 0 end if if not({Orders.Order ID} in idarray) then rtI := rtI + 1 formula := idarray(rtI) Which modification will make the following formula work correctly?
Options
- AIncrement a second counter.
- BRe-declare the variables with a new scope.
- CChange the assign operators from Crystal to Basic syntax.
- DAdd another array variable to account for all potential array members.
Unlock C_BOCR_11 to see the answer
You've previewed enough free C_BOCR_11 questions. Unlock C_BOCR_11 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.