Sapforum.Biz
Инструменты => SE38 - ABAP Редактор => ABAP - Инструментальные средства => Программы на ABAP => Тема начата: ysichov от Март 19, 2014, 11:06:54 am
-
Оказывается, SAP может все!
REPORT Z_SPEECH.
include ole2incl.
parameters : p_mname type char20.
data : ole type ole2_object,
voice type ole2_object,
text type string.
data : lv_time type t.
at selection-screen.
create object voice 'SAPI.SpVoice'.
text = 'Hello SAP user. What do you want? I dont want to work. Shut down your computer and go away!'.
call method of voice 'Speak' = ole
exporting #1 = text.
message text type 'E'.