‎2009 Aug 04 7:46 PM
‎2009 Aug 04 10:52 PM
I added the F4_DATE to my form, but I was also using the KD_GET_FILENAME_ON_F4 and it was working beautifuly by itself the thing is, now since I added the f4_date when I choose a file from list shown in the window the program gets executed inmediatly like if I pressed F8 just by choosing the file and it doesn't wait for me to enter data into the field that has the date and then press F8.
Why is that?
‎2009 Aug 04 7:50 PM
hi,
Fm F4_DATE..
pass the FACTORY_CALENDAR_ID..
it will return the date selected and week begin and week end as per Factory calender.
the F4 pop up shows hoilday list as per the factory calender..
you can see the factory calender in t-code SCAL
prabhudas
‎2009 Aug 04 8:46 PM
Hi,
You just need to pass the FACTORY_CALENDAR_ID as the importing parameter.
Use table TFACD and refer the values in field IDENT. Use these values in FACTORY_CALENDAR_ID and you will get a popup for date selection.
Hope this helps you.
Regards,
Tarun
‎2009 Aug 04 10:52 PM
I added the F4_DATE to my form, but I was also using the KD_GET_FILENAME_ON_F4 and it was working beautifuly by itself the thing is, now since I added the f4_date when I choose a file from list shown in the window the program gets executed inmediatly like if I pressed F8 just by choosing the file and it doesn't wait for me to enter data into the field that has the date and then press F8.
Why is that?
‎2009 Aug 04 10:56 PM
make sure you are using the correct events....
check in which even your are using the code... and try modifying that event if you can.
‎2009 Aug 05 2:49 AM
Hi,
<li>I tried to use F4_DATE. It is used to select particular date.
Thanks
Venkat.O REPORT ztest_notepad.
DATA:model_valid_date LIKE workflds-gkday,
h_date LIKE workflds-gkday.
CALL FUNCTION 'F4_DATE'
EXPORTING
date_for_first_month = model_valid_date
IMPORTING
select_date = h_date.
WRITE h_date.
‎2009 Aug 05 2:24 PM