SAP - S_TCODE object to many roles
If your system has complex roles on PFCG tcode and if you want to add a Tcode ( or any authorization object ) to many roles , you dont need to add it to roles one by one.
You can use PFCGMASSVAL t-code for it.

1- Write your role names here
2- Click "Direct Execution" . ( or you can click simulation first for check all roles )
3- Write your authorization object for adding values to role
4- Add your values
5- Run program
note : If you want to add new authentication object to role, you have to select " Add Manuel Authorizations for an Object"

Please don't forget to click on "Generate Profiles". And if you want to transport those roles to another system, please use truck button :)