cancel
Showing results for 
Search instead for 
Did you mean: 

How can I activate a HANA object programatically?

Former Member
0 Kudos

We have a need to re-activate an object programatically in HANA. Is there a way to do this in HANA SPS12 or greater?

There is a bug in HANA where sometimes changes to objects require re-generation / re-activation of a HANA security repository & runtime role since the role loses the object that was changed. In these cases, we have to involve a security specialist to re-activate/re-generate the role. We want to provide self-service ability to developers so they don't have to involve a security person to re-generate the role, can this be done programatically? Or is there another option to do this without giving the developers direct access to Activate the role in hana studio?

Or is there another fix / work-around to resolve this HANA bug?

0 Kudos

I wonder if something like this can be used to auto regenerate hana roles (HDBROLE) . We have a an issue where a change to the underlying object means we have to manually regenerate the role. Any advice?

Accepted Solutions (0)

Answers (3)

Answers (3)

thirus11
Participant
0 Kudos

Hi David,

Kindly go through the below link for more info

SAP HANA REST API Reference

Check on File AP1->Technical Aspects->Activation Mode

Best Regards,

Thiru

Former Member
0 Kudos

Thank you Thomas, do you have that API name and what package it is contained under?

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

There is the Repository REST API that will perform activation, but this API would require the same security that performing the activation via HANA Studio or Web-workbench would require.