Search Results ap_debug_pkg
Overview
AP_DEBUG_PKG is a technical utility package owned by the APPS schema in Oracle E-Business Suite, with documented validity across the 12.1.1 and 12.2.2 releases. Unlike the functional packages that populate the Payables application (for example AP_INVOICES_PKG or AP_PAYMENT_PKG), AP_DEBUG_PKG does not carry out business transactions. Its role is diagnostic: it provides application developers and support engineers with a consistent mechanism for formatting and emitting debug or trace output from within PL/SQL execution paths. This is particularly important in Payables, where invoice validation, approval matching, funds control, and accounting event generation occur through deeply nested package calls that are otherwise opaque during troubleshooting. The package is classified as OTHER in the documented ETRM metadata, confirming that it is not exposed through any Oracle EBS product API or published integration interface, but is instead an internal instrumentation aid consumed by other application code.
Key Procedures and Functions
The documented metadata lists eight procedures and functions, of which three are named: SPLIT, INDENT_TEXT, and PRINT.
- SPLIT — Breaks a supplied value into components, typically used to wrap long debug messages into manageable, line-sized fragments before display or logging.
- INDENT_TEXT — Applies hierarchical indentation to debug output, allowing callers to visually reflect the nesting depth of package invocations and making execution traces easier to read.
- PRINT — Emits a formatted debug message. This is the primary entry point invoked by dependent packages to record status, variable values, or progress markers during runtime.
The remaining five documented procedures and functions are not individually named in the available metadata; no parameter lists are asserted here, as the ETRM extract does not publish them. In practice these helpers support the same formatting and output concerns as the three named units.
Tables Accessed
No base tables are documented as directly referenced by AP_DEBUG_PKG through APPS synonyms. This is consistent with its diagnostic purpose: debug helpers generally operate on PL/SQL variables and, where persistence of output is required, rely on session-level mechanisms rather than application tables. Its only documented dependency is on the SYS-owned STANDARD package, which supplies the fundamental PL/SQL constructs on which every stored program depends. Consequently, AP_DEBUG_PKG can be called safely from any context without concern for table locking, transactional side effects, or row-level security.
Usage Notes
AP_DEBUG_PKG is referenced by eleven other packages in the APPS schema, including AP_APPROVAL_PKG, AP_APPROVAL_MATCHED_PKG, AP_FUNDS_CONTROL_PKG, AP_LINES_UPGRADE_PKG, AP_LINES_UPGRADE_SYNC_PKG, AP_UTILITIES_PKG, AP_XLA_EVENTS_PKG, AP_XLA_UPGRADE_PKG, AP_UPDATE_1099_AWT_DISTS_PKG, AP_XML_INVOICE_INBOUND_PKG, and PSA_AP_BC_PVT. These dependencies indicate that debug instrumentation is embedded throughout invoice approval, funds checking, Subledger Accounting event creation, XML invoice inbound processing, upgrade routines, and Payables–Projects integration. The package also references itself, reflecting recursive formatting behavior.
Typical invocation occurs from within these dependent packages under an internally controlled debug flag, most often while diagnosing approval workflow failures, funds control rejections, or upgrade inconsistencies. It is not exposed to Oracle Forms or to standard concurrent programs as a user-facing facility, and it should not be called from custom code without first confirming that the debug switch in the calling environment is enabled, since unconditional invocation may generate excessive output. Because the package is a supported APPS schema object, modifications are restricted to Oracle patching.
-
PACKAGE: APPS.AP_DEBUG_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_DEBUG_PKG, status:VALID,
-
PACKAGE: APPS.AP_DEBUG_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_DEBUG_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_DEBUG_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_DEBUG_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_DEBUG_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_DEBUG_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_UPDATE_1099_AWT_DISTS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_UPDATE_1099_AWT_DISTS_PKG, status:VALID,
-
PACKAGE: APPS.AP_DEBUG_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_XLA_EVENTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_XLA_EVENTS_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_XLA_EVENTS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_XLA_EVENTS_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_LINES_UPGRADE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_LINES_UPGRADE_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_LINES_UPGRADE_SYNC_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_LINES_UPGRADE_SYNC_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_UPDATE_1099_AWT_DISTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_UPDATE_1099_AWT_DISTS_PKG, status:VALID,
-
PACKAGE: APPS.AP_DEBUG_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_LINES_UPGRADE_SYNC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_LINES_UPGRADE_SYNC_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_FUNDS_CONTROL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_FUNDS_CONTROL_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_XML_INVOICE_INBOUND_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_XML_INVOICE_INBOUND_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_XLA_UPGRADE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_XLA_UPGRADE_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_XLA_UPGRADE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_XLA_UPGRADE_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_LINES_UPGRADE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_LINES_UPGRADE_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_XML_INVOICE_INBOUND_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_XML_INVOICE_INBOUND_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_APPROVAL_MATCHED_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_APPROVAL_MATCHED_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_UTILITIES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_UTILITIES_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_UTILITIES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_UTILITIES_PKG, status:VALID,
-
PACKAGE BODY: APPS.PSA_AP_BC_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PSA_AP_BC_PVT, status:VALID,
-
PACKAGE BODY: APPS.AP_FUNDS_CONTROL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_FUNDS_CONTROL_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_APPROVAL_MATCHED_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_APPROVAL_MATCHED_PKG, status:VALID,
-
PACKAGE BODY: APPS.PSA_AP_BC_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PSA_AP_BC_PVT, status:VALID,
-
PACKAGE BODY: APPS.AP_APPROVAL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_APPROVAL_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_APPROVAL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_APPROVAL_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.AP_DEBUG_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_DEBUG_PKG
12.1.1
-
APPS.AP_APPROVAL_PKG dependencies on AP_DEBUG_PKG
12.1.1
-
APPS.PSA_AP_BC_PVT dependencies on AP_DEBUG_PKG
12.1.1
-
APPS.AP_LINES_UPGRADE_SYNC_PKG dependencies on AP_DEBUG_PKG
12.1.1
-
APPS.AP_UTILITIES_PKG dependencies on AP_DEBUG_PKG
12.1.1
-
APPS.AP_APPROVAL_MATCHED_PKG dependencies on AP_DEBUG_PKG
12.2.2
-
APPS.AP_FUNDS_CONTROL_PKG dependencies on AP_DEBUG_PKG
12.2.2
-
APPS.AP_XLA_UPGRADE_PKG dependencies on AP_DEBUG_PKG
12.1.1
-
APPS.AP_APPROVAL_MATCHED_PKG dependencies on AP_DEBUG_PKG
12.1.1
-
APPS.AP_DEBUG_PKG dependencies on AP_DEBUG_PKG
12.2.2
-
APPS.AP_UTILITIES_PKG dependencies on AP_DEBUG_PKG
12.2.2
-
APPS.AP_LINES_UPGRADE_SYNC_PKG dependencies on AP_DEBUG_PKG
12.2.2
-
APPS.AP_XLA_UPGRADE_PKG dependencies on AP_DEBUG_PKG
12.2.2
-
APPS.AP_APPROVAL_PKG dependencies on AP_DEBUG_PKG
12.2.2
-
APPS.AP_XLA_EVENTS_PKG dependencies on AP_DEBUG_PKG
12.2.2
-
APPS.AP_LINES_UPGRADE_PKG dependencies on AP_DEBUG_PKG
12.1.1
-
APPS.AP_FUNDS_CONTROL_PKG dependencies on AP_DEBUG_PKG
12.1.1