Scheduling a report to run in background
Hi,
I have few queries and is it possible to execute them with the help of a background job that would fecilitate in executing the query automatically???
Thanks & Regards.
Hi,
You can do that using information broadcasting.
Check the thread below for the same. Also if you search the forum you'll get a lot of good material on the same.
Cheers,
Kedar
Similar Messages
-
Ability to schedule a report to run in background but No access to transact
Hi,
I want to give users ability to schedule a report to run in background but No access to transaction Sm37.
What can be the process/steps to work and morever if we do this is there any disadvantages that users
can face later...
<removed_by_moderator>
Thanks,
Barada
Edited by: Julius Bussche on Jan 28, 2009 1:12 PMSorry, I misread your question - thinking that the report should only be run in the background.
I agree with the others (also about SMX and SMXX to display their own jobs, but not change them afterwards), but which report (tree) is this?
You can still give the user an ability to maintain a variant via transaction VARCH though (no execute possibility) . It will check S_PROGRAM p_action VARIANT or look for a user specific protection flag.
But then the user can submit it online as well from other transactions. That is why I thought you were looking for a way to run it as low priority in the background only.
Cheers,
Julius -
Schedule a report to run in background
Hi all,
I have a report that has a selection screen .
When i schedule this report as a background job , it is cancelled : "cannot perform frontend function in batch input mode " ??
I created a variant and in the job step specified the variant name ...!! would appreciate if anyone can tell how to schedule the report to run as background job ?Hi,
Ok in this case there can be too options.
1) either take file from the shared network and put it in your presentation server and then take it into application server ( this is manual by using CG3z)and then execute your program in background
2) or you will have to code using FTP commands
First connect using FM FTP_COMMAND. you will ahve to use commands like mget etc
Once connected then pass command using FM
FTP_COMMAND
Then get the files Data into Internal table via FTP server which can be done using
FM FTP_SERVER_TO_R3
once done use the back ground processing
Make sure that there is R/3 connection mainained using SM59. -
Function module needed to schedule a report to run in background.
Hi,
I am in need of a basis fm ro schedule a report to run in the background.
There exists a function group BTCH with fm MINI_JOB_WIZARD which is what I need.The problem is that all the import parameters is mandatory
IN_JOBNAME
IN_REPVARNT
IN_REPORT
The problem with the above fm is that it requires a report variant which my report doesnt have since my report has no selection screens.
Can you please suggest me any alternative fms which does the above wizard like stuff without the annoyance of supplying a variant .
ThanksTry to use the standard FM for submit of jobs :
- [JOB_OPEN: Create a Background Processing Job|http://help.sap.com/saphelp_nwce711core/helpdata/en/fa/096ce5543b11d1898e0000e8322d00/frameset.htm]
- [GET_PRINT_PARAMETERS|http://help.sap.com/saphelp_40b/helpdata/pt/9f/dba5d535c111d1829f0000e829fbfe/content.htm] for ... print parameters.
- [JOB_SUBMIT, ABAP SUBMIT: Add a Job Step to a Job|http://help.sap.com/saphelp_nwce711core/helpdata/en/fa/096ce5543b11d1898e0000e8322d00/frameset.htm] - Use the FM if you have a variant (or call an external program), else use a ABAP [SUBMIT |http://help.sap.com/abapdocu_70/en/ABAPSUBMIT.htm] [selscreen_parameters|http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm] [job_options|http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_VIA_JOB.htm] [spool_options|http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_PRINT_PARAMETERS.htm], you can pass parameters with the [WITH expr_syntax1 WITH expr_syntax2 ... |http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm#&ABAP_ADDITION_4@4@] option.
- [JOB_CLOSE: Pass a Job to the Background Processing System|http://help.sap.com/saphelp_nwce711core/helpdata/en/fa/096eff543b11d1898e0000e8322d00/frameset.htm]
Regards,
Raymond -
Can we schedule a report to run in foreground daily
Hi,
I want to run a report in foreground daily.I know this can be done in background but i want to schedule in foreground. Can we schedule a report for running on daily basis. I am getting a dump if i do this in background job.Plz reply me.
regards,
KumarHi !
In theory you could try the following:
- Installa a Windows scheduling software such as
http://www.databecker.de/pc_zeitschaltuhr.html
on a specific PC
- Try to create a frontend-schedule to start SAP_GUI
(i.e. via shortcut with USER/PWD set) and execute the
report.
That may work.
There is a 10-Day trial-download of
http://www.databecker.de/pc_zeitschaltuhr.html
so you yould just try it.
Th site is in german so you may "Google-translate" it.
Regards
Rainer
Some points would be fine if that helped... -
Error with Scheduling a Report to run in SSRS 2000
Getting the below error when trying to schedule the report to run.
I can run the report just fine as a stand-alone and not thru the scheduler.
I have several others that run just fine in the same way.
ReportingServicesService!processing!5d4!8/24/2010-01:15:02:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set 'DataSource1'., ;
Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for data set 'DataSource1'. ---> System.Data.Odbc.OdbcException: ERROR [01004] [AcuCorp, Inc.][AcuODBC Driver][ISAM]Unable to open xfd file
at System.Data.Odbc.OdbcConnection.HandleError(HandleRef hrHandle, SQL_HANDLE hType, RETCODE retcode)
at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method)
at System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Odbc.OdbcCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.ReportingServices.DataExtensions.CommandWrapper.ExecuteReader(CommandBehavior behavior)
at Microsoft.ReportingServices.ReportProcessing.a1.v()
--- End of inner exception stack trace ---Hi Brian,
Looking at the error, the server is not able to get to the data source. If you are using ODBC, make sure the server machine has access to the file.
The exception is coming from your ODBC driver.
ERROR [01004] [AcuCorp, Inc.][AcuODBC Driver][ISAM]Unable to open xfd file
Brad Syputa, Microsoft Reporting Services This posting is provided "AS IS" with no warranties. -
Can we schedule FSG reports to run automatically?
Hi Friends,
I am wondering whether we can schedule FSG report to run automatically as standard reports. Thanks.Have a look at the Note:144838.1
Regards
Prashant Pathak -
Schedule my report to run after every hour
Hi All,
Can someone please tell me how can I schedule my report to run after every 1 hour so that the dashbaord performance increases.I have started the scheduler service .
Thanks a lot for your helpHi,
create an ibot for the report.
first configure the BI delivers, you can find the steps here,
http://oraclebizint.wordpress.com/2007/09/13/oracle-bi-ee-10133-configuring-delivers-ibots/
sorry. as you have already started the scheduler service you don need to go thru the above link.
thanks,
karthick
Edited by: kart on May 24, 2010 12:44 PM -
How Warehouse Activity Monitor LL01 Report is Running in background?
Hi Gurus,
I am Working in IMWM are & giving support. Client is facing problem with this Report, as this report is not running frequently as per scheduled in Configuration settings. for e.g after 4 hrs or after 12 hrs or 1 week etc.
Does any body know how this program is running in background?
Do I need to create any Batch Job for this?
As per our developer no need of Batch job, it has to run automatically. So if anybody know this, please let me know ASAP. We need to submit solution to client.
thanks & regards,
Anant JoshiHi,
Maybe I'm mistaken but I can't see any sense of running LL01 as background job. I think users have to run the report themselves, and it is possible to refresh it in the report itself or by running it again.
Please check (run) the transaction in SAP and check SAP online help:
http://help.sap.com/erp2005_ehp_04/helpdata/EN/c6/f83aa34afa11d182b90000e829fbfe/frameset.htm
The functions of the warehouse activity monitor are intended to assist warehouse administrators to oversee, plan and optimize work processes in the warehouse.
This report requires users' interaction so, I can't understand what you want to achieve.
Regards,
Csaba
Edited by: Csaba Szommer on Jan 13, 2009 10:35 PM -
How to Schedule a Report to Run on a Specific Business Day and Not on the Weekend
Hi,
Is there a way to schedule a Webi report to run on a specific Business Day? For example, if I wanted a report to run on the 3rd day of every month, but when the 3rd day for a particular month landed on a Saturday or Sunday, then Monday would automatically be chosen instead. Is that possible?
Thanks,
MichaelHi Michael,
You can do that by selecting the calendar option while scheduling the report and manually selecting the 3rd day of every month and when the 3rd day for a particular month landed on a Saturday or Sunday, then select the next Monday.
I dont see any option available for this scenario directly in BO.
Regards
Sri Harsha -
Maximum Line Width when Report is running in background
Hello Experts,
I have written a ABAP program and user is running in background. My output is of width of 599 characters. But wehn the user is running in the background, it is showing a warning that last 345 columns won't be displayed.
What is the maximum width, that is allowed for report being displayed in background.
Kindly help and points will be rewarded. its really urgent.
Thanks in advance.
Thanks and Regards,
SaurabhHey Saurabh,
I am facing the same problem. I have a report which has 406 characters. It is displayed correctly when executed in foreground but only 255 characters when executed in background.
You have resolved this issue. Can you please provide me the solution to execute it in background and get the complete output.
Regards,
Anosh -
How to download file to local system when report is run in background?
Hello all,
Can anybody tell me how can we donwload file into local machin when the program is running in background?
thanksHi,
We can't communicate with presentation server while processing in background.
if needed we can do this by creating RFC destination and doing some setting in Desktop system.
[Reference document|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2]
Regards,
Amal -
How can we know weather a report is running in background or foreground?
Is there any system variable to find it?
Hi Adiseshi,
You can check the value of the system variable SY-BATCH. If it contains the value 'X' it is running in background else in foreground.
Hope this helps!
Regards,
Saurabh -
SY-PAGNO does not appear when the report is run in background
Dear all,
I have one customised program that has page number included in each page. When I run it online, it will display the page number. But, when I run it in background, the page number disappear!!
The command of WRITE: 'PAGE NUMBER:', SY-PAGNO was done under TOP-OF-PAGE.
Am I doing it correctly? Please advice. Thank you.Dear Seshu,
This is my complete coding under TOP-OF-PAGE.
write: /130 'VA DYNAMICS SDN BHD',
/122 'Stock Ageing Report as at ', s_budat.
skip 1.
write: /270 'Page: ', SY-PAGNO.
skip 1.
format intensified on color col_heading .
write: /01(292) sy-uline.
write: /01 sy-vline, 'Part No. ',
sy-vline, 'Mat.Grp. ',
sy-vline, 'Description ',
sy-vline, 'GT 2 Years ',
sy-vline, '1 - 2 Years ',
sy-vline, '6 - 12 Months ',
sy-vline, '3 - 6 Months ',
sy-vline, '3 Months ',
sy-vline, '7 Days ',
sy-vline, 'Quantity ',
sy-vline, 'Value ',
sy-vline, 'Avg.Price',
sy-vline, 'ValA',
sy-vline, 'Loc. ',
292 sy-vline.
write: /01(292) sy-uline.
Below is my report declaration:
REPORT ZTEST_STKAGE_VAD NO STANDARD PAGE HEADING LINE-SIZE 295 LINE-COUNT 65 .
All this while, I used the same way of displaying SY-PAGNO. No problem at all. Now it give me a problem.
Regards. -
Problem with REUSE_ALV_LIST_DISPLAY when report is run in background
Hi All,
I had a problem with my report I am using the REUSE_ALV_LIST_DISPLAY when I run the report in foreground the report shows the output correctly but when I run it in background the report output is broken I mean some text are cut and place under each other. Please advise solution.
Regards,
EkitHello Ekit
Please, check notes below to correct it:
- 1174095 ALV print: Collective correction PRI_PARAMS_SET4
- 1039655 ALV total: Subtotals disappear from printout II
Only apply if they are relevant for your release. And always test thoroughly.
regards
Ray
Maybe you are looking for
-
Hi. My husband and I have always shared the same iTunes account. Since installing iCloud, all our contacts and calenders have merged on our iPhone 4, which we do not want. How do I rectify this? Does my husband need to set up his own apple ID? If
-
While doing a routine update from Lightroom 5.5 to v5.6 in Win 8.1, the installation halted at the start of the installation with the vague error message, "key not valid for use in specified state". Although v5.5 was working just fine, the install r
-
Output to display port Problems
Hi, I have a X220 Tablet with a HP L2045w Monitor connected (Win 7/64). Usually I connected the Monitor via Display port (with a Display port to Single DVI Adapter) which worked properly. For a short while I needed the Display Port Adapter on aanothe
-
Apple mobile device fail to start
when i open itunes i get this error itunes was not installed correctly,please reinstall itunes error 7 (windows error 14001) how can i fix it
-
MULTIPLE ACCOUNT ASSIGNMENT IN SERVICE PO
Hello Experts, I've created service PO with multiple account assignment. This PO contains manually entered condition at header level.Issue is that for multiple A/C assignment, I'm getting message " No delivery Cost can be posted in case of multipl