Compressing Time Periods

Question: I have to combine records with same content and adjacent time intervals.

For example:

Data before transformation:
Start Date, End Date, Value
-----------------------------------------
2005-04-01, 2005-04-30, "MyValue"
2005-05-01, 2005-06-01, "MyValue"

Data after transformation:
Start Date, End Date, Value
-----------------------------------------
2005-04-01, 2005-06-01, "MyValue"

There could be more than 2 adjacent time periods (above ex. show two periods).

Has anyone solved that kind of problem and could support me with the ABAP code?


Thx in advance and br, micha

Answer:
Hi,

Control level processing can be used, for solving this type of issues.

Thanks and Regards,
Mahesh.
_________________
Self certified "tuly idiot" !!
Copyright ?2007 - 2008 www.jt77.com