0

I am new to SAP-MDG and I have added few customers using the standard SAP screens, I am interested in knowing if we can directly connect to MDG tables using Hana Studio.

Tables like MARA or KNA1, can I directly fire select queries on these tables?


select * from KNA1 fetch first 3 rows only;


something like this?

Thank you,

Divyesh Kalbhor

Suncatcher
  • 10,355
  • 10
  • 52
  • 90
Divyesh Kalbhor
  • 385
  • 3
  • 19

1 Answers1

2

You can do this to store any three records from KNA1 into an internal table:

DATA: lt_KNA1 LIKE TABLE OF KNA1.

select * from KNA1 INTO lt_KNA1 up to 3 rows.
Sergio Prats
  • 1,043
  • 1
  • 14
  • 19