SAP自定义声音警告可以使用此功能
INCLUDE ole2incl.
DATA : ole TYPE ole2_object,
voice TYPE ole2_object,
text TYPE string.
CREATE OBJECT voice 'SAPI.SpVoice'.
text = 'SAP TECHNICAL'.
CALL METHOD OF voice 'Speak' = ole
EXPORTING #1 = text.
SAP自定义声音警告可以使用此功能
INCLUDE ole2incl.
DATA : ole TYPE ole2_object,
voice TYPE ole2_object,
text TYPE string.
CREATE OBJECT voice 'SAPI.SpVoice'.
text = 'SAP TECHNICAL'.
CALL METHOD OF voice 'Speak' = ole
EXPORTING #1 = text.