Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Automated Role Copying, incl. Change of Authorization Object Value??

Dear all,

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.

Example:

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.

Thanks,

Jan

Former Member
Not what you were looking for? View more on this topic or Ask a question