SAP
C_HANAIMP141 · Question #118
Table SALES_TABLE contains the columns COUNTRY and SALES. unction calc_tax calculates sales tax based on input parameter SALES. Using a scripted calculation view, how can you call the calc_tax…
The correct answer is B. v_tax = SELECT COUNTRY, calc_tax(SALES) AS TAX FROM SALES_TABLE. See the full explanation below for the reasoning.
Question
Table SALES_TABLE contains the columns COUNTRY and SALES. unction calc_tax calculates sales tax based on input parameter SALES. Using a scripted calculation view, how can you call the calc_tax function?
Options
- A:v_tax = SELECT COUNTRY, CALL :calc_tax(SALES) AS TAX FROM :SALES_TABLE;
- Bv_tax = SELECT COUNTRY, calc_tax(SALES) AS TAX FROM SALES_TABLE;
- C:v_tax = CE_PROJECTION(SALES_TABLE, ["COUNTRY","CALL :calc_tax(SALES)"]);
- Dv_tax = CE_PROJECTION(SALES_TABLE, ["COUNTRY","calc_tax(SALES)"]);
How the community answered
(39 responses)- A10% (4)
- B79% (31)
- C3% (1)
- D8% (3)
Community Discussion
No community discussion yet for this question.