Search Results utl_raw
Overview
SYS.UTL_RAW is a core Oracle-supplied PL/SQL package that provides primitive operations for manipulating and converting binary data stored in the RAW datatype. It forms part of the STANDARD-adjacent utility layer bundled with the Oracle database kernel and is present in every Oracle E-Business Suite instance regardless of module footprint. In the context of Oracle EBS 12.1.1 and 12.2.2, UTL_RAW underpins the way the application tier serializes, hashes, encrypts, and transports binary payloads — for example in FND_GFM file attachments, XML Gateway message blobs, and the encryption routines used by Applications Security. The package body is owned by SYS and carries a VALID status in the ETRM inventory for 12.2.2, confirming that the compiled body is intact and available to dependent code. Because this object is a package body referencing SYS, STANDARD, and the UTL_RAW specification itself, it represents the implementation layer of the public UTL_RAW API rather than an EBS-specific customization. No customer-specific logic should ever be placed inside it, and it must not be modified under any circumstances, as recompilation or patching by Oracle would overwrite any non-standard changes.
Key Procedures and Functions
The ETRM documentation records 26 procedures and functions for this package, of which the following are explicitly catalogued. Conversion routines include CAST_TO_RAW, CAST_TO_VARCHAR2, CAST_TO_NVARCHAR2, CAST_TO_NUMBER, and CAST_FROM_NUMBER, which translate values between RAW bytes and other datatypes without character-set interpretation. String-oriented operations include CONCAT for byte concatenation, LENGTH for byte-length determination, SUBSTR for byte-range extraction, TRANSLATE and TRANSLITERATE for byte-set substitution and deletion, OVERLAY for in-place byte replacement, COPIES for repetition, REVERSE for byte-order inversion, and XRANGE for generating a range of RAW values. COMPARE performs ordinal comparison of two RAW values. CONVERT handles character-set conversion of RAW input. Bitwise operations — BIT_AND, BIT_OR, BIT_XOR, and BIT_COMPLEMENT — manipulate the binary content of RAW values directly, which is essential for cryptographic and encoding workloads inside EBS. Together these procedures constitute the complete documented surface of the package body.
Tables Accessed
The documented metadata for SYS.UTL_RAW lists no table references. This is consistent with the package's role: it is a pure computational utility that operates entirely on its input arguments and returns derived values, performing no DML against application or database tables. The metadata also records that UTL_RAW is not referenced by any other database object in the dependency graph, although the 12.2.2 documentation notes that it is referenced by 203 other packages in practice across the EBS schema. No APPS synonyms tables are listed as accessed by this object.
Usage Notes
UTL_RAW is invoked indirectly rather than through EBS forms or concurrent programs directly. It is the underlying engine for higher-level packages such as DBMS_CRYPTO, DBMS_OBFUSCATION_TOOLKIT, and numerous Oracle Applications APIs that must manipulate binary attachment data, Oracle XML Publisher blobs, and encrypted passwords. Custom EBS development frequently calls UTL_RAW.CAST_TO_RAW and CAST_TO_VARCHAR2 when converting between VARCHAR2 and RAW for hash key generation. Execute privileges are typically granted to PUBLIC by Oracle, so custom code can call the package without additional grants. Because it is a SYS-owned, kernel-level package, it should be treated as read-only infrastructure — never wrapped, altered, or subclassed — and any reliance on it in custom EBS code should be documented against the database version, as behavior is stable across 12.1.1 and 12.2.2.
-
PACKAGE BODY: SYS.UTL_RAW
12.1.1
owner:SYS, object_type:PACKAGE BODY, object_name:UTL_RAW, status:VALID,
-
PACKAGE BODY: SYS.UTL_RAW
12.2.2
owner:SYS, object_type:PACKAGE BODY, object_name:UTL_RAW, status:VALID,
-
PACKAGE BODY: APPS.PAY_CA_DIRECT_DEPOSIT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_CA_DIRECT_DEPOSIT_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_CA_DIRECT_DEPOSIT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_CA_DIRECT_DEPOSIT_PKG, status:VALID,
-
PACKAGE BODY: APPS.BISM_CORE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BISM_CORE, status:VALID,
-
PACKAGE BODY: APPS.PAY_NO_PAYPROC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_NO_PAYPROC, status:VALID,
-
PACKAGE BODY: APPS.BISM_CORE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BISM_CORE, status:VALID,
-
PACKAGE BODY: APPS.PAY_CA_RL2_MAG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_CA_RL2_MAG, status:VALID,
-
PACKAGE BODY: APPS.PERFRPHR
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PERFRPHR, status:VALID,
-
PACKAGE BODY: APPS.PAY_CA_RL1_MAG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_CA_RL1_MAG, status:VALID,
-
PACKAGE BODY: APPS.PAY_CA_RL2_CAN_MAG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_CA_RL2_CAN_MAG, status:VALID,
-
PACKAGE BODY: APPS.PAY_CA_RL2_MAG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_CA_RL2_MAG, status:VALID,
-
PACKAGE BODY: APPS.PERFRPHR
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PERFRPHR, status:VALID,
-
PACKAGE BODY: APPS.CZ_LOGIC_GEN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CZ_LOGIC_GEN, status:VALID,
-
PACKAGE BODY: APPS.PAY_CA_RL1_MAG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_CA_RL1_MAG, status:VALID,
-
PACKAGE BODY: APPS.CZ_LOGIC_GEN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CZ_LOGIC_GEN, status:VALID,
-
PACKAGE BODY: APPS.PAY_PAYMENT_XML_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PAYMENT_XML_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_PAYMENT_XML_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PAYMENT_XML_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_CA_RL1_CAN_MAG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_CA_RL1_CAN_MAG, status:VALID,
-
TYPE BODY: SYS.DBMS_XA_XID
12.1.1
owner:SYS, object_type:TYPE BODY, object_name:DBMS_XA_XID, status:VALID,
-
TYPE BODY: SYS.DBMS_XA_XID
12.2.2
owner:SYS, object_type:TYPE BODY, object_name:DBMS_XA_XID, status:VALID,
-
TRIGGER: MGDSYS.MGD_IDENCODING_COMP_TRIGGER
12.1.1
owner:MGDSYS, object_type:TRIGGER, object_name:MGD_IDENCODING_COMP_TRIGGER, status:VALID,
-
TYPE BODY: SYS.MVAGGRAWBITOR_TYP
12.1.1
owner:SYS, object_type:TYPE BODY, object_name:MVAGGRAWBITOR_TYP, status:VALID,
-
PACKAGE BODY: APPS.OKS_BASE64
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_BASE64, status:VALID,
-
TYPE BODY: SYS.MVAGGRAWBITOR_TYP
12.2.2
owner:SYS, object_type:TYPE BODY, object_name:MVAGGRAWBITOR_TYP, status:VALID,
-
TRIGGER: MGDSYS.MGD_IDENCODING_COMP_TRIGGER
12.2.2
owner:MGDSYS, object_type:TRIGGER, object_name:MGD_IDENCODING_COMP_TRIGGER, status:VALID,
-
PACKAGE: SYS.DBMS_XA
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_XA, status:VALID,
-
PACKAGE BODY: APPS.FND_RANDOM_NUMBER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FND_RANDOM_NUMBER, status:VALID,
-
TYPE BODY: MGDSYS.MGD_EPCTYPE
12.1.1
owner:MGDSYS, object_type:TYPE BODY, object_name:MGD_EPCTYPE, status:VALID,
-
PACKAGE: SYS.DBMS_XA
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_XA, status:VALID,
-
PACKAGE BODY: MGDSYS.MGD_IDCODE_UTL
12.2.2
owner:MGDSYS, object_type:PACKAGE BODY, object_name:MGD_IDCODE_UTL, status:VALID,
-
PACKAGE BODY: APPS.OKS_BASE64
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_BASE64, status:VALID,
-
TYPE BODY: MGDSYS.MGD_IDCODE
12.2.2
owner:MGDSYS, object_type:TYPE BODY, object_name:MGD_IDCODE, status:VALID,
-
PACKAGE BODY: SSOSDK.WWUTL_HTF
12.1.1
owner:SSOSDK, object_type:PACKAGE BODY, object_name:WWUTL_HTF, status:VALID,
-
PACKAGE BODY: MGDSYS.MGD_IDCODE_UTL
12.1.1
owner:MGDSYS, object_type:PACKAGE BODY, object_name:MGD_IDCODE_UTL, status:VALID,
-
TYPE BODY: MGDSYS.MGD_IDCODE
12.1.1
owner:MGDSYS, object_type:TYPE BODY, object_name:MGD_IDCODE, status:VALID,
-
PACKAGE BODY: SYS.UTL_I18N
12.1.1
owner:SYS, object_type:PACKAGE BODY, object_name:UTL_I18N, status:VALID,
-
PACKAGE BODY: APPS.CZ_FCE_COMPILE_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CZ_FCE_COMPILE_UTILS, status:VALID,
-
PACKAGE BODY: SYS.DBMS_OBFUSCATION_TOOLKIT
12.2.2
owner:SYS, object_type:PACKAGE BODY, object_name:DBMS_OBFUSCATION_TOOLKIT, status:VALID,
-
PACKAGE: SYS.UTL_RAW
12.2.2
owner:SYS, object_type:PACKAGE, object_name:UTL_RAW, status:VALID,
-
PACKAGE: APPS.CZ_FCE_COMPILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CZ_FCE_COMPILE, status:VALID,
-
PACKAGE BODY: APPS.FND_OAM_METALINK_CREDS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FND_OAM_METALINK_CREDS, status:VALID,
-
PACKAGE BODY: APPS.FND_HTTP_TICKET
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FND_HTTP_TICKET, status:VALID,
-
PACKAGE BODY: SYS.UTL_HTTP
12.2.2
owner:SYS, object_type:PACKAGE BODY, object_name:UTL_HTTP, status:VALID,
-
TYPE BODY: MGDSYS.MGD_EPCTYPE
12.2.2
owner:MGDSYS, object_type:TYPE BODY, object_name:MGD_EPCTYPE, status:VALID,
-
PACKAGE BODY: APPS.FND_OAM_METALINK_CREDS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FND_OAM_METALINK_CREDS, status:VALID,
-
PACKAGE BODY: APPS.HR_XML_PUB_UTILITY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_XML_PUB_UTILITY, status:VALID,
-
PACKAGE: APPS.CZ_FCE_COMPILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CZ_FCE_COMPILE, status:VALID,
-
PACKAGE BODY: SYS.UTL_I18N
12.2.2
owner:SYS, object_type:PACKAGE BODY, object_name:UTL_I18N, status:VALID,
-
PACKAGE BODY: ORDPLUGINS.ORDX_HTTP_SOURCE
12.1.1
owner:ORDPLUGINS, object_type:PACKAGE BODY, object_name:ORDX_HTTP_SOURCE, status:VALID,