‎2008 Jul 01 1:37 PM
Hi,
I want to know the Function module,which can subtract one day from a given date.Please help me with this doubt,this is very urgent.
Thanks.
‎2008 Jul 01 1:43 PM
CALL FUNCTION 'HR_SEN_CALE_DAYS_DATE'
EXPORTING
id_date = p_begda
id_operator = '-'
is_duration = l_duration
"no of day 1 in your case
IMPORTING
ed_date = l_start_date
EXCEPTIONS
conversion_not_specified = 1
conversion_not_possible = 2
OTHERS = 3.Amit.
‎2008 Jul 01 1:39 PM
‎2008 Jul 01 1:42 PM
‎2008 Jul 01 1:43 PM
CALL FUNCTION 'HR_SEN_CALE_DAYS_DATE'
EXPORTING
id_date = p_begda
id_operator = '-'
is_duration = l_duration
"no of day 1 in your case
IMPORTING
ed_date = l_start_date
EXCEPTIONS
conversion_not_specified = 1
conversion_not_possible = 2
OTHERS = 3.Amit.
‎2008 Jul 02 6:08 AM
Thanks for the prompt reply.I am using the function module in my query.
‎2008 Jul 01 1:44 PM
‎2008 Jul 01 1:49 PM
Hello p317980,
Use this and pass
sign + or -
days
months
years
/SAPHT/DRM_CALC_DATE
Regards,
Subbu