‎2007 Nov 03 7:31 AM
Hi,
I have three fields in module pool 1. Start Date 2. End Date 3. Months
For example:
**************
Start Date : 01.02.2007
End Date: 27.06.2007
If i click month field only i should display/ enable following months only
FEBRAUARY,MARCH,APRIL, MAY JUNE.
How is it possible if any one know please help me
‎2007 Nov 03 7:36 AM
Hi,
U can use DYNP_VALUES_READ Function module to read the data of the screen elements bbefore the screen is processed. So u use this FM and get the values of start date and end date , so that u can write ur further logic.
Regards,
Shafivullah Mohammad
‎2007 Nov 03 9:16 AM
Hi,
since ur doing Module pool , if ur using those fields referencing to ur customized table, then mention FEBRAUARY,MARCH,APRIL, MAY JUNE at domain level in value range tab.
tc
saji
‎2007 Nov 03 10:35 AM
Hi,
You can create an internal table like this with following fields
month text
01 January
02 February
.
.
.
12 December
Now when user presses F4 on month.
Write this code in POV.(Process on Value Request)
Loop at tb_month where month >= start_date4(2) and <= end_date4(2).
Move this data in an internal table.
Endloop.
Then use FM F4INTVALUE*REQUEST ( Sorry I don't rem exact name)
This will solve your issue
Regards
Nishant