Skip to Content
0
Mar 14, 2013 at 05:52 AM

Smartforms internal table serial numbers (Range) print

88 Views

Hi All,

If internal table it_tab[] is having lot of serial numbers but all serial numbers are not in sequece i.e

serial numbers:

1234

1235

1236

1237

1239

1240

1241

1249

1250

1253

1258

1267

1268

1269

1270

As shown above ,if records are in sequence then we need to print the records in range otherwise print the record individually.

i.e.

1234 to 1237

1239 to 1241

1249 to 1250

1253

1258

1267 to 1270

Can anyone suggest how to do it? Thanks in advance.