SAP Message 01345 - Function cannot be run for generated authorizations

Diagnosis
The authorization you selected was created by generating theauthorization profile for a role. Therefore, direct activation ofgenerated authorizations in transaction SU03 is not possible.

Procedure
If you want to activate generated authorizations, you must regeneratethe profile for the associated role in transaction PFCG.