You can only set a deletion indicator and later you can archive the customer.
Use the transaction DB15 to find a suitable archiving object for KNVK table.
the function module is only to be used in case of SAP online store and Internet sales, see OSS note 1826993 for details