Symptom

The message "Invalid token length encountered" may be reported in the SAP Replication Server log when a stored procedure is compiled with string values more bigger than Rep. Server can support. This would require to split the store procedure.