2010 Jan 13 4:20 AM
dear friends,
How can i make a selection parameter with default value should be starting date of current month
regards
Malik
2010 Jan 13 4:27 AM
Hi
In Initialization get current date - wf_date = SY-DATUM.
wf_date+6(2) = 01.
and assign wf_DATE TO selection parameters.
Hope this helps,
Nag
2010 Jan 13 4:27 AM
Use initialization event to fill up the selec-option input parameter low value
like
Initialization.
s_date-low = '01'
s_date-sign = 'I'
s_date-option = 'EQ'.
append s_date.
Please search this forum you find lot of threads related to this
a®
2010 Jan 13 4:27 AM
Hi
In Initialization get current date - wf_date = SY-DATUM.
wf_date+6(2) = 01.
and assign wf_DATE TO selection parameters.
Hope this helps,
Nag
2010 Jan 13 4:37 AM
You can code in Initialization
sdate-low = sydatum6(2)
sdate-sign = 'I'
sdate-option = 'EQ'.
append sdate.
2010 Jan 13 4:42 AM
Hi Malik ,
Search SDN before posting.
You need to use system variable sy-datum , you can change date characters to '01'.
This will give you first date of the month.
Hope this resolves your issue.
2010 Jan 13 5:20 AM
Data : lv_date type DATS,
wf_date type DATS,
lv_month(2) type n.
wf_date = sy-datlo.
lv_month = wf_date+4(2) + 1.
concatenate wf_date+0(4) lv_month '01' into lv_date.
Hope this code will help solve your requirement.
2010 Jan 13 5:20 AM
Hi,
give system date in this FM
HR_JP_MONTH_BEGIN_END_DATE
and try u will get
Regards
Azeez