‎2008 Jul 22 12:49 PM
hi,
I want to know that is it possible to have SELECT SCREEN in it ?
bcoz i want to specify a DATE range in the FM ......
Is dere any possibility of it rather having parameters only in FM .......
‎2008 Jul 22 12:52 PM
Hi
Instead of using select-opitons in the FM you can use RANGES in the function mdoule . You pass the high low values from the calling program to the FM..
Regards
Pavan
‎2008 Jul 22 12:52 PM
hI
Good
I think you can't code the selection screen which coding a function module.
I would suggest you to post your detail query .
Thanks
mrutyun^
‎2008 Jul 22 12:53 PM
Hi,
You cannot have selection screen in FM...
but I think u can use ranges...
‎2008 Jul 22 12:55 PM
Hi Rix,
It is not possible to have selection screen in FM.
But u can call ur own screen which have ur fields.
The best way is to have two date importing parameters if u have single date range.
If u have multiple ranges then define one tables parameter with structure RSSELECT. Here u can have all the functionalities that a select option have.(Like include exclude etc)
Only thing is here u have to enter the values manually like
Sign, Option, Low and high values.
Hope it is clear.
Thanks.
‎2008 Jul 22 12:57 PM
Hi,
there is no select options kind of thing in function mdoules rather you can define your date field of type RSDSSELOPT wherein you can pass your date range along with option and sign values.
If helpful kindly reward points.
Regards
Zarina
‎2008 Jul 22 1:10 PM
HI,
I had solved the problem my self by defining 2 variables and added into the select query using comparison operator...
Edited by: ricx .s on Jul 22, 2008 2:16 PM
‎2008 Jul 22 12:58 PM
Hi Ricx,
Check the below functional modules which related to dates,,,it will help you,,,,,
CALCULATE_DATE : Calculates the future date based on the input .
DATE_TO_DAY : Returns the Day for the entered date.
DATE_COMPUTE_DAY : Returns weekday for a date
DATE_GET_WEEK : Returns week for a date
RP_CALC_DATE_IN_INTERVAL : Add days / months to a date
MONTHS_BETWEEN_TWO_DATES : To get the number of months between the two dates.
END_OF_MONTH_DETERMINE_2 : Determines the End of a Month.
HR_HK_DIFF_BT_2_DATES : Find the difference between two dates in years, months and days.
FIMA_DAYS_AND_MONTHS_AND_YEARS : Find the difference between two dates in years, months and days.
MONTH_NAMES_GET : Get the names of the month
WEEK_GET_FIRST_DAY : Get the first day of the week
HRGPBS_HESA_DATE_FORMAT : Format the date in dd/mm/yyyy format
SD_CALC_DURATION_FROM_DATETIME : Find the difference between two date/time and report the difference in hours
L_MC_TIME_DIFFERENCE : Find the time difference between two date/time
HR_99S_INTERVAL_BETWEEN_DATES : Difference between two dates in days, weeks, months
LAST_DAY_OF_MONTHS : Returns the last day of the month
DATE_CHECK_PLAUSIBILITY :Check for the invalid date.
Hope it is helps,,,
Regards,
T.D.M.
‎2008 Jul 22 1:17 PM