SAP
C_BOCR_11 · Question #257
C_BOCR_11 Question #257: Real Exam Question with Answer & Explanation
The correct answer is A. Local stringvar array saModels := ["car","truck","van","SUV"]; saModels[Tonumber({Invty.Stk#}[3])];. See the full explanation below for the reasoning.
Question
You are developing a Crystal report for a vehicle leasing company. All vehicle information is stored in an array, with each member of the array representing a different vehicle type. The vehicle model is represented by the third position of the alphanumeric vehicle stock number. Which formula will return the vehicle model from the stock number?
Options
- ALocal stringvar array saModels := ["car","truck","van","SUV"]; saModels[Tonumber({Invty.Stk#}[3])];
- BLocal stringvar array saModels ["car","truck","van","SUV"]; saModels[Tonumber({Invty.Stk#}[2])];
- CLocal stringvar array saModels := ["car","truck","van","SUV"]; saModels[Tonumber({Invty.Stk#}[2])];
- DLocal stringvar saModels := ["car","truck","van","SUV"]; saModels[Tonumber({Invty.Stk#}[3])];
Community Discussion
No community discussion yet for this question.