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

Regarding File Selector

Former Member
0 Likes
539

what is the function module name for file selector.

i used ws_filename_get. But it is not working showing the Exception Selection_Cancel.

what is the function module name for file selector.

i used ws_filename_get. But it is not working showing the Exception Selection_Cancel.

3 REPLIES 3
Read only

Former Member
0 Likes
515

Hi Try these FM's

1) F4_filename

2) KD_GET_FILENAME_ON_F4

Reward if useful.

Thanks,

Senthil

Read only

0 Likes
515

can u give me a simple example

Read only

0 Likes
515

PARAMETER: p_locat LIKE rlgrap-filename

DEFAULT '/interfaces/outbound/archive/RGIS/ff.txt'.

***************************************************************************

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_locat.

PERFORM get_file USING p_locat.

***************************************************************************

form get_file using p_locat.

DATA: v_file LIKE ibipparms-path.

MOVE: p_locat TO v_file.

DATA: v_repid LIKE syst-repid,

v_dynnr LIKE syst-dynnr.

v_repid = syst-repid.

v_dynnr = syst-dynnr.

CALL FUNCTION 'F4_FILENAME'

EXPORTING

program_name = v_repid

dynpro_number = v_dynnr

  • field_name = field

IMPORTING

file_name = v_file.

MOVE: v_file TO p_locat.

Regds,

Senthil