HR_TREEBLD Runs to No Success with Error "'RPAD' is Not a Recognized Built-in Function Name..." (Doc ID 2073265.1)

Last updated on JUNE 21, 2017

Applies to:

PeopleSoft Enterprise HCM Human Resources - Version 9.2 to 9.2 [Release 9]
Information in this document applies to any platform.

Symptoms

HR_TREEBLD runs to No Success with error "'RPAD' is not a recognized built-in function name..."

The Process HR_TREEBLD runs to No Success with the following error:

ERROR

[SQL Server Native Client 11.0][SQL Server]'RPAD' is not a recognized built-in function name.
[Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near the keyword 'AND'.
[Microsoft][SQL Server Native Client 11.0][SQL Server]


STEPS

The issue can be reproduced at will with the following steps:
1. Log in to PIA
2. Navigate to Main Menu > Set Up HCM > Common Definitions > Org Chart Viewer > Tree Builder Run Control
3. Run the Process HR_TREEBLD



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