2022 Apr 01 11:21 AM
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 that will be return back To ABAP Application Server where we can use those data to either validate or perform Automation ?
2022 Apr 01 12:48 PM
I guess the first question to ask is whether it's possible to call Python from a HANA SQLScript Database Procedure. If yes, then you can do it in AMDP as well.
2022 Apr 01 2:03 PM
True, But based on my limited knowledge it is possible to install Python at OS level and then using OS Command we can even refer standard Python application framework also we need to install PIP again at OS Level to fetch other standard/Custom Library published by Python Community (Like pytesseract · PyPI ) and then we might be able to use it in ABAP code ( maybe ) since I have not done it end to end yet so wanted some information.