‎2009 Sep 26 4:59 AM
Hello Experts,
I want in my screen that on click of customized F4 search help when user select the input from F4 ,the corresponding date will appear automatically in the date field.
Plz suggest.
Aastha
‎2009 Sep 28 3:05 AM
Hi,
From the description of your problem, I guess your customized search help has got a date as one of the list fields, but the search-help itself is not for a date field on the screen. In this case, the date field should be one of the export parameters in the custom search help. The name of the screen-field should be same as that in search help.
e.g. you have a search help for "Purchase Order" screen field. The search help has got "Document Date" as one of the export parameters of the search-help. The screen field name for "Document Date" should be same as that in the search help.
Hope this helps. Cheers
Suresh
‎2009 Sep 26 5:11 PM
Hi Aastha Gupta,
Try this way.
<li> Under PROCESS ON VALUE-REQUEST event , write like below. Lets say g_date is the date field on the screen.
PROCESS ON VALUE-REQUEST.
FIELD g_date MODULE f4_date
Thanks
Venkat.O
MODULE f4_date INPUT.
g_date = sy-datum.
ENDMODULE.
‎2009 Sep 26 7:46 PM
Hi Aastha,
The date field F4 appears automatically. Make sure you have maintained correct date type data element in dictionary structure / screen field.
Thanks
Aabhas.
‎2009 Sep 28 3:05 AM
Hi,
From the description of your problem, I guess your customized search help has got a date as one of the list fields, but the search-help itself is not for a date field on the screen. In this case, the date field should be one of the export parameters in the custom search help. The name of the screen-field should be same as that in search help.
e.g. you have a search help for "Purchase Order" screen field. The search help has got "Document Date" as one of the export parameters of the search-help. The screen field name for "Document Date" should be same as that in the search help.
Hope this helps. Cheers
Suresh