cancel
Showing results for 
Search instead for 
Did you mean: 

Export and Import of Roles and Privileges

paul_abrahamson_sap
Active Participant
0 Kudos

Hi,

We're nearing the end of our development phase and are now preparing for initial load in our QA / Test environment.

Is there a way to export the Roles and Privilege metadata from one environment to import them into the other. The Staging guide states you need to create them before importing your Identity Stores. I was hoping we didn't need to do this as it's a time consuming task to create them manually.

Thanks

Paul

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

What I've seen is Business Role Export / Import functionality. It is pretty straight-forward to do, just export the Business Roles in a job (limit what to export in the source SQL) to a CSV-file, then read it back in to different environment in similar job.

When we were exporting the Business Roles we expored the privilege-references as MSKEYVALUEs not MSKEYs. Note how you have named your repositories in different environments (as you know the name of the MX_PRIVILEGE differs if your ERP repository in development is eg ERP100 and in Q/A ERP200), you may need to convert the privilege names accordingly in export or import.

One more thing you need to keep in mind is to pay attention whether your data has CR+LFs, which will break the CSV, we tackled this by encrypting/decrypting the data that had line feeds (DESCRIPTION-attribute).