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: 

FM 'SAP_CONVERT_TO_XLS_FORMAT' problem-runtime error.

Former Member
0 Kudos

Hello to all,

I'm facing the following problem. I'm trying to run a simple program to download data into excel sheet using FM 'SAP_CONVERT_TO_XLS_FORMAT' .

But right after the pop up window of confirmation , concerning access to the file , the program terminates , runtime error . A RAISE statement in the program "SAPLOLEA" raised the exception condition "SYSTEM_FAILURE".

I found another similar thread, but in this,the problem was filename type. Mine is correct. Does anyone know why this is happening?

Regards,

Ilias Papadomarkakis

4 REPLIES 4

former_member182915
Active Contributor
0 Kudos

Hi,

Just for info I put the dummy code

DATA: t100_lines TYPE STANDARD TABLE OF t001 WITH DEFAULT KEY.

PARAMETERS: p_file LIKE rlgrap-filename DEFAULT 'c:\tmp\test.xls'.

SELECT * FROM t001

INTO TABLE t100_lines.

break-point .

CALL FUNCTION 'SAP_CONVERT_TO_XLS_FORMAT'

EXPORTING

i_filename     = p_file

TABLES

i_tab_sap_data = t100_lines.

cross check once if problem persist, share you code so that we inspect and give solution

former_member182915
Active Contributor
0 Kudos

Hi

Which version of GUI you are using . Check the same with GUI 730 .

Check note 2061219.

https://websmp230.sap-ag.de/sap/support/notes/2061219

May help you-

http://scn.sap.com/thread/3620981

http://scn.sap.com/thread/3445180

http://scn.sap.com/thread/1377848

raymond_giuseppi
Active Contributor
0 Kudos

Are you able to upload/download data with other reports, are you able to display XLS in place from any ALV report, did you check SAP GUI installation, and did you chek (OSS notes) compatibility between you ECC/SAPGUI/Office versions?

Regards,

Raymond

Former Member
0 Kudos

Thank you all for quick replies!

I'm using GUI 730 and my office version is 2007. I thought that would be the problem. But today everything worked perfectly without making any changes. Strange enough!

Thanks all for your time,

Papadomarkakis Ilias