Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8667

Re: append and collect mention like this

$
0
0

Hi Mahalakshmi,

 

We dont need to use modify statement in between. Directly COLLECT would work.

 

You can use collect statements to add the DMBTR value. It will add the value wherein the same key value combination is found. If the key value combination in internal table doesn't match, a new row will be appended.

 

Material     Quantity

0000001     20

0000002     10

0000003     30

0000001     50

 

Result after collect:

Material    Quantity

0000001     70

0000002     10

0000003     30

 

Regards,

Aashika Agarwal


Viewing all articles
Browse latest Browse all 8667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>