12-16-2005 5:39 PM
Hey,
I wrote a program to download data to EXCEL. It is working fine during foreground execution. But when iam executing it as Background Job, it is throwing an exception. Please help me out. here is the exception details.
Job started
->Step 001 started (program ZVNKASHA, variant 000000000005, user ID QQKUMAK)
-> ABAP/4 processor:RAISE_EXCEPTION
-> Job Cancelled
WHen i digged into that APAP/4 Processor: RAISE_EXCEPTION.
....
The termination occurred in line 350 of the source code of the (Include)
program "LSFESF02 "
of the source code of program "LSFESF02 " (when calling the editor 3500).
The program "SAPLSFES " was started as a background job.
003290 CREATE OBJECT converter
003300 EXPORTING
003310 outcode = codepage
003320 miss = prc_miss
003330 broken = prc_broken
003340 use_f1 = 'X'
003350 substc = prc_sapno
003360 EXCEPTIONS
003370 INVALID_CODEPAGE = 1
003380 INTERNAL_ERROR = 2.
003390
003400 IF sy-subrc <> 0.
003410 CASE sy-subrc.
003420 WHEN 1.
003430 RAISE UNKNOWN_ERROR.
003440 WHEN 2.
003450 RAISE UNKNOWN_ERROR.
003460 ENDCASE.
003470 ENDIF.
003480
003490 ELSE.
-
> RAISE UNKNOWN_ERROR.
003510 ENDIF.
An Immediate reply would be great.
Thanks.
Anvitha.
12-16-2005 5:45 PM
Hi Anvitha,
You cannot download to the desktop/pc in the background. Basically, your desktop will not ba available during the background process. You will have to store it on the Application server and then download to your pc from there.
Regards,
Suresh Datti
12-16-2005 5:46 PM
You can't download to the local PC in the background.
The same question comes up very frequently in this forum. You can search it to find workarounds.
Rob
Message was edited by: Rob Burbank
12-16-2005 5:48 PM
12-17-2005 4:49 AM
Hi
I have a requirement to download a table to excel. Can you tell me how to download data to excel.
You can post this here or please mail me at my id.
chataraju_lavanya@gmail.com
Thanks and Regards.
Lavanya.