cancel
Showing results for 
Search instead for 
Did you mean: 

How to call a Python Script in SAP HANA

Former Member
0 Kudos
1,485

Hello Everyone,

Our requirement is to call and Schedule Python Script in SAP HANA. How we can do it? We tried using procedure but that is also not possible. Can we schedule it using XSJSJob or any other way?

View Entire Topic
lbreddemann
Active Contributor
0 Kudos

Can you be a bit more specific about your requirement? Calling python from HANA is not a business requirement; so, what are you trying to achieve here?

Generally speaking though, it’s not possible to call python code from HANA.

Former Member
0 Kudos

Thanks for your response Lars. Now I got to know that it is not possible to call Python script from HANA. But Is it possible to schedule a .bat file using javascript(xsjs) ?

lbreddemann
Active Contributor
0 Kudos

You haven’t answered my question...

rjbhayani
Explorer
0 Kudos

is it Possible to Call Python Library from HANA ( I mean using AMDP call Python library - which is already imported to HANA DB Server ) for an example : I have File Upload utility developed in SAP FPM and now I will pass binary data to HANA DB ( using AMDP as importing parameter and then that will become input for existing python Library called pytesseract and which will return us image to text ( Text values ) as returning parameter back To AMDB and tha will be return back TO ABAP Application Server where we can use those data to either validate or perform Automation ?