会说话的ABAP report

发布时间:2019-08-10 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了会说话的ABAP report脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。

report z.

INCLUDE ole2incl.

DATA: ole   TYPE ole2_object,

      voice TYPE ole2_object,

      text  TYPE string.

text = 'WITh the advent of ES6 (referred to as ES2015 From here on), which not only ;made promises native to the language without requiring one of the countless available libraries,'

&& 'we also got generators. Generators have the ability to pause execution' &&

'within a function, which means that by wrapping them in a utility function' &&

'we have the ability to wait for an asynchronous operation to finish before' &&

' moving on to the next line of code. Suddenly your asynchronous code could' &&

' start to look synchronous!'.

DATA: it_tline TYPE STANDARD TABLE OF tline.

CREATE OBJECT voice 'SAPI.Spvoice'.

CALL METHOD OF voice 'Speak' = ole

   exportING #1 = text.

*

用的也是很老的OLE技

会说话的ABAP report

report代码直接call的MS的sound engine,通过sapi.dll暴露出来,

会说话的ABAP report

这个report只是call了dll里其中一个speak方法:

会说话的ABAP report

脚本宝典总结

以上是脚本宝典为你收集整理的会说话的ABAP report全部内容,希望文章能够帮你解决会说话的ABAP report所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。