Found it.
You have to add a parameter called $key in the $importEntity function.
$key (boolean or string): set or unset key property for field. If set to the name of a HANA sequence then that sequence is used to generate new key values for new entity instances. Optional.
See: