Skip to Content
avatar image
Former Member

AMDP Select Statement

Hi,

I am in the progress of learning AMDP. I have created a class and methods to fetch data from a database table.

In ABAP, we had the flexibility to fetch a single record from database using SELECT SINGLE or SELECT... UP TO N ROWS.

How can we leverage this in AMDP SQL Script.

-- Selva.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 24, 2015 at 01:58 PM

    Hi Selva,

    This is already discussed here in SCN -

    So please search before posting 😉

    Anyway, you can use SQL on AMPD methods so 'SELECT TOP <N>...' covers that for you. Official doc:

    SELECT - SAP HANA SQL and System Views Reference - SAP Library

    BRs,

    Lucas de Oliveira

    Add comment
    10|10000 characters needed characters exceeded