SAP Knowledge Base Article - Preview

3034005 - Loading RAW to CHAR leads to various errors in the HANA runtime


The update of the content of a RAW field to a CHAR field or the activation/execution of the DTP/TRFN fails with one of the following errors:

  • inserted value too large for column: TrexColumnUpdate failed on table '&1' with error: AttributeEngine: indexed value not within specified range;checkCesu8StringColumn(): max length (XX) violated on pos 0, value='<VALUE>';column 'FIELD1', table '&1, rc=6959 
  • calculationNode(0BW_TGT_INFOPROV_1.INPUT.CONV.PROJ.FORMULA) -> attributes -> attribute (<Target-Field>$TMP) -> expression: Expression is not valid: Evaluator: type error inexpression evaluator;string([here]rawtohex("<Target-Field>"))
  • Fatal error: internal error returned Exception CX_RSDHA_MSG logged
  • Expression is not valid: Evaluator: type error in expression evaluator;string([here]rawtohex("<Source-Field>"))
  • Initial RAW values are loaded, and in ABAP runtime it produces 0-s but in HANA runtime the target field contains initial characters (spaces)





SAP BW/4HANA all versions


BINTOHEX, RAWTOHEX, TO_VARCHAR, TO_NVARCHAR, length, data transfer process, hana runtime, formula, formel, , KBA , BW4-DM-TRFN , SAP HANA execution in Transformation and DTP , BW4-DM-DTP , ABAP Orchestration of Data Transfer Process , 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.