2007 May 22 2:33 PM
I have two fields on my initial screen from FAGLFLEXT table ie RPYEAR [fiscal year] which should be defaulted to current fiscal year and RPMAX [period] should be defaulted to (period - 1). Could anyone help me achieve this functionality.
2007 May 22 2:36 PM
if it is module pool programming , u can initialize the values in PBO
<b>in PBO</b>
MODULE INITIALIZE_VALUES.
MODULE INITIALIZE_VALUES.
FAGLFLEXT-RPYEAR = sy-datum+0(4).
FAGLFLEXT-RPMAX = '001'.
ENDMODULE.
I have two fields on my initial screen from FAGLFLEXT table ie RPYEAR [fiscal year] which should be defaulted to current fiscal year and RPMAX [period] should be defaulted to (period - 1). Could anyone help me achieve this functionality.
2007 May 22 2:36 PM
if it is module pool programming , u can initialize the values in PBO
<b>in PBO</b>
MODULE INITIALIZE_VALUES.
MODULE INITIALIZE_VALUES.
FAGLFLEXT-RPYEAR = sy-datum+0(4).
FAGLFLEXT-RPMAX = '001'.
ENDMODULE.
2007 May 22 2:40 PM
Hi,
Module pool Programming :
You can assign the value in PBO module of the Screen
Report Programming:
Assign value in INITIALIZATION event.
Code:
RPYEAR = sy-datum(4).
RPMAX = '01'
Thanks
Sandeep
Reward if helpful
Message was edited by:
Sandeep Ranade
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |