Skip to Content
0
Former Member
Jun 12, 2014 at 06:37 PM

Expert routine.

20 Views

Hi,

I have a question. I need to calculate missing miles in the expert routine.

I'm not good in ABAP, I tried to write the code but i have problem to get continue with 1 record to another record. can please some one help me to write a code.

Thanks,

Master data of Function location

Function location From miles To miles

AB0001 500 600

Transaction data:

FL MDOC From miles Tomiles

AB0001 00001 504 510

AB0001 00001 522 526

AB0001 00001 560 566

In this Case missing miles are

Mismiles From Mismiles To

500 504

510 522

526 560

566 600

The Function location lenght could be start from 0 or 80 0r 110.....