SAP EXE Çalıştırmak
report zdemo_program
no standard page heading
line-size 300.
data:
ifile_table type
table of file_table,
xfile_table type
file_table,
return type i..
parameters: p_app type file_table-filename
default 'C:\'.
at selection-screen on value-request for p_app.
clear ifile_table. refresh ifile_table.
call method cl_gui_frontend_services=>file_open_dialog
exporting
window_title
= 'Get App'
multiselection = space
changing
file_table
= ifile_table
rc
= return
exceptions
file_open_dialog_failed = 1
cntl_error
= 2
error_no_gui
= 3
others
= 4.
read table ifile_table into xfile_table index 1.
if sy-subrc = 0.
p_app = xfile_table.
endif.
start-of-selection.
data: app type string.
app = p_app.
call method cl_gui_frontend_services=>execute
exporting
application
= app.
Serkan AKKAVAK
Bilgisayar Mühendisi
serkurumsal@yandex.com
SAP ve ABAP ile ilgili tüm sorularınızı gönderebilirsiniz.
Social Plugin