‎2008 Feb 12 3:21 PM
hi folks,
what does this function module useful for
'F4_DXFILENAME_TOPRECURSION'. CAN U CLEAR ME PLZ.
‎2008 Feb 12 3:29 PM
‎2008 Feb 12 3:31 PM
Hi Vinay,
The above FM is used to get F4 help for Application Server
parameters: p_file1 type dxfields-longpath .
at selection-screen on value-request for p_file1.
call function 'F4_DXFILENAME_TOPRECURSION'
exporting
i_location_flag = 'A'
filemask = '*.*'
fileoperation = 'W'
importing
o_path = p_file1
exceptions
rfc_error = 1
error_with_gui = 2
others = 3.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
Edited by: Chandrasekhar Jagarlamudi on Feb 12, 2008 9:01 PM
‎2008 Feb 12 3:36 PM
Award points if helpful:
Text
F4 Help Files
The device is an aid for selecting the file.
This may indicate whether the file on the presentation or application server, application server, which is used to be (if elected application server) and what path it should use.
If this information (in this hierarchy), only partially transferred, the remaining data.
Furthermore, can still file a mask with wild cards and the upcoming file transfer operation.
The output you get the selected the server, server and path / filename. If the selection canceled without the user has selected a file, it will be returned (and the input values in the output cut).
Parameters
O_LOCATION_FLAG
O_PATH
O_SERVER
ABEND_FLAG
FILEMASK
FILEOPERATION
I_LOCATION_FLAG
I_PATH
I_SERVER
Exceptions
RFC_ERROR
ERROR_WITH_GUI