Application Development and Automation 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: 
Read only

I_OI_WORD_PROCESSOR_DOCUMENT-REPLACE: screen starts flashing

former_member185171
Participant
0 Likes
796

Hello,

when using the REPLACE method of I_OI_WORD_PROCESSOR_DOCUMENT, the screen with the word document starts flashing with every change made in the document. This is difficult for the user that has to generate this document very often.

Is ther a way to avoid this flashing?

Thanks.

Kris

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
655

Hi,

this is a well-known effect in OLE programming, it's easy to deactivate by deactivating the display during the execution of the commands.

But do you send and flush several times, or do you send only one command? In the latter case (it seems to be your case), I think you should check SAP notes or contact SAP support.

Sandra

4 REPLIES 4
Read only

Former Member
0 Likes
655

Hi,

I guess this is a behaviour of the word processor. You should be able to disable this with some registry manipulation or by creating a macro in word itself... or perhaps just by changing the normal.dot template...

Kr,

m.

Read only

Sandra_Rossi
Active Contributor
0 Likes
656

Hi,

this is a well-known effect in OLE programming, it's easy to deactivate by deactivating the display during the execution of the commands.

But do you send and flush several times, or do you send only one command? In the latter case (it seems to be your case), I think you should check SAP notes or contact SAP support.

Sandra

Read only

0 Likes
655

Hi,

Oh yes! Sorry... was thinking about other sort of blinkings

I don't think you can prevent that flush blink if you use a screen to handle user commands however. Even by passing the parameter no_flush to the method replace, there is still the automatic flush at end of PBO...

Kr,

m.

Read only

0 Likes
655

in OLE programming

to precise things, in MS Office applications I mean