Search Results amw_load_ap_data
Overview
AMW_LOAD_AP_DATA is a PL/SQL package body owned by the APPS schema in Oracle E-Business Suite, catalogued under the ETRM (E-Business Suite Technical Reference Manual) with an API classification of OTHER. It forms part of the Audit Management Workbench (AMW) module, which provides the infrastructure for maintaining audit procedures, audit owners, and security privileges within the EBS environment. The package functions as a data-loading and setup utility: it migrates audit procedure definitions into the AMW interface tables and resolves the function and responsibility metadata required to secure and expose those audit procedures through the application's menu and security model.
The dependency list confirms that the package is a consumer rather than a provider of services — it is not referenced by any other database object. It depends on AMW_AP_INTERFACE, the AMW audit procedure base, translation, and view objects (AMW_AUDIT_PROCEDURES_B, _TL, _VL, _PVT), AMW_EMPLOYEES_CURRENT_V, and the AMW security and utility packages (AMW_SECURITY_PUB, AMW_UTILITY_PVT). On the technology-stack side it relies heavily on FND foundation APIs and views, including FND_API, FND_FILE, FND_GLOBAL, FND_MESSAGE, FND_MSG_PUB, FND_PROFILE, FND_FORM_FUNCTIONS, FND_COMPILED_MENU_FUNCTIONS, FND_RESPONSIBILITY, FND_RESP_FUNCTIONS, FND_USER, and FND_DATA_SECURITY.
Key Procedures and Functions
Four documented program units are exposed by the package:
- CREATE_AUDIT_PROCEDURES — The primary driver routine. It loads audit procedure records from the AMW interface staging table into the permanent AMW audit procedure tables, establishing the base and translated definitions used by the Audit Management Workbench.
- UPDATE_INTERFACE_WITH_ERROR — A controlled error-handling routine that writes validation or processing failures back to the AMW_AP_INTERFACE staging record, allowing rejected rows to be identified, corrected, and re-submitted rather than silently discarded.
- ADD_OWNER_PRIVILEGE — Grants ownership-level data security privileges in support of AMW security. It aligns with the package's use of FND_DATA_SECURITY and FND_USER to ensure that designated audit owners can access the procedures they are responsible for.
- CHECK_FUNCTION — A validation utility that verifies the existence and correctness of function definitions in FND_FORM_FUNCTIONS and FND_COMPILED_MENU_FUNCTIONS, typically before the package registers or updates menu-function associations.
Tables Accessed
The package reads and writes several categories of data. AMW_AP_INTERFACE acts as the inbound staging area for audit procedure loads, with error rows updated in place. AMW_AUDIT_PROCEDURES_B stores the base (untranslated) audit procedure definitions, while AMW_AUDIT_PROCEDURES_TL holds the language-specific translated name and description rows; the _VL view presents both. FND_COMPILED_MENU_FUNCTIONS, FND_FORM_FUNCTIONS, FND_RESPONSIBILITY, and FND_RESP_FUNCTIONS are consulted or updated to establish the function and responsibility mappings that expose audit procedures to the correct users and menus. FND_USER is referenced for owner and privilege resolution in conjunction with the ADD_OWNER_PRIVILEGE routine.
Usage Notes
AMW_LOAD_AP_DATA is an internal setup and administration package. It is not a public API and is not invoked by any other database object; instead it is executed through AMW setup forms, concurrent programs, or one-off SQL*Plus / custom wrapper scripts during implementation and data-migration activities. Typical invocations include loading audit procedures from external or legacy sources via AMW_AP_INTERFACE, bootstrapping audit owners and their privileges, and validating function metadata before menu entries are compiled. Because the package calls FND_FILE, output is generally directed to the concurrent manager log and output files. The presence of FND_MSG_PUB and FND_API indicates the standard EBS error-stack convention: callers should check the message stack after execution rather than relying solely on return codes, and any rows written to AMW_AP_INTERFACE with errors should be corrected and reprocessed.
-
PACKAGE BODY: APPS.AMW_LOAD_AP_DATA
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMW_LOAD_AP_DATA, status:VALID,
-
PACKAGE: APPS.AMW_LOAD_AP_DATA
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMW_LOAD_AP_DATA, status:VALID,
-
SYNONYM: APPS.AMW_AP_INTERFACE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_AP_INTERFACE, status:VALID,
-
PACKAGE: APPS.AMW_LOAD_AP_DATA
12.1.1
-
PACKAGE: APPS.AMW_AUDIT_PROCEDURES_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMW_AUDIT_PROCEDURES_PVT, status:VALID,
-
SYNONYM: APPS.AMW_AUDIT_PROCEDURES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_AUDIT_PROCEDURES_B, status:VALID,
-
SYNONYM: APPS.AMW_AUDIT_PROCEDURES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_AUDIT_PROCEDURES_TL, status:VALID,
-
PACKAGE: APPS.AMW_SECURITY_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMW_SECURITY_PUB, status:VALID,
-
SYNONYM: APPS.FND_RESP_FUNCTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_RESP_FUNCTIONS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.FND_COMPILED_MENU_FUNCTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_COMPILED_MENU_FUNCTIONS, status:VALID,
-
PACKAGE: APPS.FND_DATA_SECURITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_DATA_SECURITY, status:VALID,
-
PACKAGE: APPS.AMW_UTILITY_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMW_UTILITY_PVT, status:VALID,
-
VIEW: APPS.AMW_EMPLOYEES_CURRENT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMW.AMW_EMPLOYEES_CURRENT_V, object_name:AMW_EMPLOYEES_CURRENT_V, status:VALID,
-
VIEW: APPS.AMW_AUDIT_PROCEDURES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMW.AMW_AUDIT_PROCEDURES_VL, object_name:AMW_AUDIT_PROCEDURES_VL, status:VALID,
-
VIEW: APPS.AMW_AP_STEPS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMW.AMW_AP_STEPS_VL, object_name:AMW_AP_STEPS_VL, status:VALID,
-
SYNONYM: APPS.FND_FORM_FUNCTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_FORM_FUNCTIONS, status:VALID,
-
SYNONYM: APPS.FND_RESPONSIBILITY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_RESPONSIBILITY, status:VALID,
-
APPS.AMW_LOAD_AP_DATA dependencies on AMW_LOAD_AP_DATA
12.1.1
-
PACKAGE BODY: APPS.AMW_LOAD_AP_DATA
12.1.1
-
eTRM - AMW Tables and Views
12.1.1
description: This fact table stores the summary data related to the Significant Account Evaluation report ,
-
SYNONYM: APPS.FND_USER
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_USER, status:VALID,
-
PACKAGE: APPS.FND_FILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_FILE, status:VALID,
-
eTRM - AMW Tables and Views
12.1.1
description: This fact table stores the summary data related to the Significant Account Evaluation report ,
-
PACKAGE: APPS.FND_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,