Thanks for your answer.
I use the code addon, this is my main problem at the moment, I've entrys in `am_attributes_to_templates` for the fields 'code_suffix' and 'suffix_sort_order', so AM_USE_ATTRIBUTE_CODE and AM_USE_ATTRIBUTE_CODE_SORT are both true in the config. I also noticed that a ID field (with unique value) is missing, so editing with phpmyadmin or mysql console is not possible. I'm not sure what happens if i just add a id field with auto increment id.
My main problem is if i load a saved template into an product the fields 'code_suffix' and 'suffix_sort_order' are not populated with the values from the db (from table `am_attributes_to_templates`). I mean the fields are just empty in the product editing page (categories.php). The template attributes are correct added to the product but just without the values from 'code_suffix' and 'suffix_sort_order', I've to update each by hand on each product to which I add saved attribute templates. I got no visible errors, I've tried to debug this, but I'm not a programmer, just doing this as a helper for a friend.