SAP Knowledge Base Article - Preview

2295187 - ABAP Import failed with: ERROR: unknown template variable "crestm"

Symptom

During ABAP import phase of new system (IDES) installation, standard system copy - or Unicode migration - using SAPIinst (SWPM, SAP Note 1680045) with R3load based system copy option the package load fails with the following error, which can be found in the package-logs, (../<sapinst_instdir>/../<SAPTABART>.log):

Example for kernel release 745 with ASE DB:

(BLD) INFO: sccsid "@(#) $Id: //bas/745_STACK/src/R3ld/R3load/R3ldmain.c#4 $ SAP"
(BLD) INFO: kernel release 745 [UNICODE]
(BLD) INFO: data format 1.8
(BLD) INFO: patch number 201
(BLD) INFO: compiled on "Jul 9 2016 14:25:28"
(PRC) INFO: working directory "/<path of sapinst_instdir>/<Release/Product>/ABAP"
(PRC) INFO: called "\usr\sap\<SID>\SYS\exe\uc\<OS-type>\R3load -ctf I \<Export dump path>\DATA_UNITS\EXPORT_1\DATA\<SAPTABART>.STR <path of sapinst_instdir>/<Release/Product>/ABAP/DDLSYB.TPL <SAPTABART>.TSK <DB type> -l <SAPTABART>.(LOG) INFO: log level: 1
(LOG) INFO: log format: classic
(TPL) ERROR: unknown template variable "crestm"
(TPL) ERROR: at line 26 in file "/<path of sapinst_instdir>/<Release/Product>/ABAP/ABAP/DDLSYB.TPL
(TPL) ERROR: does R3ldctl and R3load have different patch levels? (R3load: kernel 745 patch number 201)

Example for kernel  release 753 with Oracle DB:

(GEN) INFO: KERNEL: release 753, code page [UNICODE]
(GEN) INFO: Compile time "May 2 2018 21:37:56", sccsid "@(#) $Id: //bc/lmt_021_REL/src/upg/R3ld/R3load/R3ldmain.c#3 $ SAP"
(GEN) INFO: FORMAT: data 1.14, logging "classic", log level: 4
(GEN) INFO: ====================================================
(GEN) INFO: PROCENV: working directory "\usr\sap\<SID>\SYS\exe\uc\<OS-type>", process id <id>
(GEN) INFO: CMDLINE: "\usr\sap\<SID>\SYS\exe\uc\<OS-type>\R3load.exe -i SAPAPPL0_7.cmd -dbcodepage 4103 -l <package>.log -stop_on_error -loadprocedure fast -merge_bck"
...
(TPL) INFO: Template '\usr\sap\<SID>\SYS\exe\uc\<OS-type>\DDLORA_LRG.TPL' has version 0.
(TPL) WARNING: Added 4 missing template variables.
(TPL) WARNING: Repaired syntactically wrong template section 'crepky'!
(GEN) INFO: ====================================================
(DMP) INFO: Memory usage (buffer only): 40 MB
(GEN) ERROR: (TPL) Unknown template variable 'crestm'
(GEN) ERROR: (TPL) Error validating template section 'crefunc'


Read more...

Environment

New system (IDES) installation, standard system copy - or Unicode migration of the system based on NetWeaver 7.0 and higher with any DB.

Product

SAP NetWeaver 7.0 ; SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

Repaired syntactically wrong template section 'crepky', Unknown template variable 'crestm', Error validating template section 'crefunc', crestm& , KBA , BC-INS-MIG-TLA , R3load, R3ldctl, R3szchk , XX-IDES , IDES , Problem

About this page

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

Search for additional results

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