Skip to Content
0
Former Member
Feb 24, 2009 at 10:40 AM

Splitting 1 record to many through routine

33 Views

<Moderator Message: These forums are not here to find somebody to do your job for you. Start creating your logic and if you have issues, come back and ask.>

I want to split one record into many records based on the months (periods).

Input of update rule :

Cost -


Early Start Date----


Early End Date

1000--


16-Jan-08--


31-Mar-08

Output of update rule :

Cost--


Early Start Date
Early End Date
-----Fiscyear/per

210.5263158--


16-Jan-08
31-Mar-08
--


Jan-08

381.5789474--


16-Jan-08
31-Mar-08
--


Feb-08

407.8947368--


16-Jan-08
31-Mar-08
--


Mar-08

As shown in above case the record is from JAN to MAR, so splitted into 3 records. How this can be achieved through ABAP?

Edited by: Shailesh Naik on Feb 24, 2009 4:12 PM

Edited by: Siegfried Szameitat on Feb 24, 2009 11:48 AM