Skip to Content
0
Former Member
Dec 04, 2006 at 09:40 PM

How to do this.

34 Views

SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME.

PARAMETERS: p_monat LIKE zgxmit-zmonat DEFAULT sy-datum+4(2).

PARAMETERS: p_gjahr LIKE zgxmit-zgjahr DEFAULT sy-datum(4).

...

SELECTION-SCREEN END OF BLOCK a1.

Since p_monat has DEFAULT sy-datum+4(2) as above declared,

At some point inthe program ,

SELECT zprctr zgjahr zmonat rpt_loc z500_xmit bal_xmit inc_xmit

FROM zgxmit

INTO TABLE it_tbl_zgxmit

WHERE zprctr IN s_prctr AND

zgjahr = p_gjahr AND

zmonat = p_monat.

also here p_monat is sy-datum+4(2).

I am not getting the value of p_monat value which I have enetered on selection screen.