Application Development 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: 

fm F4_Filename

Former Member
0 Kudos

Hi All,

I want to know about F4_Filename fm.can any one help on this

7 REPLIES 7

Former Member
0 Kudos

Hi Jyothi,

See this thread. There are many more related threads on SDN do a search with "F4_Filename".

Amandeep

Former Member
0 Kudos

if u want to select the file name (like open window in windows) from selected directory path,

usually at value request, we use this FM

Former Member
0 Kudos

KD_GET_FILENAME_ON_F4

u can use this fm

reward points

if useful

Former Member
0 Kudos

Hi,

To give help to the file in presentation directory, we use this func. module

p_f_pres is the parameter on the selection-screen

CALL FUNCTION 'F4_FILENAME'

EXPORTING

program_name = syst-cprog

dynpro_number = syst-dynnr

IMPORTING

file_name = p_f_pres.

Reward if helpful.

Regards,

Karthick.

0 Kudos

Dont use this anymore, use cl_gui_front_end_services=>get_filename. F4_Filename only stores filenames in a 128 byte field, which is definitly to short in out tmes, a unc path can be easily much longer then that.

0 Kudos

It should be cl_gui_frontend_services=>get_filename .....kindly make a correction in your post so others may benefit.

Former Member
0 Kudos

This FM is used to get F4 help for presentation server file path.

this is obselete now, use : KD_GET_FILENAME_ON_F4