Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Method search of class I_OI_WORD_PROCESSOR_DOCUMENT use twice or more times

former_member238315
Discoverer
0 Kudos

Hi. I have a problem with the method search of the class I_OI_WORD_PROCESSOR_DOCUMENT when i want use with massive data and when the code pass for it twice or more times i return the error control_internal_error. Any help? thanks.

1 REPLY 1

Sandra_Rossi
Active Contributor

control_internal_error may have so many causes... document freed, etc. You may eventually run a SAP GUI trace on the Automation component.

NB: a faster solution to generate a document is described here (and it works in background): Best way to generate Microsoft Word DOCX from ABAP, by Anton Sikidin, on 2020/05/03.