Skip to Content
0
Nov 06, 2012 at 01:18 PM

indexing problem

32 Views

dear experts,

i have one table control requirement.

suppose my table control have 4 column and 20 rows. it contain the first value as shown below

1st 2nd 3rd 4th

......................................................

10 kg kilogram 2

now i want to upload data from 2nd row. i have written code for this like :

data : it type standard table of ............

wa type ..........

data : lv_indx(2) type N,

lv_indx = 2. ( if i assign here '1' it will overlap with 1st one.)

loop at it into wa.

// codes here......

lv_indx = lv_indx + 1.

endloop.

suppose i have uploaded 3 data here.(means 4 rows )

it works fine up to here. now, problem cames here.

suppose again i want to upload 3 data here..

so, data should comes to the 5th column , 6th & 7th.

how to solve this issue so, that data will be uploaded from next row.

help plz.