TYPES: BEGIN OF PPP
------
END OF PPP,
xxx TYPE STANDARD TABLE OF PPP
My question is will xxx
be an internal table or a structure?
TYPES: BEGIN OF PPP
------
END OF PPP,
xxx TYPE STANDARD TABLE OF PPP
My question is will xxx
be an internal table or a structure?
it will be an internal table. its lines will be of the type PPP.
TYPES: BEGIN OF PPP ------ END OF PPP, xxx TYPE STANDARD TABLE OF PPP
xxx won't be either a structure or an internal table, but a table type.
If you declare:
DATA: lt_xxx TYPE xxx.
Then you would have a standard internal table with its structure based on PPP structure definition (since xxx is a table tabe based on PPP).
Paulo is right;
xxx won't be either a structure or an internal table, but a table type.
Or you can create Structure or Internal Table with statement below:
DATA: ls_xxx TYPE ppp. " <<-- Structure
DATA: lt_xxx TYPE STANDARD TABLE OF ppp. " <<-- Internal Table
DATA: lt_xxx2 TYPE xxx. " <<-- Internal Table