Application Development and Automation 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: 
Read only

Internal Table

ramco1917
Participant
0 Likes
698

Hi

What does the below code means. Is it only Internal table

data:beginof itab1 occurs0,
         org(8),pos(8),
         aut(4),endof itab1.

Thanks

1 ACCEPTED SOLUTION
Read only

MateuszAdamus
Active Contributor
625

Hello ramco_1917

It is a definition of an internal table with a header line (header lines are obsolete).

Each row of the internal table will have 3 fields:

org - 8 characters

pos - 8 characters

aut - 4 characters

Kind regards,
Mateusz
2 REPLIES 2
Read only

MateuszAdamus
Active Contributor
626

Hello ramco_1917

It is a definition of an internal table with a header line (header lines are obsolete).

Each row of the internal table will have 3 fields:

org - 8 characters

pos - 8 characters

aut - 4 characters

Kind regards,
Mateusz
Read only

Sandra_Rossi
Active Contributor
0 Likes
625

I know the culprit is SAP Community copy/paste feature, but to clarify for future visitors, here is the valid syntax you probably have:

data: begin of itab1 occurs 0,
         org(8),
         pos(8),
         aut(4),
      end of itab1.