Skip to Content
2

abap class usage in SAP HANA

Oct 23, 2016 at 05:33 AM

142

avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

5 Answers

Lakshminarasimhan N Oct 23, 2016 at 08:56 AM
0

Any suggestions?

Share
10 |10000 characters needed characters left characters exceeded
Narayana Varma Oct 23, 2016 at 04:31 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Lakshminarasimhan N Oct 27, 2016 at 10:46 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Lakshminarasimhan N Nov 07, 2016 at 04:30 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 07, 2016 at 07:51 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded