Program execution in background
Hi,
I have a program my requirement is If I press execute button in the selection screen I need to display the report output in background. Please tell me what logic additionally I need to add in my program. Is there any need to create job in sm36 or system will automatically create it by using function module job open?
Please tell me the steps to do this.
Thanks a lot in advance.
Yes.. system can create a job with the OPEN_JOB ..SUBMIT... CLOSE_JOB.
Say, you want to run the program Ztest1 into background, than make Ztest2 and use like:
ZTEST2 should contains all the fields which you want to pass to ztest1.
In Ztest2's start-of-selection.
1. open group
2. submit ztest1 with all selections and jobname/jobnumber
3. close group
Regards,
Naimesh Patel
Similar Messages
-
Regarding program execution in background
Hi ALL,
I have a report with more than 255 columns if i execute in foreground no problem but if i execute in background it is displaying upto 255 columns only it is not displaying completely. (My report has 340 columns) . So please anyone tell me how could i display more than 255 columns in background .
Thanks & Regards
K. Naveen Kumarsearch for the OSS Note.
In 4.6C you need to create a Z program ( code given in OSS Note ), it will take the spool number as parameter.
Further you also need to crate a new page format ( Xn SPAD) by copying a standard one ...like Z_65_340
That also need to be attached with the printer device type ..for local SAPWIN.
While specifying the job in SM36, in print specification , specify the new wider page format.
Further , aftre the job is run , check our the spool number created and then see the spool using the OSS - Z program.
No guarantee though
Cheers,
Ram
cheers,
Ram
Message was edited by: Ram Manohar Tiwari -
Program execution during RIMODAC2..will it always reach to cif user exit
Hello ,
We are implementing cif user exit for Purchase Order at R3 side to capture additional date field. So logic to capture additional date field is put in user exit CIFPUR01. We have RIMODAC2 background job for Purchase order running on daily basis.
if there is no change in standard Purchase Order objects. When RIMODAC2 is executed for purchase order Integration models ..will program execution still always reach to R3 user exit part of the program irrespective of if any change in standard purchase order object has happened or not.
Will appreciate your answer.
Thank you
Best Regards
Nilesh PatilNilesh,
I am no longer sure I understand the question.
RIMODAC2 activates the model. Once a model is activated, if someone changes certain specific fields in an R/3 object, then these changes are sent to SCM, either immediately or via change pointers. All this happens irrespective of IM userexits.
If this same field in this same object is changed in R/3, and a userexit also has been implemented, the userexit will execute according to its design, performing whatever task it has been programmed to do.
If you create and implement a userexit, it begins working at that moment in time that it is installed. Data that flowed across 'yesterday' to SCM is not affected. Data that flows across 'tomorrow' will be affected. Data in R/3 will usually only flow across to SCM if there is some kind of triggering event, usually a database 'change' transaction (e.g., ME22N for POs) The mere act of installing a userexit will not generally affect existing data on either side. The userexit only affects data that flows across the IM. Unchanged records in the R/3 database will generally not be sent to SCM by the IM, and will not be subject to userexit processing.
It is not generally the responsibility of a functional consultant to explain the workings of a userexit to a technical consultant. It is enough that the functional identifies the userexit, and specifies the business requirement in as much detail as possible. The developer is then responsible for carrying out the coding. Technicals are generally expected to be competent enough to determine from the userexit docs, and from the surrounding code, how a userexit works. They can also raise a message to SAP. In the end, it is all just ABAP, although userexit implementations can be quite challenging. SAP seldom provides enough details in their documentation. Once the Technical has finalized the code, Functional and Technical together then perform unit testing, before passing the mods to users for integration testing.
If your client's coders are unable to manage the task, perhaps they should engage your company to provide technical expertise, as well as functional expertise.
Best Regards,
DB49 -
Problem when I execute program SCM in background
Hi experts,
I am with problem when I execute a program (SCM) in background. I inserted a new field (estoque_seg(10)) and the process stopped at execute in background.When I call transaction and press F8, works but for this, I need jump the consistence IF sy-batch IS INITIAL....Dont has any bath imput, only functions. Any idea?
Follow below the code:
Estrutura para tabela ENTRADA
DATA: BEGIN OF st_entrada,
matnr(40) TYPE c,
werks(20) TYPE c,
ponto_abas(10) TYPE c,
estoque_max(10) TYPE c,
cobertura(10) TYPE c,
estoque_seg(10) TYPE c, " Erlon Lourenço 20/01/2011
END OF st_entrada.
Estrutura para tabela de LOG
*TYPES: BEGIN OF st_saida,
pernr(8) TYPE c ,
date(10) TYPE c,
er_contribuition(15) TYPE c,
tax(15) TYPE c,
msg_erro(80) TYPE c,
END OF st_saida.
Tabela para obter descricao da mensagem
*DATA: ti_saida TYPE STANDARD TABLE OF st_saida WITH HEADER LINE
INITIAL SIZE 0.
Tabela que recebera o arquivo texto
DATA: BEGIN OF ti_entrada OCCURS 0.
INCLUDE STRUCTURE st_entrada.
DATA: END OF ti_entrada.
DATA: BEGIN OF it_matid OCCURS 0,
matnr TYPE /sapapo/matkey-matnr,
matid TYPE /sapapo/matkey-matid,
END OF it_matid.
DATA: BEGIN OF it_locid OCCURS 0,
locno TYPE /sapapo/loc-locno,
locid TYPE /sapapo/loc-locid,
END OF it_locid.
DATA: BEGIN OF it_matlotsz OCCURS 0,
target_dur TYPE /sapapo/matlotsz-target_dur,
END OF it_matlotsz.
DATA: wa_matloc LIKE /sapapo/matloc OCCURS 0 WITH HEADER LINE,
wa_matlsim LIKE /sapapo/matlsim OCCURS 0 WITH HEADER LINE,
wa_matlotsz LIKE /sapapo/matlotsz OCCURS 0 WITH HEADER LINE.
Variáveis Globais
DATA: v_tabix TYPE sy-tabix,
v_vrsioid TYPE /sapapo/apo01-vrsioid,
v_tam TYPE i.
Select-Options & Parameters
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_versao TYPE /sapapo/apo01-vrsioex OBLIGATORY DEFAULT '000',
p_abas AS CHECKBOX ,
p_est AS CHECKBOX ,
p_cober AS CHECKBOX ,
p_estsg AS CHECKBOX. " ERLON LOURENCO - 20/01/2012 - Estoque Segurança
SELECTION-SCREEN END OF BLOCK b1.
Start-of-Selection
START-OF-SELECTION.
PERFORM consiste.
PERFORM f_upload.
PERFORM f_processa_batch.
PERFORM f_saida_dados.
MESSAGE i000 WITH 'Processo encerrado com Sucesso'.
END-OF-SELECTION.
*& Form F_UPLOAD
text
--> p1 text
<-- p2 text
FORM f_upload .
DATA: lc_file TYPE string.
TYPES: BEGIN OF st_ent,
cam(80),
END OF st_ent.
DATA: ti_ent TYPE STANDARD TABLE OF st_ent WITH HEADER LINE
INITIAL SIZE 0.
RANGES: r_file FOR zget0001-field_content.
r_file[] = zbs_constantes=>obter( i_bukrs = space i_field = 'FILE' i_process = 'PONTO-REAB' ).
READ TABLE r_file INDEX 1.
lc_file = r_file-low.
CLEAR: ti_entrada,
ti_entrada[],
ti_ent,
ti_ent[].
abrir arquivo para leitura
OPEN DATASET lc_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
MESSAGE i000 WITH text-e01.
STOP.
ENDIF.
Leitura de arquivos
DO.
READ DATASET lc_file INTO ti_ent.
IF sy-subrc <> 0.
EXIT.
ENDIF.
APPEND ti_ent.
ENDDO.
Fechamento do arquivo
CLOSE DATASET lc_file.
LOOP AT ti_ent.
SPLIT ti_ent AT ';' INTO ti_entrada-matnr ti_entrada-werks ti_entrada-ponto_abas ti_entrada-estoque_max ti_entrada-cobertura ti_entrada-estoque_seg.
APPEND ti_entrada.
ENDLOOP.
ENDFORM. " F_UPLOAD
*& Form F_PROCESSA_BATCH
text
--> p1 text
<-- p2 text
FORM f_processa_batch .
LOOP AT ti_entrada.
v_tabix = sy-tabix.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ti_entrada-matnr
IMPORTING
output = ti_entrada-matnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ti_entrada-ponto_abas
IMPORTING
output = ti_entrada-ponto_abas.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ti_entrada-estoque_max
IMPORTING
output = ti_entrada-estoque_max.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ti_entrada-cobertura
IMPORTING
output = ti_entrada-cobertura.
IA - ERLON LOURENCO - 20/01/2012
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = ti_entrada-estoque_seg
IMPORTING
output = ti_entrada-estoque_seg.
FA - ERLON LOURENCO - 20/01/2012
MODIFY ti_entrada INDEX v_tabix.
ENDLOOP.
CLEAR: it_matid,
it_matid[],
it_locid,
it_locid[],
wa_matlsim,
wa_matlsim[],
wa_matloc,
wa_matloc[].
SELECT matnr matid INTO TABLE it_matid FROM /sapapo/matkey
FOR ALL ENTRIES IN ti_entrada WHERE matnr = ti_entrada-matnr.
SELECT locno locid INTO TABLE it_locid FROM /sapapo/loc
FOR ALL ENTRIES IN ti_entrada WHERE locno = ti_entrada-werks.
IF p_versao = '000'.
LOOP AT ti_entrada.
READ TABLE it_matid WITH KEY matnr = ti_entrada-matnr.
IF sy-subrc = 0 .
READ TABLE it_locid WITH KEY locno = ti_entrada-werks.
IF sy-subrc = 0.
SELECT SINGLE * INTO wa_matloc FROM /sapapo/matloc WHERE matid = it_matid-matid AND
locid = it_locid-locid.
IF sy-subrc = 0.
IF p_abas = 'X'.
wa_matloc-reord = ti_entrada-ponto_abas.
ENDIF.
IF p_est = 'X'.
wa_matloc-maxstock = ti_entrada-estoque_max.
ENDIF.
" IA - Erlon Lourenço - 23/01/2012
if p_estsg = 'X'.
wa_matloc-safty = ti_entrada-estoque_seg. " Erlon Lourenço - 23/01/2012
endif.
"FA - Erlon Lourenço - 23/01/2012
IF p_abas = 'X' OR
p_est = 'X' OR
p_estsg = 'X'. " Erlon Lourenço - 23/01/2012
APPEND wa_matloc TO wa_matloc.
ENDIF.
SELECT SINGLE * INTO wa_matlotsz FROM /sapapo/matlotsz WHERE lszid = wa_matloc-lszid.
IF sy-subrc = 0.
IF p_cober = 'X'.
wa_matlotsz-target_dur = ti_entrada-cobertura.
APPEND wa_matlotsz TO wa_matlotsz.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP. " LOOP AT ti_entrada.
ELSE.
Verifica versáo para saber se preenche a tabela wa_matlsim
SELECT SINGLE vrsioid INTO v_vrsioid FROM /sapapo/apo01 WHERE vrsioex = p_versao.
IF sy-subrc = 0.
SELECT * INTO TABLE wa_matlsim FROM /sapapo/matlsim WHERE simid = v_vrsioid.
IF wa_matlsim[] IS NOT INITIAL.
LOOP AT ti_entrada.
READ TABLE it_matid WITH KEY matnr = ti_entrada-matnr.
IF sy-subrc = 0 .
READ TABLE it_locid WITH KEY locno = ti_entrada-werks.
IF sy-subrc = 0.
READ TABLE wa_matlsim WITH KEY matid = wa_matloc-matid
locid = wa_matloc-locid.
IF sy-subrc = 0.
wa_matlsim-reord = ti_entrada-ponto_abas.
wa_matlsim-maxstock = ti_entrada-estoque_max.
wa_matlsim-safty = ti_entrada-estoque_seg. " Erlon Lourenço - 23/01/2012
MODIFY wa_matlsim INDEX v_tabix.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP. " LOOP AT ti_entrada.
ENDIF. " IF wa_matlsim[] IS NOT INITIAL.
ENDIF. " IF sy-subrc = 0. 1º
ENDIF. "IF p_versao = '000'
Funcáo que atualiza campos nas bases de dados.
CALL FUNCTION '/SAPAPO/DM_PRODUCTS_POST'
EXPORTING
iv_vb = 'U'
TABLES
it_matloc = wa_matloc
it_matlsim = wa_matlsim
it_matlotsz = wa_matlotsz
EXCEPTIONS
not_qualified = 1
insert_failed = 2
update_failed = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " F_PROCESSA_BATCH
FORM BDC_DYNPRO
*& Form F_SAIDA_DADOS
text
--> p1 text
<-- p2 text
FORM f_saida_dados .
IF ti_saida[] IS NOT INITIAL.
DATA: lc_file TYPE string.
lc_file = p_erros.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = lc_file
FILETYPE = 'ASC'
TABLES
data_tab = ti_saida
FIELDNAMES =
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22
IF sy-subrc <> 0.
MESSAGE i005 WITH 'Error to unload file !'.
STOP.
ENDIF.
ENDIF.
ENDFORM. " F_SAIDA_DADOS
*& Form CONSISTE
text
--> p1 text
<-- p2 text
FORM consiste .
IF p_abas IS INITIAL AND
p_est IS INITIAL AND
p_cober IS INITIAL AND
p_estsg IS INITIAL. " ERLON LOURENCO - 20/01/2012 - Estoque Segurança
MESSAGE i000 WITH text-e03.
STOP.
ENDIF.
IF sy-batch IS INITIAL.
MESSAGE i000 WITH text-e02.
STOP.
ENDIF.
Best regards,
Erlon Lourenço
Edited by: Erlon Louren on Jan 27, 2012 11:09 AMHi Raja,
Check weather there are any enhancements to the datasource.If yes once check the code in CMOD.Seems there is some discrepency in that.
Regards
Karthik -
How to get the custom program generated in Background
Dear Freinds,
I have written a below code in my submit program ( zreport) .
REPORT ZHRRPCPRRU0_SUBMIT NO STANDARD PAGE HEADING MESSAGE-ID zhr_msg.
SUBMIT RPTQTA00 VIA SELECTION-SCREEN
WITH pnpbegda = sy-datum
WITH pnpendda = lv_date
with pnppernr = '99007057'.
As per your logic i have used the submit program and i am able to default the dates in the Standard program RPTQTA00 , that is perfectly correct . Now if run the standard report it is giivng me the ouput ..so the foreground concept is working correctly.
Now if iam scheduling the Z report of the custom report (z program) where iam calling the submit program
it is just scheduling and further when i look at the sm37 i can see the job getting finished . However , i dont find any spool because the standard report has not been executed , with my custom report (using the logic with submit program above in zprogram ) i am calling the standard program (RPTQTA00).
so could you please let me know how the standard program will execute and get the spool genereated? in the case of background
because when i have executed only the standard report in background i can see that it is being exceuted spool as well, however when iam calling from custom program no spool is created because my custom program only submiting the standard report and it is not executing the standard report in the case of backround ...because when iam running the custom program in the Foreground it is calling the standard program and getting the values defaulted based on the parameters which i passed , so it gets defaulted later iam running the standard program manually .
So please could you let me know how will the standard program also gets genereated in the backgroung along with my custom report.
Thanks in advance
regards
madhuri,Hi Can you try the following?
Hope this helps... (Taken from help)
Example
Scheduling a submitable program as a background task with the number number in a background request name. After scheduling, the background task is completed by function module JOB_CLOSE and released immediately.
DATA: number TYPE tbtcjob-jobcount,
name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
print_parameters TYPE pri_params.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
SUBMIT submitable TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = name
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
ENDIF. -
Concurrent program execution Error
i have genrated a simple report and copied to linux server,could any on help me how to resolve the error.Eventhough I was Getting the output.
ERROR:
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 4349601.
Review your concurrent request log and/or report output file for more detailed information.I have copied the message from the logfile itself for complete reference,plz look in to the following error
ERROR
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
APPLLCSP Environment Variable set to :
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
Enter Password:
Report Builder: Release 10.1.2.0.2 - Production on Wed Jun 4 16:36:01 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Start of log messages from FND_FILE
End of log messages from FND_FILE
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 4349601.
Review your concurrent request log and/or report output file for more detailed information.
Executing request completion options...
Output is not being printed because:
The print option has been disabled for this report.
Finished executing request completion options.
Concurrent request completed
Current system time is 04-JUN-2008 16:36:02
--------------------------------------------------------------------------- -
Date format changes in the middle of a program execution
In my C code I have a series of select statements.
When I first get a session to the database I use the following command to set the date format
alter session set nls_date_format = 'MM/DD/YYYY HH24:MI:SS'
It works fine for a few queries. After a while during the program execution I see that the date format changes to 'DD-MON-YY' format. This results in a series of error in my code because I expect the date format to always be in the 'MM/DD/YYYY HH24:MI:SS' format.
Any idea why the date format should change all of a sudden in the middle of the program execution.I second the idea that you should always use TO_DATE and TO_CHAR if you want to reliably convert between dates and strings.
Without seeing your code, it is hard to say why your date format is changing, but the most likely reason is that you are changing users somewhere in the code. For example:
SQL> show user
USER is "OPS$ORACLE"
SQL> SELECT sysdate FROM dual;
SYSDATE
11-JUL-2003
SQL> ALTER SESSION SET nls_date_format='dd-Mon-yyyy hh24:mi:ss';
Session altered.
SQL> SELECT sysdate FROM dual;
SYSDATE
11-Jul-2003 10:15:12
SQL> connect jtest/test
Connected.
SQL> SELECT sysdate FROM dual;
SYSDATE
11-JUL-2003TTFN
John -
Dear Sir,
I have following problem and very desperately looking for the solution .
I have 9ias installed on window-2000 server and on this machine JSP/Servlet is also running .
There is another Unix server also having Oracle 7.3.4 and Pro*C installed .
My requirement is that on receiving a web client request , the invoked JSP must also execute a C program on the unix machine ( the execution of C program creates a text output file on the unix machine ) and after completion of C program execution the output text file must be available to JSP . As a final result of JSP execution this output text file must be returned to WEB Client .
Please guide me how to go about this .
Thanks and Regards
B V MittalCall your C program like this from your controller servlet
Process p = Runtime.getRuntime().exec("c.exe");
BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
Then read from your generated file and populate whatever you need into a bean. -
How do I insert or delete a row in tree during program execution ?
Trying to understand how to edit/modify a tree control during program execution, specifically if I want to add a row or delete a row.
ThanksHi dwjef,
Go through this.I think by going through this you we will get an idea of how to achieve what you are trying.
https://decibel.ni.com/content/docs/DOC-20747
Thanks as kudos only -
How do I pinpoint the program execution?
Hi all,
I am wondering how to pinpoint the program's execution point? I have a problem with all of the loops not stopping properly. I hit the "Hilight Program execution" and it went to one loop, that is, it appeared greyed out, but I can't figure out which case it's stuck in. Is there a way to find the exact *point* of execution?
Thanks,
JasonYou can use breakpoints. The program will pause as soon as it hit the breakpoint. To add breakpoints, right-click in the place where you want it and set it. You can also set probes. The probes activate as soon as the information is available. Then you can be creative with the highlight execution, breakpoints and probes. You can have a fairly good idea on how your program is executing.
Otherwise, try posting your code or an image of your code so we can try to figure out what is going on.
www.vartortech.com -
Running program in the background
Hi everybody!
I need to run program in the background.
So I need only to change the sy-batch status to 'X'?HI,
if your program is runninn in the Background then the System field SY-BATCH will become 'X' otherwise it will have space ......
it will not execute the job in the background if you put SY-BATCH = 'X'
you need to use: Job_open , Job_submit and job_close function modules
example:
*Submit report as job(i.e. in background)
data: jobname like tbtcjob-jobname value
' TRANSFER TRANSLATION'.
data: jobcount like tbtcjob-jobcount,
host like msxxlist-host.
data: begin of starttime.
include structure tbtcstrt.
data: end of starttime.
data: starttimeimmediate like btch0000-char1.
Job open
call function 'JOB_OPEN'
exporting
delanfrep = ' '
jobgroup = ' '
jobname = jobname
sdlstrtdt = sy-datum
sdlstrttm = sy-uzeit
importing
jobcount = jobcount
exceptions
cant_create_job = 01
invalid_job_data = 02
jobname_missing = 03.
if sy-subrc ne 0.
"error processing
endif.
Insert process into job
SUBMIT zreport and return
with p_param1 = 'value'
with p_param2 = 'value'
user sy-uname
via job jobname
number jobcount.
if sy-subrc > 0.
"error processing
endif.
Close job
starttime-sdlstrtdt = sy-datum + 1.
starttime-sdlstrttm = '220000'.
call function 'JOB_CLOSE'
exporting
event_id = starttime-eventid
event_param = starttime-eventparm
event_periodic = starttime-periodic
jobcount = jobcount
jobname = jobname
laststrtdt = starttime-laststrtdt
laststrttm = starttime-laststrttm
prddays = 1
prdhours = 0
prdmins = 0
prdmonths = 0
prdweeks = 0
sdlstrtdt = starttime-sdlstrtdt
sdlstrttm = starttime-sdlstrttm
strtimmed = starttimeimmediate
targetsystem = host
exceptions
cant_start_immediate = 01
invalid_startdate = 02
jobname_missing = 03
job_close_failed = 04
job_nosteps = 05
job_notex = 06
lock_failed = 07
others = 99.
if sy-subrc eq 0.
"error processing
endif.
Thanks
Sudheer -
COPA Report - Execution in Background
Friends,
We have a COPA report that takes very long time to execute. For this reason the user wants to schedule the report such that it executes in the background at month-end.
In order to test the scheduling of the report execution in background in Development system, I followed the following steps:
1) Selected the report to be executed using the t-code KE30.
2) Clicked on Report - Execute in background.
3) Filled in the execution parameters and since I did not want the print of the report, I ticked the checkbox 'Rebuild frozen report data' (I was getting the error message "Select either 'Print' or 'Save'".
4) Executed the report by pressing F8. I got the message 'Report data for the report saved'.
My question is how to view the report on screen when the report is executed in background?
Please advise at the earliest.
Thanks & Regards,
Sameer S. Gupte
Office: +91 22 66452730
Cell: +91 93232747801Sameer
You cannot see this data as it is.
When you see the message 'Report data for the report saved'. It means that the system has performed a kind of summarization for the selection criteria you have entered. This is performance enhancement tool.
So you have to run the report again to view this report; but this time choose the option Read saved Data for the Read Mode under Status of Data. You can get to the see report output fairly quick.
SAP documnetation reads thus " <b>You create report-specific frozen report data by executing the report in the background and by choosing the Rebuild frozen report data option in the selection. When you call up the report again using the same selection, you have the option of displaying this frozen report data. If you would like more up-to-date frozen report data, you need to create this data again."</b>
Good luck.
Sridhar -
How do I delete programs running in background on old I phone iOS 5
How do delete programs running in background on old I phones
On iOS 5 double-click home button, touch an hold on an app icon until a "-" appears. Touch this to remove the App.
-
how do I download mozzikla 3.5 ?? Mozzilla 3.6 takes up to much space and has a program running in background storing crashed files.
== User Agent ==
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET CLR 3.0.30729; .NET CLR 3.5.30729; msn OptimizedIE8;ENUS)That crash appears to be casued by the Facebook plug-in.
Create a new account (systempreferences -> accounts or Users & Groups on 10.7 and 10.8), make a new Library in that account, import some shots and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account. -
Compiling .java files during program execution.
I have a program that read events in from a file and creates custom Event objects (which extend Thread) from this information, and then later the events are activated depending on the timing information that was provided in the file. Everything works great however, I would like to add the ability to include custom Events in the file that the events are read from. I would like the program to take that java code information and produce a class file that can be used during the programs execution. What classes can help me do this and are there any examples that anybody knows of, of something like this?
I wonder if anyone has ever tried to do this before...
http://onesearch.sun.com/search/developers/index.jsp?col=devforums&qp_name=Java+Programming&qp=forum%3A31&qt=dynamic+compilation+compile+runtime
Maybe you are looking for
-
Error code: 0xC004C003 Windows 8.1 on HP Envy 15 Notebook
Hi, Im looking for a solution to a invalid product key I bought the computer approx 18 months ago and it shipped with windows 8 I updated to windows 8.1 straight after purchase with no problems, about 3 months ago I started to have problems with comp
-
Print to go and Windows 8.1 not working
Recently moved to Windows 8.1. System on-line and full access to internet. Select Print to go and when it tries to connect it says that the ptg web page can not be opened. This heppens when the window to select the playbook device should open Old XP
-
No longer able to select customized color theme for a collection page?
Previously I have been able to select a custom colour theme for my collections in Public Site Manager by clicking on Collections > Configure Selected Collection > Theme The 'theme' tab is no longer showing – see screenshot – Does this mean we can lon
-
Hi, We have document libraries with versioning enabled to allow major and minor (draft) versions. We have a workflow (slightly modified version of the default approval workflow) which triggers when a major version is published. On some PCs (all runni
-
hi all, I have a question related to finance.I want to populate the periodic unit price to ZPUP condition tables..in se12 i dont find any table with the name ZPUP. so can anyone tell me what is the sap table where the periodic unit price will he sto