Search Results g_error_table




Overview

APPS.ERROR_HANDLER is the centralized error capture, translation, and reporting utility for the Oracle Bills of Material (BOM) business object APIs. The package body is delivered from source file BOMBOEHB.pls and carries a header revision of 120.5.12020000.3, dated 07-MAR-2013, which is the version shipped with Oracle E-Business Suite 12.1.1 and 12.2.2. Its core purpose is to accumulate errors and warnings raised during BOM open-interface and Bill of Material processing, map internal tokens to user-facing messages, and route those messages to the appropriate output destinations.

The package is classified as OTHER, not as a public API, and is referenced by 186 other packages, confirming that it functions as shared infrastructure rather than an application entry point. The global G_ERROR_TABLE declared as Error_Handler.Error_Tbl_Type is the in-memory repository for the message list, and the global G_MSG_INDEX / G_Msg_Count pair tracks cursor position and total message volume. A G_BO_IDENTIFIER default of 'BOM' scopes the default message set to the BOM business object.

Key Procedures and Functions

Tables Accessed

  • MTL_INTERFACE_ERRORS — target of WRITE_TO_INTERFACETABLE; persists interface failures for downstream review.
  • MTL_SYSTEM_ITEMS_INTERFACE_S — the BOM open-interface staging object against which item-level errors are recorded.
  • UTL_FILE — used by the debug file writer to produce diagnostic output.
  • PLITBLM — the PL/SQL message table underlying translation of Message_Name values into formatted text.
  • V$PARAMETER — read to determine database configuration such as the NLS language environment during translation.

Usage Notes

ERROR_HANDLER is not invoked directly by end users. It is called by BOM open-interface concurrent programs, by the BOM business object APIs (Bom_Bo_Pub), and by custom PL/SQL that processes bills, routings, and components. Callers typically invoke INITIALIZE, loop over records issuing ADD_MESSAGE or LOG_ERROR, then call TRANSLATE_AND_INSERT_MESSAGES and one of the WRITE_TO_* procedures. Debug tracing is enabled through OPEN_DEBUG_SESSION and WRITE_DEBUG. Because it is referenced 186 times, changes to its behavior can affect a broad range of BOM-related flows in both 12.1.1 and 12.2.2.