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

Function Modules in Background

Former Member
0 Likes
615

Hello,

I have created one program which will display data in excel sheet after running program and at the same time it is downloaded to local directory also. I am using

EXCEL_OLE_STANDARD_DAT function module. I want only data to be Downloaded in excel format without displaying.

As there is no option for "Bold" on DOWNLOAD & GUI_DOWNLOAD i cannot use that. so tell me how to avoid display of excel sheet using EXCEL_OLE_STANDARD_DAT function module.

Can i run only function module in background when program is executed.

Regards,

Amey

3 REPLIES 3
Read only

Former Member
0 Likes
510

You cannot execute code in the BACKGROUND which is trying to write something on to your Desktop (presentation server).

I am not sure about your question of writing the file without displaying.

Regards,

Ravi

Read only

Former Member
0 Likes
510

Hi

the frontend functions don't work in background.

Max

Read only

guillaume-hrc
Active Contributor
0 Likes
510

I am afraid you would have :

- to copy the standard FM 'MS_EXCEL_OLE_STANDARD_DATA' (it is wrapped up into EXCEL_OLE_STANDARD_DAT)

- to comment this line in this newly created FM

  SET PROPERTY OF obj_ex_app 'Visible' = 1.

- to call your own 'ZMS_EXCEL_OLE_STANDARD_DATA'

That should do the trick.