Search Results zpb_aw
Overview
ZPB_AW is a PL/SQL wrapper package owned by the APPS schema that encapsulates interaction with Oracle's OLAP Analytic Workspace (AW) engine through the DBMS_AW built-in package. Rather than allowing custom code to invoke DBMS_AW directly, the E-Business Suite exposes ZPB_AW as a controlled interface that standardizes logging, error handling, workspace initialization, and name resolution for the Advanced Planning / Demand Planning (ZPB) product family. The package body carries a header version of zpbaw.plb 120.14 dated December 2007, consistent with the 12.1.1 code line, and is consumed broadly across the application tier — the ETRM metadata records it as referenced by 27 other packages, indicating it is a foundational utility rather than an end-user entry point.
Key Procedures and Functions
The package exposes 17 documented procedures and functions grouped by functional area:
- Command execution: EXECUTE submits a raw AW command string to DBMS_AW with statement-level FND_LOG tracing. INTERP and INTERPBOOL execute a command and capture the textual or boolean response; INTERP is flagged in source comments as deprecated in favor of the evaluator functions below.
- Expression evaluation: EVAL_TEXT and EVAL_NUMBER evaluate AW expressions and return typed results, replacing the older INTERP-based pattern.
- Workspace lifecycle: INITIALIZE, INITIALIZE_FOR_AC, and INITIALIZE_USER establish the AW session context for generic, analysis-cycle, and user-specific scenarios respectively. DETACH_ALL releases every attached workspace, and CLEAN_WORKSPACE removes residual session state. GET_SCHEMA resolves the operative schema name.
- Metadata retrieval: GET_ANNOTATION_AW, GET_CODE_AW, GET_PERSONAL_AW, and GET_SHARED_AW return the appropriate Analytic Workspace to use for a given context — annotation, code (shared), personal, or generic shared usage. GET_AW_SHORT_NAME and GET_AW_TINY_NAME produce the truncated naming variants required by AW limits.
The user's search term, GET_SHARED_AW, therefore refers to the resolver that returns the shared AW designation used when no user-personal workspace applies — typically the Analysis Cycle or business-area-level workspace.
Tables Accessed
Resolution logic depends on several registration and configuration tables accessed through APPS synonyms: FND_USER identifies the current session user; ZPB_USERS and ZPB_BUSINESS_AREAS map users to planning business areas; ZPB_ANALYSIS_CYCLES ties a cycle to its workspace; and FND_APPLICATION, FND_ORACLE_USERID, and FND_PRODUCT_INSTALLATIONS provide application registration and schema-to-Oracle-user context. DBMS_AW and DBMS_LOB are invoked directly rather than read as tables.
Usage Notes
ZPB_AW is normally called from PL/SQL inside ZPB planning packages and concurrent programs, not from user-facing forms directly. Calls occur at session startup (INITIALIZE variants), before each AW command batch (workspace resolution and DETACH_ALL), and during expression evaluation. Because tracing routes through FND_LOG at statement level, DBAs can raise the runtime log level to capture all generated AW commands. Customizations should follow the documented pattern: initialize, resolve the correct workspace via the GET_*_AW family, execute commands, then clean up. Direct DBMS_AW calls bypass the logging and schema resolution provided here and are discouraged.
-
SYNONYM: APPS.ZPB_USERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ZPB_USERS, status:VALID,
-
PACKAGE BODY: APPS.ZPB_AW
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_AW, status:VALID,
-
SYNONYM: APPS.ZPB_BUSINESS_AREAS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ZPB_BUSINESS_AREAS, status:VALID,
-
PACKAGE: APPS.ZPB_AW
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ZPB_AW, status:VALID,
-
PACKAGE BODY: APPS.ZPB_ECM
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_ECM, status:VALID,
-
PACKAGE BODY: APPS.ZPB_EXCH_RATES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_EXCH_RATES, status:VALID,
-
PACKAGE BODY: APPS.ZPB_GEN_PHYS_MODEL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_GEN_PHYS_MODEL, status:VALID,
-
PACKAGE BODY: APPS.ZPB_DATA_LOAD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_DATA_LOAD, status:VALID,
-
PACKAGE BODY: APPS.ZPB_OPENSQL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_OPENSQL_PKG, status:VALID,
-
PACKAGE BODY: APPS.ZPB_METADATA_NAMES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_METADATA_NAMES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.ZPB_SECURITY_CONTEXT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ZPB_SECURITY_CONTEXT, status:VALID,
-
PACKAGE BODY: APPS.ZPB_SECURITY_CONTEXT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_SECURITY_CONTEXT, status:VALID,
-
PACKAGE BODY: APPS.ZPB_AW_STATUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_AW_STATUS, status:VALID,
-
PACKAGE: APPS.ZPB_ERROR_HANDLER
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ZPB_ERROR_HANDLER, status:VALID,
-
PACKAGE BODY: APPS.ZPB_SECURITY_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_SECURITY_UTIL_PVT, status:VALID,
-
PACKAGE BODY: APPS.ZPB_EXTERNAL_BP_PUBLISH
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_EXTERNAL_BP_PUBLISH, status:VALID,
-
PACKAGE BODY: APPS.ZPB_EXCP_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_EXCP_PVT, status:VALID,
-
PACKAGE BODY: APPS.ZPB_OLAP_VIEWS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_OLAP_VIEWS_PKG, status:VALID,
-
PACKAGE BODY: APPS.ZPB_DVAC_WF
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_DVAC_WF, status:VALID,
-
PACKAGE BODY: APPS.ZPB_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_UTIL_PVT, status:VALID,
-
PACKAGE BODY: APPS.ZPB_DATA_COLLECTION_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_DATA_COLLECTION_UTIL_PVT, status:VALID,
-
PACKAGE BODY: APPS.ZPB_DC_DISTRIBUTE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_DC_DISTRIBUTE, status:VALID,
-
PACKAGE BODY: APPS.ZPB_DEBUG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_DEBUG, status:INVALID,
-
PACKAGE BODY: APPS.ZPB_SOLVE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_SOLVE, status:VALID,
-
SYNONYM: APPS.ZPB_ANALYSIS_CYCLES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ZPB_ANALYSIS_CYCLES, status:VALID,
-
PACKAGE BODY: APPS.ZPB_ACVAL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_ACVAL_PVT, status:VALID,
-
PACKAGE BODY: APPS.ZPB_PERSONAL_AW
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_PERSONAL_AW, status:VALID,
-
PACKAGE BODY: APPS.ZPB_DC_OBJECTS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_DC_OBJECTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.ZPB_AW_WRITE_BACK
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_AW_WRITE_BACK, status:VALID,
-
PACKAGE BODY: APPS.ZPB_METADATA_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_METADATA_PKG, status:VALID,
-
VIEW: APPS.ZPB_CURRENT_USER_V
12.1.1
owner:APPS, object_type:VIEW, object_name:ZPB_CURRENT_USER_V, status:VALID,
-
PACKAGE: APPS.ZPB_LOG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ZPB_LOG, status:VALID,
-
PACKAGE BODY: APPS.ZPB_DHMINTERFACE_GRP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_DHMINTERFACE_GRP, status:VALID,
-
PACKAGE BODY: APPS.ZPB_WF
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_WF, status:VALID,
-
PACKAGE BODY: APPS.ZPB_BUSAREA_VAL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_BUSAREA_VAL, status:VALID,
-
SYNONYM: PUBLIC.DBMS_AW
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_AW, status:VALID,
-
PACKAGE BODY: APPS.ZPB_BUSAREA_MAINT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZPB_BUSAREA_MAINT, status:INVALID,
-
PACKAGE: APPS.ZPB_AW
12.1.1
-
SYNONYM: APPS.FND_PRODUCT_INSTALLATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_PRODUCT_INSTALLATIONS, status:VALID,
-
SYNONYM: APPS.FND_ORACLE_USERID
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_ORACLE_USERID, status:VALID,
-
PACKAGE BODY: APPS.ZPB_AW
12.1.1
-
APPS.ZPB_SECURITY_CONTEXT dependencies on ZPB_AW
12.1.1
-
APPS.ZPB_AW_STATUS dependencies on ZPB_AW
12.1.1
-
APPS.ZPB_UTIL_PVT dependencies on ZPB_AW
12.1.1
-
APPS.ZPB_METADATA_PKG dependencies on ZPB_AW
12.1.1
-
APPS.ZPB_DC_DISTRIBUTE dependencies on ZPB_AW
12.1.1
-
APPS.ZPB_WF dependencies on ZPB_AW
12.1.1
-
APPS.ZPB_DATA_COLLECTION_UTIL_PVT dependencies on ZPB_AW
12.1.1