3 weeks ago
Hello,
One of power user requested that How to know or view who holds Private versions in SAC planning Model.
As developer, I can see users list at Model preference level >Planning > Delete Private versions.
How to provide authorization to user to view the Private versions user list for above property. I am not looking to view the private versions data to view at Story level.
I shared Model to user so he able to view Model level preferences but unable to view the private versions. For user the Delete Private versions are grey-out. I didn't see any property at role level to configure Model preferences or Private versions.
Is any other way to view power user that who holds the private versions in the system.
Regards,
Vasu
Request clarification before answering.
Hey @Vasu_Sac ,
Depending on what you need, there are several ways to get the private versions.
If you want to know where / how many private versions exist, you can go to
System -> Performance -> Private versions statisics & analysis
That should hold all the information you need 🙂
However, if you have some kind of cockpit, or need to analyze something in a story you can use the Javascript API.
Lets say, for example, you have a story integrated into your calendar, that a manager uses to check their budget before approving a task.
However, you want to flash a warning, if there is still unpublished data.
Assume the report uses a table, called Table_1, then the below code will return an array with all the private versions:
var privateVersions = Table_1.getPlanning().getPrivateVersions();
if (privateVersions.length === 0) {
// No private data! Yay :)
} else {
for (var i = 0; i < privateVersions.length; i++) {
//Some logic in here that fits your requirements.
}
Hope that helps 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe you can find some information from system -> Performance -> Private versions statisics & analysis, check this blog post: https://community.sap.com/t5/technology-blogs-by-sap/sap-analytics-cloud-private-versions-statistics...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
21 | |
9 | |
8 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.