Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 11212

Re: indexing problem

$
0
0

  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 , 6th & 7th rows.

 

 

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

 

help plz.


Viewing all articles
Browse latest Browse all 11212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>