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

how to remove control flush exception

laxman_sankhla3
Participant
0 Likes
484

hi

basically i m devloping one application with lotus notes domino serve

i made one bapi in which i m using gui_download function modul

when i m running my bapi in SAP environment which i devloped its working fine

not any kind of exception is generating pdf file also genearting and my bapi saving it into c:/

no problem with sap gui.

but when i m trying to run my bapi in which i used gui_download functon module in this function module one exception is there control fulsh erro

is generating.

so how can i remove this exception when i m tring to run this bapi from lotus notes domino mail server.

help

thanks in advanced.

2 REPLIES 2
Read only

Former Member
0 Likes
391

Hi Laxman

While execute in SAP environment directly your execution is treated as online execution and hence no problem in using GUI_DOWNLOAD.

While executing the same FM via interface(RFC), it is treated as background execution and in background executions no GUI actions are supported and hence GUI_DOWNLOAD will not work.

Kind Regards

Eswar

Read only

Former Member
0 Likes
391

hi Lakshman,

GUI Functions will not work in background ... use Open dataset, Close dataset , read dataset and transfer dataset statements ..

Regards,

Santosh