on 04-29-2009 1:42 PM
Hi
iam creating smartform and uploading the pdf to that form and printing the pdf
up to this iam clear,,
iam giving the path name for uploading the pdf and print if the given path is exist than only it need to go to print other wise not to print
for this is there any function module is there
can any one help me
Hi,
check with the below code, but not sure whether it meets ur req.
call method cl_gui_frontend_services=>file_exist
EXPORTING
file = lv_filename
RECEIVING
result = result
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
wrong_parameter = 3
not_supported_by_gui = 4
others = 5.
IF result = 'X'.
File exist.
ELSE.
not exist.
endif.
Rgds,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.