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

Dump Via Background

Former Member
0 Likes
596

Hi Folks,

I have a custom report, which will internally call a smartform and download the same output as a pdf to local system(path will give in selection screen). If I excute the report in background , the job is cancelled and log says as

*TEMSE_OPEN o.k. for SPOOL0000020412*

*PDF data of length 54758 created*

*ABAP/4 processor: RAISE_EXCEPTION*

And If I goto that error analysis it says as

A RAISE statement in the program "CL_GUI_FRONTEND_SERVICES======CP" raised the

exception

condition "CNTL_ERROR".

Since the exception was not intercepted by a superior program

in the hierarchy, processing was terminated.

Short description of exception condition:

For detailed documentation of the exception condition, use

Transaction SE37 (Function Library). You can take the called

function module from the display of active calls.

Could anybody faced the same problem, please give some suggestions to rectify this issue.

Thanks

Pandu

Hi Folks,

I have a custom report, which will internally call a smartform and download the same output as a pdf to local system(path will give in selection screen). If I excute the report in background , the job is cancelled and log says as

*TEMSE_OPEN o.k. for SPOOL0000020412*

*PDF data of length 54758 created*

*ABAP/4 processor: RAISE_EXCEPTION*

And If I goto that error analysis it says as

A RAISE statement in the program "CL_GUI_FRONTEND_SERVICES======CP" raised the

exception

condition "CNTL_ERROR".

Since the exception was not intercepted by a superior program

in the hierarchy, processing was terminated.

Short description of exception condition:

For detailed documentation of the exception condition, use

Transaction SE37 (Function Library). You can take the called

function module from the display of active calls.

Could anybody faced the same problem, please give some suggestions to rectify this issue.

Thanks

Pandu

1 REPLY 1
Read only

former_member404244
Active Contributor
0 Likes
424

Hi,

You cannot use CL_GUI_FRONTEND_SERVICES while running in background.. The other option is if you want to run it in background then go for application server instead of presention server.The output will be in the application server.Now for PDF download better go for emailing the PDF as you cannot download in presenttaion server.

Regards,

Nagaraj