2007 Jul 24 10:36 AM
Hi All,
I have a z-report which displays a ALV report. when I run this in background it gets canceled. when i see the log , it has dump and dump is as shown below.
A RAISE statement in the program "CL_GUI_CONTROL================CP" raised the exception condition "CNTL_ERROR".
Since the exception was not intercepted by a superior
program, processing was terminated.
What could be the problem, suggest me a solution if i have to add some code into my program or is it an application error which can be solved by SAP Notes.
Regards
Divakar Goud,
Hi All,
I have a z-report which displays a ALV report. when I run this in background it gets canceled. when i see the log , it has dump and dump is as shown below.
A RAISE statement in the program "CL_GUI_CONTROL================CP" raised the exception condition "CNTL_ERROR".
Since the exception was not intercepted by a superior
program, processing was terminated.
What could be the problem, suggest me a solution if i have to add some code into my program or is it an application error which can be solved by SAP Notes.
Regards
Divakar Goud,
2007 Jul 24 10:38 AM
Are you using GUI_UPLOAD or GUI_DOWNLOAD in the report then they will not work there.
Use OPEN DATASET instead to read or write.
Also, check weather there is a Container for OO ALV on the Report then use Docking Containe when SY_BATCH = 'X'.
If its an normal ALV then Change the GRID to LIST layout for Backgroud. Its not that we cannot display grid in background we can do that but we require some layout handling there.
Regards,
Amit
Reward all helpful replies.
2007 Jul 24 10:40 AM
The program is using ABAP Controls. ABAP controls require interaction with the presentation server and hence cannot be run in the background. You will need to change the program to run it in the background.
Please mark points if the solution was useful.
Regards,
Manoj
2007 Jul 24 10:45 AM
Hi,
i think you use ALV_GRID. This doesn't work in background.
Check SY_BATCH and use instead REUSE_ALV_LIST_DISPLAY'.
Regards, Dieter
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |