Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: How to retrive the Current Month and Previous Month data from table

$
0
0

Hi,

 

Please change the AND condition in this where clause to OR 'and monat eq p_monat  and monat eq g_previous_month'

 

like :

and ( monat eq p_monat  OR monat eq g_previous_month )

 

This should work as expected.

 

Regards,

Deepak.


Viewing all articles
Browse latest Browse all 10425

Trending Articles



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