quarta-feira, 17 de março de 2010

How to sum all entries with the same key

Just use the COLLECT function it sums all entries with the same key, or add a new entrie if the key doesnt exist yet


...
MOVE-CORRESPONDING t_vbrp TO tab_pesos.
COLLECT tab_pesos.
...

Sem comentários:

Enviar um comentário