My Oracle Support Banner

ORA-2344 Compilation BUILD_TOTAL_FUNCTION Error For Totals Using Custom View (Doc ID 2409076.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Retail Sales Audit - Version 16.0.1 and later
Information in this document applies to any platform.


When attempting to create total with a custom view, the following error occurs.

ORA-2344: Success with compilation error returns by program unit SA_BUILD_TOTAL_SQL.BUILD_TOTAL_FUNCTION

Steps to reproduce :

  1. Create a New View (example:V_SA_TRAN_LVL_TOTAL) to be used by the total in ReSA in a custom schema.
  2. Setup Realms and Parms for the new view.
  3. Create a Total in ReSA using this new view.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.