How to take backup of Stored Procedures in SAP HANA and how to alter Stored Procedures in sap HANA

How to take backup of Stored Procedures in SAP HANA and how to alter Stored Procedures in sap HANA

---------------------------This KB article is for only internal team use only..............................
 

Kindly follow the below steps--

 

1. Open SAP HANA -- > Select the Stored Procedures -- > Right Click -- > Click on open Definition


 


2. Click on Create Statement and copy the Stored Procedures.




3.Select the database and Click on Open sql console for selected system.


 

4.Paste the Stored Procedures which we copied

 

 

5.Change the Stored Procedures Name before taking backup and click on execute.


 

6. To alter the Stored Procedures kindly use ALTER instead of create in Stored Procedures and click on execute.