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

input in internal table

Former Member
0 Likes
343

hi,

i want to enter the input each time for a numeric field "intege type" for a particular internal table.

they input should be given at that time of runtime.

just like that.

data: begin of it1 occurs 20,

n1 type i,

end of it1.

it should be like as

for( i =0 ;i<100;i++)

{

scanf("%d",&a<i>);

}

1 REPLY 1
Read only

former_member156446
Active Contributor
0 Likes
295

Hi Surendhra dont compare C with ABAP...

data: begin of it1 occurs 20,
n1 type i,
end of it1,
lv_i type i.

it1-n1 = '1'.
append it1.

loop at it1.  "<<<put a breakpoint here.. and you can append ur data into it1.
lv_i = lv_i + 1.

endloop.