2007 Apr 25 7:35 PM
hi guru's,
can i run alv report as background,if it is possible can any one tell me the procedure.and where i sholud see the output.
can we run reports in background?if not why?
pls urgent...
thanx
loki
2007 Apr 25 8:20 PM
Hi,
IF SY_BATCH is initial.
Give the message saying that 'Please run the report in the Background only'
ENDIF.
or
if SY-BATCH = 'X'.
'Run the Report'
ENDIF.
Regards
Laxmi.
hi guru's,
can i run alv report as background,if it is possible can any one tell me the procedure.and where i sholud see the output.
can we run reports in background?if not why?
pls urgent...
thanx
loki
2007 Apr 25 7:41 PM
hi Yogi,
ALV report can be run in background, provided its a ALV List. ALV grid cannot be run in background as it uses controls
sorry may be i am wrong....
~~Guduri
2007 Apr 25 7:42 PM
check this link:
/people/prashant.patil12/blog/2007/02/20/displaying-alv-grid-in-background-job
SKJ
2007 Apr 25 7:43 PM
Hi
Why not you can absolutely run the reports / ALv reports in back ground.
the only criteria to run the report in back ground is:
Report must be having the Variant.
Without variant we can't run any report in back ground.
in sm36 we can create the job to run the required report in back ground by giving it's variant and in sm37 we can run that in back ground.
Regards,
Sreeram
2007 Apr 26 4:30 AM
hi ram,
finally ,can u tell me whether we can run alv reports in background or not.but as skj said again iam getting doubt.just once check the link which is given by SKJ.pls help me...
thanx,
loki.
2007 Apr 26 4:47 AM
Hi,
You can very well run ALV reports in background mode .When you run the reports in background mode it will generate spool , so for seeing the output you have to go SP01 and need to see your spool output there .
You can run grid reports also in background , but you wont get the functionality of grid there as you are running in background mode and you will get generated spool only , as it means you got the output like on paper .
For runnig reports in background mode you can write the code like ..
if not sy-batch is initial .
your output calling perform . which will have REUSE_ALV_GRID_DISPLAY or REUSE_ALV_LIST_DISPLAY .
endif .
For testing this, just run your program from SE38 , as soon as you get the selection screen , goto menu ->program-> execute in background mode , then the program will run in back ground
Try that...
Regards,
Raghav
2007 Apr 25 8:20 PM
Hi,
IF SY_BATCH is initial.
Give the message saying that 'Please run the report in the Background only'
ENDIF.
or
if SY-BATCH = 'X'.
'Run the Report'
ENDIF.
Regards
Laxmi.
2007 Apr 26 4:27 AM
hi laxmi,
r u saying about normal reports.can u give me one complete example.and once if u run the report in background where i should see the output.pls help me.
thanx,
loki.
2007 Apr 26 4:56 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |