nerdexam
SAP

C_HANAIMP131 · Question #20

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

(37 responses)
  • A
    14% (5)
  • B
    73% (27)
  • C
    3% (1)
  • D
    11% (4)

Community Discussion

No community discussion yet for this question.

Full C_HANAIMP131 Practice