Serial Number Change Error ORA-06502 Because OF String Conversion on ATTRIBUTE_VALUE Parameter (Doc ID 2123541.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Complex Maintenance, Repair, & Overhaul - Version 12.2 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.4 version, Production Planning

When attempting to use FUNCTION get_serialtag_code from package AHL_PRD_SERN_CHANGE_PVT, the sql errors out with below error:

ERROR:

=======

ORA-06502: PL/SQL: numeric or value error: character string buffer too small

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms