Call ABAP function modules from HANA
Hello SCN folks,
We have a requirement where we have to call ABAP functions in ERP from HANA.
Requirement : I want to call an ABAP function module from HANA and get back the results back to HANA.
We have a function module in ABAP which has intensive calculations and we would like to call this from HANA system. I did look through the form and found out that Calling an ABAP function module directly from HANA stored procedures is not possible.
1) Create a BSP application to receive some parametres and run the ABAP function module(I believe this is correct. Never worked with ABAP before)
2) Create an XJSX outbout connectivity(.xshttpdest) and call the BSP application and get back the results.
I would like to know if my understanding is correct? If not kindly guide/correct me wherever necessary.
Also I would like to know if there are any possibilities to achieve the same.
note: We have an ERP system and a separate HANA system. Currently we have SLT configured to replicate data from ERP to HANA system.
Any feedback would be highly appreciated.
Sreehari V Pillai replied
Having a side car HANA database doesn't stop you to consume its services from the abap layer . Please have a look into the beautiful log by Thomas below.
If you do not want to establish connection as described above, you do not have any choice other than to consumes exposed web services from ECC.