Automated Role Copying, incl. Change of Authorization Object Value??
Due to special restrictions within our authorization concept, I am forced to copy certain roles again & again, making only small changes to certain authorization object values.
We have the role Z:SAP_SUPPDESK_PROCESS.
- this must be copied to Z:SAP_SUPPDESK_PROCESS_PRJ_A with Authorization Object S_PROJECT-PROJECT_ID = PRJ_A
- it will then be copied to Z:SAP_SUPPDESK_PROCESS_PRJ_B with Authorization Object S_PROJECT-PROJECT_ID = PRJ_B
- next will be copied to Z:SAP_SUPPDESK_PROCESS_PRJ_C with Authorization Object S_PROJECT-PROJECT_ID = PRJ_C
- (guess what's next....)
This must be applied to at least 10 roles, at most to 40 roles...so I'm looking for help.
Is there any way to automate that?
Either internally (transaction, ABAP, Bapi/BaDI) or externally (Java, VB, C++)?
Doing it manually is simply a pain and will result in errors.
Any hints are welcome.