2009 Aug 06 1:47 PM
Hi'
I wrote report. when running it online there is no problem.
If I try to run it in background i get DUMP " Exception condition "CNTL_ERROR" raised."
"A RAISE statement in the program "CL_GUI_CUSTOM_CONTAINER=======CP" "
Please advise.
Regards
Yifat bar
2009 Aug 06 1:56 PM
Hi'
I wrote report. when running it online there is no problem.
If I try to run it in background i get DUMP " Exception condition "CNTL_ERROR" raised."
"A RAISE statement in the program "CL_GUI_CUSTOM_CONTAINER=======CP" "
Please advise.
Regards
Yifat bar
2009 Aug 06 1:53 PM
its using screen controls ... cannot be executed in background
Edited by: Keshu Thekkillam on Aug 6, 2009 6:23 PM
2009 Aug 06 1:53 PM
Hi,
By using a container for your ALV grid what I think you're written is a dialog transaction not a report. You will need to use ALV techniques that are part of list processing if you want to run in background as well as forground.
Regards,
Nick
2009 Aug 06 1:54 PM
Hi,
You are making use of objects such as the ALV container.
It cannot be shown in background.
You are bound to get this dump.
Put a check that incase you run in background then do not create the object.
Regards,
Ankur Parab
2009 Aug 06 1:56 PM
Hi,
Any program which contains download and upload frm server or any interaction with GUI Fails in Background.
Regards,
Lakshman.
2009 Aug 06 1:56 PM
Hi ,
Have you created the Custom conatiner object and check if that variable is INITIAL only ..u need to display data.
Thank you.
Regards,
Padmasri.
2009 Aug 06 1:56 PM
2009 Aug 06 1:59 PM
2009 Aug 06 2:02 PM
check the value of sy-batch.
if sy-batch = 4 "then in background.
endif.