Error in background process.
I have a report that lets you choose between executing in background or not. As far as I see, in both cases the same subroutines are executed, though if you choose to execute directly a list is shown on screen and you are asked to push exec to have the last part of the program executed.
I am getting an error when choosing background, and so far I get a time-out error whenever I try to debug.
Is it possible that a variable is not being cleared because the process is in background?
I paste below the report's code, in case someone sees any difference I'm missing...
Thanks in advance,
S.
CODE:
REPORT ZFI_GENERACION_UTE_AF
MESSAGE-ID ZFI
NO STANDARD PAGE HEADING
LINE-SIZE 116.
*Declaración de includes
INCLUDE .
INCLUDE ZFI_BATCH_INPUT.
INCLUDE ZFI_UTE_TOP_AF.
Definición de la pantalla de selección
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS: P_KOKRS LIKE TKA01-KOKRS OBLIGATORY.
SELECT-OPTIONS: P_BURKSN FOR SKB1-BUKRS OBLIGATORY.
SELECT-OPTIONS: P_GSBERN FOR BSIS-GSBER.
SELECT-OPTIONS: P_BURKSU FOR SKB1-BUKRS.
SELECT-OPTIONS: P_GSBERU FOR BSIS-GSBER.
PARAMETERS: P_GAJHR LIKE BKPF-GJAHR OBLIGATORY,
S_MONAT LIKE BSIS-MONAT OBLIGATORY,
P_BLDAT LIKE BKPF-BLDAT OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1.
Bloque1 'Tipo de procesamiento: Online - Background'
SELECTION-SCREEN BEGIN OF BLOCK BLOQUE1 WITH FRAME TITLE TEXT-004.
PARAMETERS:
X_ONLINE NO-DISPLAY, " RADIOBUTTON GROUP TYPE, " Ejecutar on-line
X_BATCH NO-DISPLAY. "RADIOBUTTON GROUP TYPE. " Ejecutar en fondo
SELECTION-SCREEN END OF BLOCK BLOQUE1.
SELECTION-SCREEN BEGIN OF BLOCK BLOQUE3 WITH FRAME TITLE TEXT-016.
PARAMETERS:
P_PARC RADIOBUTTON GROUP TIPO,
P_TOTAL RADIOBUTTON GROUP TIPO DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK BLOQUE3.
PARAMETERS: NUM_DOCS TYPE I DEFAULT '1000'.
PARAMETERS: P_CODIGO TYPE ZCODIGO_NEGOCIO.
*Declaración de includes
INCLUDE ZFI_UTES_F001_AF.
LOGICA DEL PROGRAMA
*Definición de inicializaciones
INITIALIZATION.
PERFORM INICIALIZAR_DATOS.
*Proceso principal
START-OF-SELECTION.
PERFORM INI_CABECERA.
Procesamiento Online
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-011.
CLEAR CONTABILIZADO.
PERFORM: INICIALIZAR_ESTRUCTURAS,
CONFECCION_ASIENTOS,
Si UTEs impuras se crearan los siguientes asientos
En la empresa ZZZI sólo se generarán apuntes para las cuentas
de la tabla ZHKONT_IMPURAS en las empresas ZZZ8 y ZZZ9.
add sis3e 14/01/05
CONFECCION_ASIENTO_NOD_FERR,
fin add sis3e 14/01/05
CREAR_ASIENTOS_CONTRARIOS.
CLEAR SALIR.
*Acciones de final de proceso
END-OF-SELECTION.
PERFORM VISUALIZAR_TI_APUNTES.
IF NOT SY-BATCH IS INITIAL.
PERFORM CONTABILIZAR_DOCUMENTOS.
ENDIF.
*Definición de cabeceras del listado
TOP-OF-PAGE.
PERFORM BATCH-HEADING(RSBTCHH0).
PERFORM CABECERA_INICIAL.
TOP-OF-PAGE DURING LINE-SELECTION.
PERFORM BATCH-HEADING(RSBTCHH0).
*Definición y control de acciones a tomar según entrada del usuario
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'EJEC'. " Ejecutar Contabilizaciones
PERFORM CONTABILIZAR_DOCUMENTOS.
WHEN 'ENDE'.
Finalizar
LEAVE PROGRAM.
WHEN 'ABR'.
Cancelar
LEAVE PROGRAM.
ENDCASE.
*Validaciones de los parámetros de entrada
AT SELECTION-SCREEN.
KOKRS = P_KOKRS.
moneda de la sociedad
SELECT SINGLE WAERS FROM TKA01 INTO TKA01-WAERS
WHERE KOKRS = KOKRS.
MONEDA_FERR = TKA01-WAERS.
IF CONTROL_SELECTION = '1'.
PERFORM VALIDACIONES_SCREEN_SELECCION.
CONTROL_SELECTION = 2.
ENDIF.
Hi,
Did you mean to say 'last part' of the program is executed after pressing button on application toolbar?
So even if you execute in background the list should appear and after that you need to see what the program is doing,
Rgds,
Sandeep
Similar Messages
-
Error during background processing which is created by Std.program RFBIBL00
Hi Gurus,
I am using standard program RFBIBL00 to generate batch session for the Tcode FB01.
My BDC is working fine , if i choose foreground or display error only option in SM35.But when i process the same session in
background it is giving error Field BSEG-DMBTR does exist in SAPMF05A 0302.
One more thing i want to point out when i process the session in forground or in display error only option
there i am getting information message Field BSEG-DMBTR does exist in SAPMF05A 0302. But for background due to same message i.e (Field BSEG-DMBTR does exist in SAPMF05A 0302) session processing is failed.
Actually through ZProgram data being uploaded to application server. Then i am executing std. program RFBIBL00 to generate session.And when i go to SM35 & choose the just created session for background processing,then processin i failed.
We have recently upgraded from 4.7 to ECC 6.0. Previously RFBIBL00 program is working fine but after upgrade it is not working.
Please give your valuable suggession.
Regards,
S C Patil.How are you related to this almost identical problem?
Field BSEG-DMBTR. does not exist in the screen SAPMF05A 0302
Thomas -
Error During Background Processing of BDC
Hello Experts,
I have a problem with the a BDC program running in background for transaction IW51 (Notification Creation) .I get a error message saying "Usage of one-time customers not supported" .When i process the same in foreground i dont get this message and the data gets created.
We are using a one time customers for creation of Service Notification.i found a note 768010 which is same what we are trying to do.
Wondering why the program fails in the background ! any pointers ?
Regards,
Mithun.SAP has provided note 1550899 to this issue
Edited by: Mithun Shetty on Feb 24, 2011 11:46 PM -
Error in background processing
Hi all,
I am geting this error in back ground job as "ABAP/4 processor: SPOOL_I/O_ERROR".
can anyone help.
Regards,
TarangHi,
Normally this problem will occur from Basis side,
you better to contact basis guys,
They will schedule the background jobs, some time it will run into one group, if any problem with that group, this problem will occur. You better to talk them they will tell the where the problem.
regards
rams -
Hi all!
I have this problem with the streams and I don't know what happened!!
The stream process worked fine till a couple of hour ago...and then...after a stress test this error raised!
any idea???
thanks!
milena
*** SESSION ID:(17.28) 2005-04-27 10:32:40.311
bq: kwqppscbk: Add PSE: qid: 8901, dest: SCSINCUS
*** 2005-05-03 13:08:42.108
error 4068 in STREAMS process
ORA-04068: existing state of packages has been discarded
ORA-04061: existing state of package body "SYS.DBMS_AQADM_SYS" has been invalidated
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1
OPIRIP: Uncaught error 447. Error stack:
ORA-00447: fatal error in background process
ORA-04068: existing state of packages has been discarded
ORA-04061: existing state of package body "SYS.DBMS_AQADM_SYS" has been invalidated
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1A deadlock occurs when two locks are dependant on each other.
This is unlikely to be the case here.
With out your exact command line or what your output is or if you have a dealock we will need to see the thread dump which displays where the deadlock is. -
Background process BCTL_** terminated due to missing confirmation
Hi Experts,
I have a step in Process chain for activation of a request in DSO. But its failing frequently with error message "Background process BCTL_* terminated due to missing confirmation*". I tried to remove the step from process chain and rebuild it, this avoided the failure for a day. But its failing again at same place.
Can you please guide if anything can be done to stop this failure in future?
Regards,
NirmalHi,
I also faced the same issue.
Error when activate DSO in SAP BI : "Background process BCTL_* terminated due to missing confirmation"
I Resolved by the following way:
Steps :
1.ODS Activation window > Click the button u201CActivate in parallelu201D> Changed the Number of process 3 to 1-->Save
2.ODS Activation window >Click the button u201CGet SIDs in parallelu201D> Changed the Number of process 3 to 1--> Save
Then start the activation
Successfully completed.
Hope it will help.
Thanks & Best Regards,
Hema -
Background Processing? how schedule job for "System Error" Message .
Hello everyone,
in sap help i have read.
http://help.sap.com/saphelp_nw04/helpdata/en/5a/f72040599a8f5ce10000000a155106/frameset.htm
PCK> Monitoring>Message Monitoring-->Background Processing
you can schedule jobs for various background processing:
● Archiving of messages processed successfully
● Deletion of messages that are not to be archived
● Restarting of messages with errors
● Rescheduling of lost messages
can anyone understand this docu?
give me some introduction, how can i define and schedule these jobs ?
thx in advance!!
best regards
YaningBackground Processing
Prerequisites
You have started the message monitor on the initial screen of the PCK and are in Background Processing.
Features
Archiving
You require two archiving sessions to archive messages:
● One session to write the messages to the archive
● One session to delete the persisted messages that have been archived
To do this, you schedule an archiving job, which implicitly schedules the sessions to write to the archive and delete the archived messages.
You can define one or more rules for each archiving job; these rules contain conditions that a message must meet in order to be archived by the job. At least one of the defined rules must be met for archiving to take place.
All information that is displayed for a message in message monitoring is archived, in addition to the audit log for each message.
Deleting
A standard delete job is created automatically. It runs once a day. You can schedule additional delete jobs; however, you cannot define rules for them.
Restarting
Instead of restarting messages with errors manually with message monitoring, you can schedule a job to automatically restart these messages. This is possible for all messages for which the number of defined restart attempts has been exceeded (messages with the system error status).
You can define one or more rules for each job to restart messages; these rules contain conditions that a message must meet in order to be restarted by the job. At least one of the defined rules must be met for archiving to take place.
Rescheduling
A standard job to reschedule messages is created automatically. The job runs once a day and ensures that messages lost as a result of database failure, for example, are rescheduled. You can schedule additional rescheduling jobs; however, you cannot define rules for them.
Thx Aamir.
But I mean the messages with errors in Adapter Engine , not in Intergrations Engine.
the situation is like Naveen Pandrangi's WebLog
II. Errors in Adapter Engine [XI : How to Re-Process failed XI Messages Automatically|XI : How to Re-Process failed XI Messages Automatically]
I
Till now we have seen how to resubmit/restart message that failed in Integration Engine. One a message makes it from Integration Engine to Adapter Engine, the message is flagged as checked in Integration Engine. The status of the message in Adapter engine does not effect the processed state in Integration Engine. Now if this message was asynchronous, XI will by default try to restart the message 3 times at intervals of 5 minutes before the status of the message is changed from Waiting to System Error .
*how can i schedule a job to automatically restart these messages with errors?
best regards
Yaning
Edited by: Yaning Liu on Aug 18, 2008 1:43 PM -
ERROR while uploading the data into ztable with background processing
Hi gurus,
i am trying to upload the data from excel file to internal table
its working fine ..
but........
if i try to upload the data with background processing , in sm37 it is saying "error during the upload of clipboard contents".
Regards,
SriHi,
FM GUI_UPLOAD doesnt work in background, use dataset to upload it from application server.
refer below code
*--Local Variables
DATA : l_file TYPE string,
l_line TYPE string,
l_index TYPE sy-tabix.
*--Clear
CLEAR : l_file.
l_file = p_ipfile.
*--Read the data from application server file.
OPEN DATASET l_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
*--Error in opening file
MESSAGE i368(00) WITH text-005.
ENDIF.
*--Get all the records from the specified location.
DO.
READ DATASET l_file INTO l_line.
IF sy-subrc NE 0.
EXIT.
ELSE.
SPLIT l_line AT cl_abap_char_utilities=>horizontal_tab
INTO st_ipfile-vbeln
st_ipfile-posnr
st_ipfile-edatu
st_ipfile-wmeng.
APPEND st_ipfile TO it_ipfile.
ENDIF.
ENDDO.
Regards,
Prashant -
Error: The request could not be submitted for background processing
I'm getting an intermittent error in our custom reporting application using Crystal Reports Server XI R2 w/ SP1:
Error in File C:\WINDOWS\TEMP\{F6D30537-956A-458C-96D0-84ECB520D688}.rpt: The request could not be submitted for background processing.
I'm using the Report Application Server XI Release 2 .NET SDK. This is the code that produces the exception (The export type is pdf):
ByteArray ba = this.reportClientDocument.PrintOutputController.Export(ConvertExportReportTypeToCrystalReportExportType(),0);
The error is also logged by Business Objects in the crystalras log file:
ErrorLog 2007 12 3 12:24:56.531 6624 4872 (\servers\ras\dtsagent\reporthandler.cpp:11592): CReportHandler::buildReportViewerError: CSResultException thrown. ErrorSrc:"CRPE" FileName:"\servers\ras\dtsagent\reporthandler.cpp" LineNum:11588 ErrorCode:685 ErrorMsg:" Error in File C:\WINDOWS\TEMP\{F6D30537-956A-458C-96D0-84ECB520D688}.rpt:
The request could not be submitted for background processing." DetailedErrorMsg:""
This has been happening regularly about once a week, at which point the RAS fails and no more reports can be run until the CMS and RAS servers have been restarted.
Has anyone else had this problem, or have any ideas?
ThanksIt was not a bug (not in all cases anyhow), but it is one of those error message that might as well say; something went wrong. I wrote an article on the most likely cases for the error and the article can be downloaded from here;
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33
See if the above article will help you out. Please note that having the latest SP / FP is step one. The downloads page is here;
http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup -
When I try to compress a FCP file from FCP version 5.1.4 i get an error message in Compressor Version 2.3.1: *Unable to Connect to Background Process*. I usually work on my G5 but I am on location and have been editing on my Laptop; Powerbook G4 1.25 GHz, with 1.25 gigs of RAM, 80GB Internal. Externals LA CIE 1TB & LA CIE 120GB Firewire external, running OSX 10.5.
Any suggestions???
Model Name: PowerBook G4 15"
Model Identifier: PowerBook5,2
Processor Name: PowerPC G4 (1.1)
Processor Speed: 1.25 GHz
Number Of CPUs: 1
L2 Cache (per CPU): 512 KB
Memory: 1.25 GB
Bus Speed: 167 MHz
Boot ROM Version: 4.7.1f1Moving this discussion to the Help with using Adobe Muse CC forum.
-
Compressor error message "Unable to connect to background process"
My compressor application became corrupted and showed 2220 hours to convert a FCP file of 65 min to a 90 min mpeg2. After re-installing Compressor every time I try to submit a file I get the error message "Unable to connect to background process"? I tried resetting the background as instructed in the manual but continue to get the same message?
Anybody ever encountered this problem?Ya I am also getting the same problem I asked here on forum.
some solution is here
http://www.kashum.com/rbf.pl?c=blog&i=1152611689&referer=r
on this link
http://support.apple.com/kb/TA47672?viewlocale=en_US
but they have not worked for me. -
Error in Mass process chain DP background job for Deinitialize version
Hi,
When I execute the process chain for DP background job to delete the planning area version, it gives error message
"Process DP Background Processing, variant DELETE XXXXXXX has status Ended with errors (instance D973YTQRSF0FRPV5TCR28L"
It is working well, when I tried the same manually with the same input parameters used in background job variant.
What could be the cause for the background job problem.
Thanks and regards
MurugesanHi Datta,
I am not deleting the planning version, I am using Macro in the DP background job to delete or make the key figure values to 0.
Thanks and regards
Murugesan -
Hi
We get this error when generating a pdf using crystal reports in .NET. This error doesnot occur when we run the report individually. It occurs when we have multiple users accessing the report simultaneously...
e.g of the error that gets logged...
Error in File C:\WINNT\TEMP\TransactionPDF_rpt {6F6E2A6B-9498-470D-BA4A-8F16E333C232}.rpt:
The request could not be submitted for background processing. at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
We have checked the report formats, access to folders, etc. looks fine...
Any help appreciated.See if [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33] article will help:
Ludek -
Error in batch processing: background job cannot be scheduled
Error in batch processing: background job cannot be scheduled in transaction code jpmg0. How to resolve the same?
Hello,
Check system log and also check work process trace, to know the error.
I feel that it could be Authorization issue, you don't have sufficient authorization to do.
Hope this helps.
Regards
venkata
Edited by: venkata emandi on Sep 12, 2011 8:13 AM -
Dreaded "Unable to connect to background process" error
Re: Compressor 2.0.1
A year ago I used Compressor regularly without issue. Now I get this stupid, "Unable to connect to background process" and Compressor is completely unusable.
I have read article 93234 and followed the instructions *TO THE LETTER* for Compressor 2. Still no change...same stupid message and Compressor refuses to work. I don't have anitvirus software or background disk utilities either.
I find it incredible that Apple hasn't issued an update to fix this. This is supposed to be their professional software...not some Windows crap.
Has anyone discovered what the real problem is...and how to fix this?David Harbsmeier wrote:>So that leaves the probability that it is an issue with your system. It may be time for a clean install.
A point well taken, which I will investigate and try some basic maintenance first. My Leopard install was completely squeaky clean only about 9 months ago. Doing this again would be very time consuming.
I did try something else: I rebooted from a backup clone of my previous 10.4.11 system. And as I remembered, Compressor works flawlessly there! This at least gives me an option for using it at the moment.
Nonetheless, it must be noted this error is at the top of the list when entering Apple's Compressor support page. This suggests there is a genuine issue going on that many people are encountering. And it must be a LOT of people too... The fact that a third party "fix" utility was written seems to testify to this.
In light of my experience above, is anyone successfully running *Compressor 2.0.1 in Leopard?* If there is indeed a compatibility issue with this new OS, doing a complete system reinstall may be a complete waste of time. At least I still have the option of booting to my old system where it can be used for the present.
Maybe you are looking for
-
Can't open Pages '09 Document (Upgraded to Mavericks and Pages 5.0))
There is one Pages '09 file that I can not open now that I have upgraded to Mavericks and the new Pages. Of course it is an assignment that my son needs for school! When I double-click on it I get the message that the document could not be read, th
-
Known side-effects after applied PI2004 SP1. on R/3
Hi I just installed PI2004 SP1 on R/3 side in order to make it able to communicate with BW 3.5. But we found that this PI effected to create/change purchase requisition processes (Fixed already). Does anyone know where I can find the known side-effec
-
I am working with a Captivate 2 file that I updated. Now when I embed it into PowerPoint 2003, it does not work. (It did on the previous presentation before this update) I deleted the old slide, inserted a new slide, used the More Controls > Shockwav
-
Smartwatch 2 call handling crash with Android 4.4.4
Upgraded my phone (Xperia Z Ultra - 6806) to Android 4.4.4 and now the Call Handling app crashes the connection between the watch and phone whenever I try to select a contact on the watch.
-
Hi Experts, Can anyone gve the information regarding Filter in reporting ie., in which senario this will helps and where we r going to use these filter. Regards, Ramakrishna K