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

On F4 execute function

Former Member
0 Likes
513

Hello all,

In screen 100 i have a text field with file name. What is necessary to implement, when a user press F4 to call function 'WS_FILENAME_GET'?

Lots of thanks,

Bogdan

1 ACCEPTED SOLUTION
Read only

athavanraja
Active Contributor
0 Likes
481

you need to use <b>process on value-request</b>

process on value-request.

field <name of the field> module get_f4 .

module get_f4 input.

****write the logic for F4 here

endmodule. " get_f4 INPUT

Regards

Raja

3 REPLIES 3
Read only

athavanraja
Active Contributor
0 Likes
482

you need to use <b>process on value-request</b>

process on value-request.

field <name of the field> module get_f4 .

module get_f4 input.

****write the logic for F4 here

endmodule. " get_f4 INPUT

Regards

Raja

Read only

0 Likes
481

instead of calling WS_FILENAME_GET use

CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG method.

Regards

Raja

Read only

Former Member
0 Likes
481

Hi,

If you populate the default file name in the field means no need to use 'WS_FILENAME_GET' which is used to select the file name.

Cheers,

Sasi