Skip to Content
author's profile photo Former Member
Former Member

ALVS

i want to extract data from kna1 table.

the data to be fetched is kunnr ,name1

how to write the select statements

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2008 at 07:14 AM

    Data: begin of itab occurs 0,

    kunnr type kna1-kunnr,

    name1 type kna1-name1,

    end of itab.

    Select Kunnr Name1 from KNA1 into table itab.

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2008 at 07:18 AM

    Hi,

    Please refer to the link below :

    http://www.sapdev.co.uk/reporting/alv/alvgrid_basic.htm

    Thanks,

    Sriram Ponna.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 22, 2008 at 07:18 AM

    DATA: BEGIN OF ikna1 OCCURS 0,

    kunnr LIKE kna1-kunnr,

    name1 LIKE kna1-name1,

    END OF ikna1.

    SELECT kunnr name1

    FROM kna1

    INTO table ikna1

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.