cancel
Showing results for 
Search instead for 
Did you mean: 

abap class usage in SAP HANA

lakshminarasimhan_n4
Active Contributor

Hi,

I have a generic datasource created for SAP BW purpose to pull data from ECC to BW.It contains 2 tables. Now we need to pull this into the HANA system,

1. We dont want to use DXC as it is not real time and also some one must be monitoring the loads.

2. We have planned to use SLT, but there the problem is, there is a ABAP class which links one table to another table. There are 2 tables in my generic datasource, which are linked via this ABAP class. Now via SLT i am able to replicate the tables, but in my HANA will i be able to use the "class" to link the 2 tables? or is there any standard way of using the ABAP class within HANA?

Accepted Solutions (0)

Answers (5)

Answers (5)

marcel_scherbinek
Participant
0 Kudos

Hi Lakshminarasimhan,

as far as I understand your BW is not on HANA. And as far as I know you can't run ABAP in SAP HANA as theres is no engine/compiler which might execute your ABAP in-memory. So you have to run your ABAP class on your ABAP system and as you want to avoid DXC and SLT another thought would be using RFC for getting the result set to HANA. See also https://blogs.sap.com/2013/08/17/loading-data-into-hana-using-rfc/

Regards,

Marcel

lakshminarasimhan_n4
Active Contributor
0 Kudos

Hi All, Please share some reply, if not i need to close the thread as unanswered 😞 😞

lakshminarasimhan_n4
Active Contributor
0 Kudos

Varma, thanks. The point is that there is a class and a method to link the tables. It cannot be achieved by Normal joins.

Ex : Table A has a 32 char Guid and table B has 32 char "Hash value". Now you need to convert the GUID to hash value and then only will be able to link the 2nd table. This conversion is done by the method of the class.

varma_narayana
Active Contributor
0 Kudos

Hi Lakshminarasimhan,

We can't use the same ABAP class in the HANA database. I believe, the solution in your case is to link the two tables in HANA, by creating a simple calculation view (by implementing the necessary joins and other calculations). Please let me know if that helps.

Regards,

Varma

lakshminarasimhan_n4
Active Contributor
0 Kudos

Any suggestions?