Background scheduling of Reports
Dear All,
Is it possible to schedule the Query designer reports in background.
we are in BI 7 version.
I know that we can do it by using web templates.
But iam not sure with normal reports.
pls tell me.
Thanks
Suri
Hi Suri,
You can use the broadcaster to schedule the execution of queries, workbooks and views too.
http://help.sap.com/saphelp_nw04s/helpdata/en/3a/0e044017355c0ce10000000a1550b0/content.htm
Hope this helps...
Similar Messages
-
Background Scheduling Z Report
Hi,
I have developed one report , it can output its result in alv report and excel file, So my requirement is to schedule the report and in background only email the report to the specified email id's. How can I achieve functionality of background scheduling and automatic email.
I know we can do background scheduling with SA38 or SM36/SM37 but upon scheduling it is not saving my excel file at desired location.
AnkeshYou should search forums about this....
You will need to save to the SAP Application server (in a folder which has write permission for SAP jobs) and possibly FTP to some shared drive within the network. Local PC, local MS network, like C:\, D:\, etc. is not visible to a background job, since there is NO GUI/PRESENTATION server involved in a background job. Outside of MS Office, an .XLS file is an unknown file type, probably.... how do you think you're creating a .XLS file in a background SAP job? -
Problem in background scheduling
Hi All ,
Requirement : When I run Report ZBKSCHD It will SCHEDULE another program for ex (ypr_range_rb2) .
Here I am passing program name & varint which I want to schedule
Input Field
Program Name : ypr_range_rb2
Varint : ypr_rb2
Getting errror
*********ERROR ****** ********
Short text
Exception condition "INVALID_STARTDATE" raised.
and Report ZBKSCHD scheduling ypr_range_rb2 many times not single time .( in sm36 )
******This is my background schedule program
REPORT ZBKSCHD NO STANDARD PAGE HEADING LINE-SIZE 170 LINE-COUNT 58 .
DATA: ZCOUNT LIKE SY-TABIX,
JOBNAME LIKE TBTCJOB-JOBNAME,
PARAMS LIKE PRI_PARAMS,
JOBCOUNT LIKE TBTCJOB-JOBCOUNT,
AUTHCKNAM LIKE TBTCJOB-AUTHCKNAM,
SDLSTRTTM LIKE TBTCJOB-SDLSTRTTM,
SDLSTRTDT LIKE TBTCJOB-SDLSTRTDT,
VARIANT LIKE RALDB-VARIANT,
REPORT LIKE SY-REPID,
ZTIME LIKE SY-UZEIT,
PREDJOB_CHECKSTAT LIKE TBTCSTRT-CHECKSTAT,
PRED_JOBCOUNT LIKE TBTCJOB-JOBCOUNT,
PRED_JOBNAME LIKE TBTCJOB-JOBNAME,
RELEASED LIKE BTCH0000-CHAR1.
SELECTION-SCREEN: BEGIN OF BLOCK A1 WITH FRAME TITLE TEXT-001.
PARAMETERS:
NAME LIKE RS38M-PROGRAMM OBLIGATORY,
VAR LIKE RS38M-SELSET OBLIGATORY,
JOB LIKE TBTCJOB-JOBNAME,
FRQ1 LIKE SY-INDEX,
FRQ2(2) TYPE C.
SELECTION-SCREEN END OF BLOCK A1.
SELECTION-SCREEN: BEGIN OF BLOCK A2 WITH FRAME TITLE TEXT-002.
PARAMETERS: ZDATE LIKE SY-DATUM DEFAULT SY-DATUM OBLIGATORY.
SELECT-OPTIONS:
TIME1 FOR SY-UZEIT OBLIGATORY.
SELECTION-SCREEN END OF BLOCK A2.
AT SELECTION-SCREEN ON FRQ2.
IF FRQ2 NE 'H' AND FRQ2 NE 'M' AND FRQ2 NE 'S'.
MESSAGE E001(Z1) WITH 'Time Unit must be H or M or S'.
ENDIF.
AT SELECTION-SCREEN ON ZDATE.
IF ZDATE < SY-DATUM.
MESSAGE E001(Z1) WITH 'Date must be greater than current date'.
ENDIF.
AT SELECTION-SCREEN ON TIME1.
IF ZDATE = SY-DATUM AND TIME1-LOW < SY-UZEIT.
MESSAGE E001(Z1) WITH 'Time must be greater than current time'.
ENDIF.
AT SELECTION-SCREEN OUTPUT.
IF JOB IS INITIAL.
JOB = NAME.
ENDIF.
$$* Start of selection
START-OF-SELECTION.
IF JOB IS INITIAL.
JOB = NAME.
ENDIF.
clear params.
call function 'GET_PRINT_PARAMETERS'
EXPORTING
mode = 'CURRENT'
no_dialog = 'X'
IMPORTING
out_parameters = params.
params-paart = 'X_PAPER'.
ZTIME = TIME1-LOW.
JOBNAME = JOB.
VARIANT = VAR.
REPORT = NAME.
AUTHCKNAM = SY-UNAME.
PARAMS-PRIMM = SPACE.
SDLSTRTDT = ZDATE.
CLEAR: ZCOUNT.
WHILE ZTIME LE TIME1-HIGH.
SDLSTRTTM = ZTIME.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = JOB
IMPORTING
JOBCOUNT = JOBCOUNT
EXCEPTIONS
OTHERS = 4.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
AUTHCKNAM = AUTHCKNAM
JOBCOUNT = JOBCOUNT
JOBNAME = JOB
PRIPARAMS = PARAMS
REPORT = REPORT
VARIANT = VARIANT.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
SDLSTRTDT = SDLSTRTDT
SDLSTRTTM = SDLSTRTTM
JOBCOUNT = JOBCOUNT
JOBNAME = JOB
IMPORTING
JOB_WAS_RELEASED = RELEASED.
IF RELEASED = 'X'.
WRITE: / 'Job', JOBNAME, '(' ,JOBCOUNT, ')' ,'will run at', ZTIME,
'on', ZDATE, 'with program',NAME, 'and variant', VAR.
ELSE.
WRITE: /
'Unable to release job', JOBNAME, '(' ,JOBCOUNT, ')' ,'at', ZTIME,
'on', ZDATE, 'with program',NAME, 'and variant', VAR.
ENDIF.
CASE FRQ2.
WHEN 'H'.
ZTIME = ZTIME + ( 60 * 60 * FRQ1 ).
WHEN 'M'.
ZTIME = ZTIME + ( 60 * FRQ1 ).
WHEN 'S'.
ZTIME = ZTIME + FRQ1.
WHEN OTHERS.
ENDCASE.
ENDWHILE.
Thanks for your time
RahulSloved
-
Email background schedule report to gmail or yahoo mail
Dear Expert,
My self Nayan Lad having 1 year exp in SAP ABAP.
Now my request is How can I send mail the background schedule report to some person's personal mail id through SAP.
Please guide me so I can explore my knowledge.
Thanks & regards,
Nayan Lad
Moderator Message: Please search for available information.
Edited by: kishan P on Nov 11, 2010 11:03 AMhai ,
please go through this example bcs_example8.
thankyou,
anji. -
How to schedule a report in background
could anybody inform me
how to schedule a report in background
if possible plz send the entire step by step process
thanx
regards
kals.HI,
Use transaction SM36
For step by step process refer this link...
http://help.sap.com/saphelp_bw30b/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm
Hope this helps!!
Cheers
Alfred -
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 -
Background job scheduling for report
Hi can any one explain me how to do background job scheduling for report periodically for every 15 min.
Hi Rajesh thanks for your brief explanation.
but I am new to abap so I can't understand exactly will you please make it clear for the below program
REPORT zklj.
data: begin of itab occurs 0,
partner type but000-partner,
type type but000-type,
BU_SORT1 type but000-BU_SORT1,
end of itab.
select partner type from but000 into table itab.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
FILENAME = 'd:\al1\ahaj.xls'
FILETYPE = 'DAT'
APPEND = ' '
WRITE_FIELD_SEPARATOR = ' '
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = '400'
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
WRITE_LF_AFTER_LAST_LINE = ABAP_TRUE
SHOW_TRANSFER_STATUS = ABAP_TRUE
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = itab. -
How to schedule the background job if report have Presentation server files
Hi All,
I have searched the forums and found , the way for the scheduling the background job if report selection screen have the presentation server file input.
1. Using the Open data set method.
And my client is not OK with Open dataset way, it there any other way to do this, As we are using the EXCEL file.
Thanks and Regards,
BharaniHi,
As said above it is generally not possible. Since your client most obviously doesn't like graphical background I would recomend storing data as till now, but show it with your own report in more userfriendly way. For example:
- as ALV Grid
- in excel with use of OLE either as embedded in SAP or new window (check transaction OLE for example)
- with use of webdynpro
BR
Marcin Cholewczuk -
Scheduling a report in background and passing data for processing
Hi all,
Using code (in a report1) ...i want to execute a report (report2) in background.....but at the same time i want to pass data (an internal table and a variable) to that report2.
is it possible to pass data like internal table to a executable report and at the same time pass the data to that report.
Thanks in advance.
Thanks and Regards,
Sushil.hi
regarding Scheduling a report in background check the below thread
SCHEDULE THE ZREPORT IN BACKGROUND DYNAMICALLY
regards
chandra -
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. -
Can we pass value through "EXPORT" in background scheduled report
hi experts
my query is can we pass some field using 'EXPORT' statement while scheduling a report to run in background using statement
submit 'ZXYX' via job jo_name number jo_num and return.
i am using 'IMPORT" statement in 'ZXYZ'EXPORT, as I recall, is limited to your user context. Check shared objects (which still may not work, although you can propagate to servers) and INDX-like tables. Research use of INDX-like tables for how data is passed into and out of these tables (import/export).
-
Send ALV report as email attachment but in background scheduling mode
Hi All,
I have ALV report which runs fine in the foreground.
But i need to display it in the spool that is by scheduling in the background.
can i send an excel attachement as e-mail in the background scheduling? my report contains
10 columns and i need them in proper format on excel sheet attachment? plz help me out?if possible
give me abap code..HI,
Use the below link
Sending Mail to the schedular of Background Job
Thanks -
Selection Screen Change & Impact on background scheduled reports
Hi,
I have modified the selection screen of a report program by adding additional selection criteria. This report is background scheduled and runs several times with different variants in a day. I am worried that the background jobs may fail in Production if the latest changes are moved. But I think, background jobs will not fails unless the selection criteria that are part of variants that used in the background jobs not modified. But not sure. I just want to make sure, I am doing correct thing.
Please let me know your thoughts. Appreciate your help!
Thanks,
Kannan.>
Advait Gode wrote:
> When you transport the program to production after changing the selection screen, you will have to re-create all the variants once again. Otherwise the scheduled jobs will fail.
>
> regards,
> Advait
I don't think so.
But of course you will have to update the variants to reflect the new selections.
Rob
Edited by: Rob Burbank on Jan 14, 2009 10:56 AM -
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 not view/schedule Crystal Reports in new BOE XI 3.0 Installation
Hello,
I'm having an issue on a brand new installation of BusinessObjects XI 3.0 on AIX 5.2 (using WebSphere 6.0). Installation went smoothly and migration went fine. Can log in, pull up CMC, InfoView (all other apps). But scheduled Crystal Reports (as well as viewing Crystal Report thru InfoView) are failing with the following errors (which to me seem interrelated):
*(1) Error in File ~cec0c55d91e0e015.rpt: The request could not be submitted for background processing*
*(2) Error in Report XXX: Failed to load database information*
*(3) An error occurred while creating a subprocess in the processing server. [RCIRAS0604]*
These three errors indicate to me that the report engines are having issues opening the files, pulling the data and generating the reports. We've checked to make sure that the account that BOE is running under has all the permissions it needs - and it has.
I just turned on tracing (-trace) on the report job processing servers and I'm watching the logs as I retrace my steps...
Any ideas? Would appreciate any feedback...
Thanks,
WillTurns out this is a pretty nasty issue on Unix environments. Being that the BOE application is developed on Windows then ported to Unix environments, the services (daemons) still end up depending on an emulated registry (MainWin) sort of like in a Windows environment.
For some reason (we're still trying to figure this out), the BOE registry entries got corrupted and then started preventing the processing servers (which in the case of CR ultimately depend on CRPE - Crystal Reports Print Engine) from opening up and processing CR files.
We engaged BusinessObjects/SAP support and have been able to resolve this issue on our test AIX system. The resolution included deleting all the mainwin (mw) tmp directories and files in the root temp directory and also in the
/bobje/enterprise120/aix_rs6000/crpe>
directory. Then we stopped all BOE services and reran the MW script to regenerate registry entries. This repair was a pretty intricate multi-step process. The SAP Technical Rep who worked on this case is writing a knowledge base article (an SAP note). Once I get details, I'll update this post.
The good news about this issue is that the upcoming SP1 of XI 3.0 removes the dependency on the mw registries...
Will
Maybe you are looking for
-
How can I connect my ipad to my mac and use it as a signature pad?
The company I work for want utilize the ipads we have and use them as signature pads for clients to sign off on authorization forms. Is this possible and How can I got about doing this?
-
Very Pleased With My Apple Books
Just wanted to post and say how pleased I am with my recent Apple book order. Last week, I received 2 copies of a hard cover book that I spent over 3 weeks working on and I couldn't be more pleased, especially after reading of all the issues folks ha
-
Adobe "attach as email" operation with Outlook set as default client.
Case 1: I have adobe reader installed and have multiple outlook profiles. Outlook is closed and now i perform "attach to email" operation from adobe, choose profile dialog is not displayed and email is sent from default profile account. Case 2: Start
-
Can't sync Outlook 2007 e-mail
Hello everyone, I just bought a Blackberry bold. I don't have a wireless account, since I only wish to sync my e-mail at home (Vista, Outlook 2007) and carry it with me. Now, I can sync everything (calendar, task, ...) with Outlook 2007, except my e-
-
Problems exporting a stereo-project.
Hi, i'm using premiere Elements 8.0 and have the problem, that the sound of the finished movie is only in mono and not stereo. The input-file is in stereo and while working on the project i get an stereo-signal as well, but after encoding it, that wo