Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

ABAP Query : Selection Screen

$
0
0

Hello All,

 

In my Infoset (ZSD_SEVKIYAT3), I used goto -> Code ->  Initialization.

 

Because, I want to select between today and 3 months earlier.

So I used Initialization like that,

 

IF lv_monat = '01'.

lv_yil = lv_gjahr - 1.

s_erdat-sign = 'I'.

s_erdat-option = 'BT'.

CONCATENATE lv_yil '11' '01' INTO s_erdat-low.

s_erdat-high = sy-datum.

APPEND s_erdat.

ELSEIF lv_monat = '02'.

lv_yil = lv_gjahr - 1.

s_erdat-sign = 'I'.

s_erdat-option = 'BT'.

CONCATENATE lv_yil '12' '01' INTO s_erdat-low.

s_erdat-high = sy-datum.

APPEND s_erdat.

ELSE.

lv_ilk_monat = lv_monat - 2.

 

And appended the s_erdat which is my real select,on time.

 

My problem is, how can I  run my query in my selection time ?

What must I do ?

 

Regards


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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