Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding function module

Former Member
0 Likes
893

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 .......

8 REPLIES 8
Read only

bpawanchand
Active Contributor
0 Likes
867

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

Read only

Former Member
0 Likes
867

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^

Read only

Former Member
0 Likes
867

Hi,

You cannot have selection screen in FM...

but I think u can use ranges...

Read only

vinod_vemuru2
Active Contributor
0 Likes
867

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.

Read only

Former Member
0 Likes
867

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

Read only

0 Likes
867

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

Read only

Former Member
0 Likes
867

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.

Read only

Former Member
0 Likes
867

problem solved and thanks for all the responses.