Create an automatic profile generator with ABAP

Hello , 
I need to create a programme in the sap system. Here is the detail: 

The programme should process the user profiles automatically.
it fetches all used transactions and checks which transaction was used in the last 3 months.
The programme takes these transactions of the user and deletes the unused transactions. All this information is stored in a table. Based on this information, the transactions used are summarised in a profile. This profile is assigned directly to the user. At the end, the user receives a message that they have received a new profile.
Do you have any Idea , how to do that ? 

Thanks 

Scroll to Top