cancel
Showing results for 
Search instead for 
Did you mean: 

how create internal table with some structure table BAPIEKPO ?

trabelsioussa
Explorer
0 Kudos

how create internal table with some structure table BAPIEKPO ?

my code :

DATA: BEGIN OF itab.
INCLUDE STRUCTURE BAPIEKPO AS BAPIEKPO RENAMING WITH SUFFIX _BAPIEKPO.

DATA: END OF itab.

" but not work

regards.

Sandra_Rossi
Active Contributor
0 Kudos

"but not work" is not very clear.

You mean that it's valid syntax, but "itab" is a structured variable instead of an internal table.

It's normal because for declaring an internal table, you must use "TYPE (optional category) TABLE OF ...".

Sandra_Rossi
Active Contributor
0 Kudos

More information and examples: DATA, TABLE OF.

Accepted Solutions (0)

Answers (2)

Answers (2)

thkolz
Contributor
0 Kudos
TYPES: BEGIN OF ty_itab.
INCLUDE STRUCTURE BAPIEKPO AS BAPIEKPO RENAMING WITH SUFFIX _BAPIEKPO.
TYPES: END OF ty_itab. DATA: lt_po_item TYPE STANDARD TABLE OF ty_itab.
thkolz
Contributor
0 Kudos
DATA:
    lt_ekpo TYPE STANDARD TABLE OF bapiekpo.