Search Results xdp_proc_body




Overview

The XDP_PROC_BODY table is a core repository within the Oracle E-Business Suite Provisioning (XDP) module. Its primary function is to store the source code for all user-defined procedures created within the provisioning framework. These procedures are critical business logic components that automate and orchestrate complex service fulfillment workflows. The table acts as a central library, enabling the XDP engine to dynamically execute custom logic for tasks such as parameter evaluation, work item routing, and service activation. Its existence is fundamental to the extensibility and customization of the provisioning process in both Oracle EBS 12.1.1 and 12.2.2.

Key Information Stored

The table's structure is designed to manage procedural code. The primary key column, PROC_NAME, uniquely identifies each stored procedure. While the provided metadata does not list all columns, the table's description confirms it stores the procedure "source." This implies the presence of at least one column, such as PROCEDURE_SOURCE or TEXT, containing the actual PL/SQL code block. The integrity of this data is enforced by the primary key constraint XDP_PROC_BODY_PK on PROC_NAME. The table also has a translated table, XDP_PROC_BODY_TL, which likely stores language-specific names or descriptions for the procedures.

Common Use Cases and Queries

This table is primarily accessed for development, debugging, and audit purposes within the XDP module. Common operational scenarios include reviewing the logic of a procedure referenced in a fulfillment action or validating parameters. A fundamental query retrieves the source code for a specific procedure, which is essential for troubleshooting failed workflows. For instance, to examine a procedure linked to a work item parameter evaluation, one would execute:

  • SELECT proc_name, procedure_source FROM xdp.xdp_proc_body WHERE proc_name = '&PROCEDURE_NAME';

Administrators may also run inventory queries to list all custom procedures or identify procedures referenced by specific configuration entities, aiding in impact analysis during upgrades or changes.

Related Objects

As indicated by its extensive foreign key relationships, XDP_PROC_BODY is a foundational object referenced by numerous configuration tables across the Provisioning module. Key dependent tables include:

These relationships demonstrate that the procedures stored in XDP_PROC_BODY drive critical decision points throughout the service fulfillment lifecycle.