Skip to Content
0
Former Member
Oct 12, 2006 at 09:19 PM

At selection screen

125 Views

Hi,

I have a selection screen with

SELECTION-SCREEN BEGIN OF BLOCK LDB WITH FRAME TITLE TEXT-001.

PARAMETERS : BR_BUKRS LIKE BKPF-BUKRS FOR TABLE BKPF OBLIGATORY.

SELECT-OPTIONS:

BR_BUDAT FOR BKPF-BUDAT ,

BR_MONAT FOR BKPF-MONAT ,

BR_GJAHR FOR BKPF-GJAHR .

SELECTION-SCREEN END OF BLOCK LDB.

In the selection screen when report is ran.

if user enters just budat-low and presses enter then budat-high should fill with same value of low and below monat-low and monat-high and gjahr-low and gjahr-high should get filled with respective period and fiscal year automatically.

now suppose if they are filled as per above requirement,

now if I change budat-high increase to next month and press enter automatically below monat-high and gjahr-high should change without changing low values as I did'nt change budat-low.

Hope you are able to understand.

same way for if budat-low and budat-high is initial.

and I enter mona-low and press enter

monat-high should get filled with same value of monat-low and budat-low and budat-high should get filled resp dates.

please advice on how to write the code,

I am using At selection screen on block LDB but not able to solve all requirements.

Please let me know

Thanks