Quantcast
Channel: SCN : All Content - SAP Business Warehouse
Viewing all articles
Browse latest Browse all 5981

Expert routine.

$
0
0

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.....


Viewing all articles
Browse latest Browse all 5981

Trending Articles



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