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

Re: Multiple records are present for same key in lookup DSO

$
0
0

Hi!

 

I agree with Tanka.

Sounds like you use a READ, and only show quantity by one record. Maybe need create a new ods consolidated or add in your routine something like:

 

LOOP RESULT_PACKAGE ASSIGNING <result_fields>.

     READ t_ods INTO w_ods WITH KEY k1 = <result_fields>-k1

     LOOP t_ods WHERE k1 = <result_fields>-k1.

                ADD w_ods-quantity TO <result_fields>-quantity.

     ENDLOOP.

ENDLOOP.

 

Try and check, if you have many record, my advice is create a new ods.

Regards!


Viewing all articles
Browse latest Browse all 8581

Trending Articles



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