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: 

internal table manual modification

Former Member
0 Kudos
117

I understand this is probably going to be the stupidest question ever posted here. But I wanted to know how to manually add values to an internal table without doing a select statement.

TYPES: BEGIN OF ty_ext,

param(32) type c,

row type i,

field(30) type c,

value(255) type c,

type(4) type c,

length(6) type n,

END OF ty_ext,

DATA: it_ext TYPE TABLE OF ty_ext.

I just want to fill it_ext with data without doing select, I have the data stored in variables.

Thanks,

Risad

3 REPLIES 3

kesavadas_thekkillath
Active Contributor
0 Kudos
67

Append -> press f1.

Former Member
0 Kudos
67
TYPES: BEGIN OF ty_ext,
param(32) type c,
row type i,
field(30) type c,
value(255) type c,
type(4) type c,
length(6) type n,
END OF ty_ext,

DATA: it_ext TYPE TABLE OF ty_ext,
          wa_ext type ty_ext.


wa_ext-param = '123'.
..
..

append wa_ext to it_text.

Former Member
0 Kudos
67

Moderator message - Not stupid, but extremely basic. Please search and use the help files before posting here. Thread locked. Rob