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

F4 help

Former Member
0 Likes
488

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

1 ACCEPTED SOLUTION
Read only

SureshRa
Active Participant
0 Likes
454

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

3 REPLIES 3
Read only

venkat_o
Active Contributor
0 Likes
454

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

MODULE f4_date INPUT.
  g_date = sy-datum.
ENDMODULE.
Thanks Venkat.O

Read only

aabhas_wilmar
Contributor
0 Likes
454

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.

Read only

SureshRa
Active Participant
0 Likes
455

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