My Oracle Support Banner

ORA-01858: a non-numeric character was found where a numeric was expected Error Is Displayed in the Log File of GB XML Data Upload Process When Validating a P6 File Retrieved Online from HMRC (Doc ID 2998154.1)

Last updated on JANUARY 16, 2024

Applies to:

Oracle HRMS (UK) - Version 12.1 and later
Information in this document applies to any platform.


When trying to validate a P6 file retrieved online from HMRC (His Majesty's Revenue and Customs), the following error can be seen in the log file of the 'GB XML Data Upload' process.

ORACLE error 1858 in FDPSTP

Cause: FDPSTP failed due to ORA-01858: a non-numeric character was found where a numeric was expected
ORA-06512: at "APPS.PYUDET_DPS", line 4645

The issue can be reproduced at will with the following steps:
1. Under UK HRMS Responsibility or equivalent.
2. Navigate to HMRC Transactions > Retrieve Files from HMRC.
3. Select Data Type = P6 > Click on Retrieve XML.
4. Go to Search tab > Select Data Type = P6 and click Go.
5. Select the above retrieved P6 file and click on 'Validate'.
6. Go to View > Requests > Select All My Requests and click on Find button > Notice the following two concurrent requests:
    6.1. GB XML Data Upload to Interface Tables > Observe it is completed with Status=Normal.
    6.2. GB XML Data Upload > Observe it ends with an error and the Log (click on View Log button) shows the above error.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.