Skip to Content
avatar image
Former Member

ALV: View a number row

Hi!

I have got a internal table without a index field.

Can I put a number row in an ALV without modify the internal table?

Example:

data: begin of it occurs 0,

name(30),

city(20),

data: end of it.

I like the alv as:

Name City

1 XXXXXX YYYYY

2 ZZZZZ YYYYY

I need don't append a sy-tabix field in the internal table.

Thanks!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Aug 20, 2007 at 03:37 PM

    Hi,

    I think it is not possible without adding a field in output internal table.

    I have also having a same requirement.

    Anybody having info?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 20, 2007 at 03:48 PM

    Hi,

    you can concatenate the sy-tabix value with name field and display it.

    Regards,

    Niyaz

    Add comment
    10|10000 characters needed characters exceeded