Hi Mohd,
The Best & fast way to achieve this is SECATT Script.
1.in the tcode recording Copy the role from Z original role and at authorization tab maintain the value in authorization object.
after creating Script run it with your values. let me know in case of any issues
Regards
Kiran.S