Search Results raise_application_error
Overview
PNUTLPKG is a small utility package body owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. Its documented purpose is to provide a controlled wrapper around Oracle's built-in UTL_FILE package so that PL/SQL code executed within the EBS database tier can write a single line of text to an operating-system file. The package is classified as OTHER in the ETRM metadata, meaning it is not a public, supported integration API; it is an internal helper used by Oracle development teams during the construction of EBS modules rather than by customers for extension.
The header reference ($Header: PNUTLPKB.pls 115.8 2002/01/16) shows the source dates from the early 11i development cycle and remained essentially unchanged into Release 12. This constancy reflects its narrow scope: it does not implement business logic, validation, or data derivation, and it holds no EBS-specific knowledge. Its sole responsibility is to reduce boilerplate when diagnostic or output text must be flushed to a flat file from within a PL/SQL routine.
Key Procedures and Functions
A single documented procedure is exposed:
- PNUTLPUT — Accepts a directory, a file name, and a buffer of text, then opens the target file in write mode, writes the supplied line with a line terminator, flushes the buffer, and closes the file handle. It is a fire-and-forget write: each invocation opens, writes, and closes, so there is no persistent handle to manage across calls. The procedure is intended for surrogate or diagnostic output rather than for high-volume, performance-sensitive file creation, since the open/close cycle is repeated per line.
The procedure body is dominated by an exception section that maps each standard UTL_FILE failure to a distinct, numbered Oracle error. These translations are the reason the object surfaces in searches for raise_application_error: every error path terminates in a RAISE_APPLICATION_ERROR call, converting a PL/SQL I/O exception into a numbered application error with a readable message prefixed by the procedure name.
Tables Accessed
PNUTLPKG references no EBS application tables and performs no DML against the APPS schema dictionary. The only documented dependency is on the UTL_FILE supplied package, which is resolved through the APPS synonym namespace. All file interaction occurs at the operating-system layer via UTL_FILE's directory-object mechanism. Consequently, the package can be analyzed without concern for table locking, row-level security, or concurrent-program data integrity, and it has no Multi-Org or MOAC implications.
Usage Notes
Because PNUTLPUT writes to a server-side file, callers require the following environment to succeed:
- A pre-created DIRECTORY object whose physical path is reachable by the database server process, with the APPS database user granted read/write on it.
- Execution in a context where the UTL_FILE package is not restricted by database-level security policies (such as any policy that denies file I/O to APPS).
The procedure is typically invoked from other EBS PL/SQL units or from ad hoc SQL in SQL*Plus or a Toad/SQL Developer session during debugging and development. It is not normally wired to a concurrent program or Oracle Forms trigger, though custom code may call it to produce trace output. Because the raised errors use the application-defined range starting at -20100 and carry only short English text, they are not registered in the EBS message dictionary and will not be translatable through Oracle Applications message handling. Consumers should therefore treat any -20100 to -20105 error as a low-level file I/O diagnostic rather than a user-facing message, and should log rather than present it to end users. No other package in the EBS instance references PNUTLPKG, confirming its status as an isolated developer utility.
-
TYPE BODY: APPS.JTF_DIAG_SECTION
12.1.1
-
PACKAGE BODY: APPS.PNUTLPKG
12.2.2
-
PACKAGE BODY: APPS.PNUTLPKG
12.1.1
-
TYPE BODY: APPS.JTF_DIAG_SECTION
12.2.2
-
APPS.CCT_CASCADE_DELETE_PUB SQL Statements
12.1.1
-
APPS.CCT_CASCADE_DELETE_PUB SQL Statements
12.2.2
-
PACKAGE BODY: APPS.BISM_ACCESS_CONTROL
12.1.1
-
PACKAGE BODY: APPS.BISM_ACCESS_CONTROL
12.2.2
-
FUNCTION: SYS.ORA_COMPLEXITY_CHECK
12.1.1
-
TYPE BODY: APPS.JTF_DIAG_REPORT_OBJ
12.1.1
-
TYPE BODY: APPS.JTF_DIAG_REPORT_OBJ
12.2.2
-
FUNCTION: SYS.ORA_COMPLEXITY_CHECK
12.2.2
-
PACKAGE BODY: APPS.BNE_SECURITY_UTILS_PKG
12.1.1
-
PACKAGE BODY: APPS.BISM_WEAKAGGREGATES
12.2.2
-
TRIGGER: APPS.FA_DEPRN_OVERRIDE_BRIUD
12.2.2
-
TRIGGER: APPS.CZ_CONFIG_CONTENTS_V_T1
12.2.2
-
PACKAGE BODY: APPS.JE_JENOGEIS_XMLP_PKG
12.2.2
-
TRIGGER: APPS.FA_DEPRN_OVERRIDE_BRIUD
12.1.1
-
PACKAGE BODY: APPS.BNE_SECURITY_UTILS_PKG
12.2.2
-
PACKAGE BODY: APPS.JE_JENOGEIS_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.BISM_WEAKAGGREGATES
12.1.1
-
TRIGGER: APPS.CZ_CONFIG_CONTENTS_V_T1
12.1.1
-
PACKAGE BODY: APPS.JTF_DIAG_REPORT_FACTORY
12.1.1
-
PACKAGE BODY: APPS.IBY_QUERYSET_PKG
12.1.1
-
PACKAGE BODY: APPS.AD_TSPACE_UTIL
12.1.1
-
PACKAGE BODY: APPS.JTF_DIAG_REPORT_FACTORY
12.2.2
-
PACKAGE BODY: APPS.IBY_ROUTINGINFO_PKG
12.1.1
-
TYPE BODY: APPS.JTF_DIAG_NOTE
12.1.1
-
PACKAGE BODY: APPS.FND_FLEX_WF_PROCESSES
12.1.1
-
PACKAGE BODY: APPS.FND_FLEX_WF_PROCESSES
12.2.2
-
PACKAGE BODY: APPS.IBY_ACCPPMTMTHD_PKG
12.2.2
-
APPS.MRP_REPORT_INV_TURNS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.IBY_ROUTINGINFO_PKG
12.2.2
-
PACKAGE BODY: APPS.IBY_ACCPPMTMTHD_PKG
12.1.1
-
TYPE BODY: APPS.JTF_DIAG_NOTE
12.2.2
-
PACKAGE BODY: APPS.IBY_QUERYSET_PKG
12.2.2
-
PACKAGE BODY: APPS.AD_TSPACE_UTIL
12.2.2
-
TYPE BODY: APPS.JTF_DIAG_TREE_NODE
12.1.1
-
TYPE BODY: APPS.JTF_DIAG_TREE
12.2.2
-
APPS.MRP_REPORT_INV_TURNS SQL Statements
12.2.2
-
PACKAGE BODY: APPS.ICX_POR_POPULATE_DESC
12.2.2
-
PACKAGE BODY: APPS.POS_ENTERPRISE_UTIL_PKG
12.2.2
-
TYPE BODY: APPS.JTF_DIAG_TREE_NODE
12.2.2
-
TRIGGER: APPS.CZ_RULES_T3
12.2.2
-
TRIGGER: APPS.CZ_RULES_T3
12.1.1
-
PACKAGE BODY: APPS.ICX_POR_POPULATE_DESC
12.1.1
-
PACKAGE BODY: APPS.GL_GLXLSLST_XMLP_PKG
12.1.1
-
TYPE BODY: APPS.JTF_DIAG_TREE
12.1.1
-
PACKAGE BODY: APPS.GL_GLXLSLST_XMLP_PKG
12.2.2
-
TYPE BODY: APPS.JTF_DIAG_TABLE
12.1.1