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

Re: Select statement not returning all records for specific cases

$
0
0

Hi Pavan,

 

In some cases you need to fetch all the KEY fields (In this case BELZEILE needs to be fetched). If you Rephrase your select query to

 

          Data : c_1001 type e_preis value '0000001001'.

 

          SELECT belnr BELZEILE nettobtr preisbtr INTO TABLE i_price

                                                       FROM dberchz3

                                                       FOR ALL ENTRIES in i_erch

                                                       WHERE

                                                            belnr = i_Erch-belnr and

                                                             preis = c_1001.

 

I hope this should solve the issue.


Viewing all articles
Browse latest Browse all 8653

Trending Articles



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