Skip to Content
0
Former Member
Mar 18, 2009 at 04:20 AM

How to clear repeated values in final output

21 Views

Hi Guru's,

Please advice me how to move '0' or space to a field where the values are repeating .

For eg: I have the following in my output,

it_final-matnr, it_final-idnrk, it_final-ebeln, it_final-menge1, it_final-menge2.

Pen, cap, 4500028544, 125 , 4566

Pen, cap, 5500028543, 125 , 4566

Pen, refill, 6500028542, 145 , 1266

Pen, refill, 4500028545, 145 , 1266

Pen, body, 2500028547, 165 , 3466

Pen, body, 4500028548, 165, 3466

But my output should be in the below format with respect to it_final-idnrk as I am doing

the report in ALV GRID I will sort it_final-matnr and it_final-idnrk .

Please advice how to move '0' to the repeated value.

Pen, cap, 4500028544, 125 , 4566

Pen, cap, 5500028543, 0 , 0

Pen, refill, 6500028542, 145 , 1266

Pen, refill, 4500028545, 0 , 0

Pen, body, 2500028547, 165 , 3466

Pen, body, 4500028548, 0 , 0

Thanks

Bathri.