‎2008 Jun 05 1:40 PM
Hi,,
can any one help me regarding this Function module.?
which Function module is used as replacement of ws_uldl_path FM in newer versions?
regards
vineela
‎2008 Jun 05 1:56 PM
Hi,
Here i am giving the replaced code.
CALL FUNCTION 'WS_ULDL_PATH'
IMPORTING
download_path = pa_file1
EXCEPTIONS
OTHERS = 1.
data: pa_file01 type string.
data: pu_file1 type string.
pa_file01 = pa_file1.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GET_UPLOAD_DOWNLOAD_PATH
CHANGING
UPLOAD_PATH = pu_file1
DOWNLOAD_PATH = pa_file01
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
GUI_UPLOAD_DOWNLOAD_PATH = 4
UPLOAD_DOWNLOAD_PATH_FAILED = 5
others = 6
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
pa_file1 = pa_file01.
If useful reward points...
Regards
Sandeep Reddy
‎2008 Jun 05 1:44 PM
Hello,
Symptom
The ws_uldl_path function module is obsolete.
Other terms
Gmux
Reason and Prerequisites
The module restarts with a communications system that is not Unicode-enabled.
Solution
The new file_open_dialog und file_save_dialog Unicode-enabled methods of the cl_gui_frontend_services class have been extended and now contain the ws_uldl_path functions.
New applications should restart on these methods instead of the function module. The function module is extended using a Support Package so that it diverts calls to the cl_gui_frontend_services class without the application having to be changed.
Regards.
‎2008 Jun 05 1:56 PM
Hi,
Here i am giving the replaced code.
CALL FUNCTION 'WS_ULDL_PATH'
IMPORTING
download_path = pa_file1
EXCEPTIONS
OTHERS = 1.
data: pa_file01 type string.
data: pu_file1 type string.
pa_file01 = pa_file1.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GET_UPLOAD_DOWNLOAD_PATH
CHANGING
UPLOAD_PATH = pu_file1
DOWNLOAD_PATH = pa_file01
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
GUI_UPLOAD_DOWNLOAD_PATH = 4
UPLOAD_DOWNLOAD_PATH_FAILED = 5
others = 6
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
pa_file1 = pa_file01.
If useful reward points...
Regards
Sandeep Reddy