Skip to Content
0
Former Member
Dec 05, 2008 at 12:23 PM

moving the entry from one field into another field in internal table

213 Views

Hi all,

I have an internal table gt_n_vbewfal.

The fields are

Patient Folder Type Date_in Institute

100 10 1 10.10.2008 8

100 10 2 11.10.2008 8

101 11 1 12.10.2008 8

102 12 1 13.10.2008 8

103 13 1 14.10.2008 8

103 13 2 15.10.2008 8

Now from the above internal table i have to move the data into another internal

table.

If the type in the above table is 2, then I have to move the date_in from the

above table into field date_out, so that i have to get only one record for each

patient and folder.

The final data should look like

Patient Folder Type Date_in Date_out Institute

100 10 1 10.10.2008 11.10.2008 8

101 11 1 12.10.2008 8

102 12 1 13.10.2008 8

103 13 1 14.10.2008 15.10.2008 8

Thanks in Advance,

Sandeep.