本篇内容介绍了“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技术:
report代码直接call的MS的sound engine,通过sapi.dll暴露出来,
“ABAP report技术怎么使用”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注编程网网站,小编将为大家输出更多高质量的实用文章!