Search Results create_tups_pacakge
Overview
BEN_DM_GEN_SELF_REF is an Oracle EBS Advanced Benefits (OLTP/Release 12) data-migration utility package owned by the APPS schema. Its name and header comment, both referencing create_tups_pacakge and the migration identifier parameters, indicate that it belongs to the Benefits data-migration (DM) framework used to convert legacy benefits data into the Oracle Benefits tables. The package operates with AUTHID CURRENT_USER, meaning that privilege resolution occurs under the invoking schema rather than the definer, which is typical of migration/install-time utilities that must read and write metadata and target tables on behalf of a migration process.
The specific responsibility of BEN_DM_GEN_SELF_REF is to generate and process self-referencing row structures within the Benefits migration engine. In benefits conversion, many objects reference themselves — for example, hierarchical relationships where a row must be linked to another row in the same table, or validation/self-reference constructs required before the migration can complete. The package uses the Benefits data-migration metadata to identify these column mappings and hierarchy definitions and then constructs the required self-referencing tuples dynamically.
Key Procedures and Functions
The documented interface exposes a single procedure:
- MAIN — the sole public entry point of BEN_DM_GEN_SELF_REF. It is annotated in the source header with the comment create_tups_pacakge. As documented, MAIN is intended to be invoked with a business group identifier and a migration identifier, which scope the operation to a specific business group and a specific migration run. The procedure drives the generation/processing of self-referencing data for the migration identified by those parameters. No further parameter details are documented, and none should be assumed beyond the two identifiers indicated by the package source.
No additional public functions or procedures are documented for this package, and it is not documented as being referenced by any other packages, indicating that it is normally called directly by the migration framework or by operators rather than as a subordinate library routine.
Tables Accessed
The package works against the Benefits data-migration metadata tables (accessed through APPS synonyms), which supply the definitions needed to build self-referencing data:
- BEN_DM_COLUMN_MAPPINGS — defines the column-level mappings for each migration object, including the self-reference columns that the package must populate.
- BEN_DM_TABLES — the registry of target tables participating in the migration; used to resolve which table each self-referencing rule applies to.
- BEN_DM_HIERARCHIES — describes hierarchical/parent-child relationships among migration objects, which drive where a row must reference another row in the same or a related structure.
- HR_DM_TABLES — the shared HR/Benefits data-migration table registry, providing the common metadata that the Benefits layer extends.
- DBMS_SQL — the Oracle-supplied dynamic SQL package, used to construct and execute the SQL statements generated from the metadata (essential because self-reference logic must be built at runtime from mapping definitions).
- PLITBLM — an Oracle-supplied PL/SQL table/library utility used for internal array handling during processing.
Usage Notes
BEN_DM_GEN_SELF_REF is a migration-time utility, not a runtime benefits API. It is not documented as being invoked by any other package, so it is normally called from the Benefits data-migration concurrent program flow or from custom conversion scripts after the standard Benefits migration has loaded the primary rows and the self-referencing relationships must be resolved. The MAIN procedure should be called with the intended business group and migration identifier, and it will use CURRENT_USER privileges, so the calling schema must be granted the necessary access to the metadata tables. Its use is confined to migration and implementation projects; it should not be invoked against production data outside a controlled migration. Because the documented metadata is limited, the exact trigger environment should be confirmed against the specific 12.1.1/12.2.2 patch level in the customer instance.
-
PACKAGE: APPS.BEN_DM_GEN_SELF_REF
12.2.2
-
PACKAGE: APPS.HR_DM_GEN_TUPS
12.2.2
-
PACKAGE: APPS.BEN_DM_GEN_SELF_REF
12.1.1
-
PACKAGE: APPS.HR_DM_GEN_TUPS
12.1.1
-
PACKAGE: APPS.BEN_DM_GEN_UPLOAD
12.1.1
-
PACKAGE: APPS.BEN_DM_GEN_UPLOAD
12.2.2
-
APPS.HR_DM_GEN_TUPS dependencies on HR_DM_LIBRARY
12.1.1
-
APPS.HR_DM_GEN_TUPS dependencies on HR_DM_LIBRARY
12.2.2
-
APPS.HR_DM_GEN_TUPS dependencies on HR_DM_GEN_MAIN
12.2.2
-
APPS.HR_DM_GEN_TUPS dependencies on HR_DM_GEN_MAIN
12.1.1
-
PACKAGE BODY: APPS.HR_DM_GEN_TUPS
12.2.2
-
PACKAGE BODY: APPS.HR_DM_GEN_TUPS
12.1.1
-
APPS.HR_DM_GEN_TUPS dependencies on HR_DM_GEN_MAIN
12.1.1
-
APPS.HR_DM_GEN_TUPS dependencies on HR_DM_GEN_TUPS
12.1.1
-
APPS.HR_DM_GEN_TUPS dependencies on HR_DM_GEN_MAIN
12.2.2
-
APPS.HR_DM_GEN_TUPS dependencies on HR_DM_GEN_TUPS
12.2.2
-
APPS.HR_DM_GEN_TUPS dependencies on HR_DM_LIBRARY
12.1.1
-
APPS.HR_DM_GEN_TUPS dependencies on HR_DM_LIBRARY
12.2.2
-
APPS.HR_DM_GEN_TUPS dependencies on HR_DM_UTILITY
12.2.2
-
APPS.HR_DM_GEN_TUPS dependencies on HR_DM_UTILITY
12.1.1