Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

what is the syntax for different internal tables

Former Member
0 Kudos

Hi All,

See there are three types of internal tables right

index

1) standard

2) sorted

non index

3) hashed

what iam requested from you all is

----


How to declare different internal tables

ie, i want syntax... of different types ie these

internal tables.

best regards,

-abaper---

1 ACCEPTED SOLUTION

Former Member
0 Kudos

use F1 on data statement.

2 REPLIES 2

Former Member
0 Kudos

use F1 on data statement.

Former Member
0 Kudos

define a structure

then use proper addition type

for example


    TYPES: BEGIN OF ty_buffer_index,
             monat TYPE monat,
             shkzg TYPE shkzg,
           END OF ty_buffer_index.
    TYPES: ty_buffer_index_tab TYPE HASHED TABLE OF ty_buffer_index
                INITIAL SIZE 0
                WITH UNIQUE KEY monat
                                shkzg.
    DATA: buffer_index TYPE ty_buffer_index_tab. "<-- a HASHED TABLE   

& pressing F1 always helps