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 manual modification

Former Member
0 Likes
563

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
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
513

Append -> press f1.

Read only

Former Member
0 Likes
513
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.
Read only

Former Member
0 Likes
513

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