‎2008 Jun 20 2:27 PM
Hi,
f4 functinality for storing data in Application server, ie on the selection screen I have to have the f4 functionality which has to navigate to the application layer (AL11), is there any FM for this, please let me know what I have to pass, a sample code is welcome.
Thanks & Regards,
Varun.K
Edited by: vikram kagada on Jun 20, 2008 3:28 PM
‎2008 Jun 20 2:30 PM
‎2008 Jun 20 2:30 PM
‎2008 Jun 20 2:43 PM
Vikram,
Check with this FM 'SAPDMC/LSM_F4_SERVER_FILE'.
Regards,
Suresh Kumar.
‎2008 Jun 20 3:54 PM
hi,
Use FM F4_dxfilename_toprecursion F4 help of application file
Regards,
Santosh
‎2008 Jun 20 4:03 PM
Hi,
DATA:
c_fnh_mask TYPE dxfields-filemask VALUE '.',
search_dir TYPE dxfields-longpath VALUE 'F:\USR\SAP\',
file_path LIKE dxfields-longpath.
CLEAR p_fpath.
To provide the F4 help for Application Server File Path
CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
EXPORTING
i_location_flag = 'A'
i_server = ' '
i_path = search_dir
filemask = c_fnh_mask
fileoperation = 'R'
IMPORTING
o_path = file_path
EXCEPTIONS
rfc_error = 1
OTHERS = 2.
IF sy-subrc EQ 0.
p_fpath = file_path.
ENDIF. " IF sy-subrc EQ 0
Reward if helpful.
Bye
‎2008 Jun 20 7:32 PM
Hi,
Check this out....
PARAMETERS:
p_input LIKE ibipparms-path OBLIGATORY.
CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
EXPORTING
directory = './'
IMPORTING
serverfile = p_input
EXCEPTIONS
canceled_by_user = 1
OTHERS = 2.
IF sy-subrc NE 0.
MESSAGE e767(3f).
ENDIF.
Thanks.