Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3303

Select option issue

$
0
0


Hi All,

I have written following query.

   SELECT matnr werks charg
      FROM mcha
      INTO TABLE t_mcha
      WHERE matnr IN s_mat
      AND   werks EQ  p_plant
       AND charg IN s_charg.

 

According to me whole table should be fetched if s_mat or S_char is blank.

However, i am getting few entries even after s_charg is blank  instead of fetching whole table.

I will be thankful if anybody explains this behaviour of select query?


Viewing all articles
Browse latest Browse all 3303

Trending Articles



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