‎2006 Oct 30 3:04 PM
Hi Experts,
can anyone tell me the best way to call a dll function from within ABAP?
Thanks,
Jennifer
‎2006 Oct 30 3:08 PM
Hi, I don't have any experience in calling DLLs, but you may want to give this a try.
report zrich_0001.
data: path type string.
path = 'C:WINDOWS<the_file_Name>.dll'.
call method cl_gui_frontend_services=>execute
exporting
application = path
exceptions
cntl_error = 1
error_no_gui = 2
bad_parameter = 3
file_not_found = 4
path_not_found = 5
file_extension_unknown = 6
error_execute_failed = 7
others = 8.
Regards
Rich Heilman