Symptom
An issue is encountered during simulate AVC - Constraint in Migrate Your Data.
"Error in syntax check [Constraint]"
Message No. 00228
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Access the Migrate Your Data in SAP S/4HANA Cloud Public Edition.
- Upload migration template.
- Simulation fails with error 00228.
Cause
The issue is caused by comments in the Source Code field exceeding the maximum length limit.
The code line (string) is split after each line break indicator (CR_FL indicates a line break) into separate code lines with a maximum of 72 characters per line.
If there's a line break after character 72 of a code line, the code line is split. This may lead to syntax errors.
Resolution
Split the longest comment into two lines.
Refer to SAP Help Document AVC - Constraint | SAP Help Portal for more details on the maximum length for a code line in a migration object.
See Also
Keywords
SAP S/4HANA Cloud Public Edition, Migration Cockpit, Constraint Object, Upload, Syntax Error, Error 002 28, Code Source Field, Maximum Length Limit. , KBA , CA-GTF-MIG , SAP S/4HANA Data Migration Cockpit Content , CA-LT-MC , S/4HANA Migration Cockpit , LO-VCH-2CL , Advanced Variant Configuration (Public Cloud) , Problem