ITKeyword,专注技术干货聚合推荐

注册 | 登录

会说话的ABAP report

JerryWang_SAP 分享于

2020腾讯云双十一活动,全年最低!!!(领取3500元代金券),
地址https://cloud.tencent.com/act/cps/redirect?redirect=1073

2020阿里云最低价产品入口,含代金券(新老用户有优惠),
地址https://www.aliyun.com/minisite/goods

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技术: report代码直接call的MS的sound engine,通过sapi.dll暴露出来, 这个report只是call了dll里其中一个speak方法:

要获取更多Jerry的原创技术文章,请关注公众号"汪子熙"或者扫描下面二维码:

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 ES201

相关阅读排行


相关内容推荐

最新文章

×

×

请激活账号

为了能正常使用评论、编辑功能及以后陆续为用户提供的其他产品,请激活账号。

您的注册邮箱: 修改

重新发送激活邮件 进入我的邮箱

如果您没有收到激活邮件,请注意检查垃圾箱。