SAP Knowledge Base Article - Preview

3555866 - HANA Cloud: Scheduled CRON Job Fails with SQL Error 2048 "Could not read working days information from TFACS table"

Symptom

  • A custom procedure fails when scheduled with a CRON statement:
    CREATE SCHEDULER JOB "<source_schema>"."<Cron_Job_Name>" CRON '* * * * xx xx x' ENABLE PROCEDURE "<source_schema>"."<Procedure_Name>"

  • It runs successfully with a simple CALL statement:
    CALL "<source_schema>"."<Procedure_Name>"()

  • This custom procedure will call at some stage ADD_WORKDAYS() function.

  • Complete error message:
    SQL error 2048: column store error: "<source_schema>"."<Procedure_Name>": line xx col x (at pos 1353): xxxxxx: exception 334060: Could not read working days information from TFACS table ""<source_schema>_<Object_Name>_RT"."TFACS" - invalid table name:  Could not find table/view TFACS in schema 


Read more...

Environment

SAP HANA Cloud

Product

SAP HANA Cloud all versions

Keywords

HANA Cloud, SQL error 2048, column store error, TFACS table, invalid table name, schema, scheduler job, CURRENT_OBJECT_SCHEMA(), ADD_WORKDAYS function, procedure, CRON statement, CALL statement. , KBA , HAN-CLS-HC , HANA Cloud Services HANA Cloud , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.