Error while executing BDC in background.
Hi
I have written a program that creates a background job to execute a BDC on Transaction CKMPRPN. This transaction is used to update future price of Materials. When this program is executed in foreground it works perfect. But when it is executed in background it throws these error messages. Same error messages are displayed when I process the BDC recording in background.
Enter at least one plant
Enter at least one plant
Spool request (number 0000023938 ) created without immediate output
No batch input data for screen SAPMSSY0 0120
Can anyone tell me why this problem is occuring only during background execution?
Or Do I need to find out a Function Module to update the future price of materials?
Thanks Kris,
Its a useful answer.. But unfortunately in 4.6C version we dont have this option of 'simulate background mode'.
Anyways.. I was able to find the solution.. I used call transaction and executed the BDC program in background and it worked. Earlier I was executing a single transaction for set of materials. But now I m executing separate transaction for each material. It gives these messages at every execution but it also updates the database. Dont know how..
Similar Messages
-
Fatal error while executing BDC in background for PFCG transaction
Hello,
I have requirement where I have to create or modify roles in PFCG transaction.
I used BDC to do this. While executing in foreground it works fine but in
background mode it is giving me runtime error as
"Control Framework: Fatal error - GUI cannot be reached". What
could be the reason behind it.
Is there any BAPI available to meet this functionality where I can modify or
create new roles in PFCG Transaction code.
Thank You.
Regards,
DipakHi Dengyong,
I tried searching with that. But did not get any suitable BAPI or FM to meet this functionality.
Regards,
Dipak -
Error while executing file in Background
Hi All,
I need to schedule a job in background.where i need to read data from excel file.
while executing in background mode its saying 'Error while reading file'.
but in foreground i can able to execute it.can anybody help me out.
Thanks
Sudhahi Sudha,
I think the program tries to read from presentation server (with GUI_UPLOAD or something similary), which is not possible in background (because in background there is no presentation server).
hope this helps
ec -
Error while running BDC in Background
Hi,
I am using BDC for a custom transaction YMMFGC. The operation that I am acheiving using this transaction is updating Materials from SalesOrg/Dist Chnl to another SalesOrg/Dist Chnl. When I am trying to run the Program in Foreground in No Screens Mode or Visible screen navigations, the data is getting updated in the MVKE table. Extension is verified for in this table. But when I try to run the program in the background, the job is getting finished successfully, but the data is not getting updated in the table. Please suggest how to proceed with this.
Thanks!!!
ChKWrite your BDC_OPEN_GROUP in the following manner..
p_group - Name of BDC session
p_keep - set to 'X' to keep session after process
p_user - User ID for authorizations
p_subrc - returned status.
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
client = sy-mandt
group = p_group
keep = p_keep
user = p_user
IMPORTING
qid = p_qid
EXCEPTIONS
client_invalid = 1
group_invalid = 3
group_is_locked = 4
running = 8
system_lock_error = 9
user_invalid = 10
OTHERS = 11.
also..what does update mode 'P' means..it should be either 'S' or 'A' or 'L'..
Check below...
ctumode LIKE ctu_params-dismode
" A: show all dynpros
" E: show dynpro on error only
" N: do not display dynpro
cupdate LIKE ctu_params-updmode
" S: synchronously
" A: asynchronously
" L: local
TRANSLATE: p_tcode TO UPPER CASE,
ctumode TO UPPER CASE,
cupdate TO UPPER CASE.
CALL TRANSACTION p_tcode USING p_tb_bdc
MODE ctumode
UPDATE cupdate
MESSAGES INTO p_tb_bdcmsg. -
Error while executing program in background
We have a program to upload data to the presentation server in the xml file format.
It is working fine in foreground.But whenever we are trying to execute it in the background it gives error:
'Error in control framework'.Prem,
Looking at the error that you have shown, looks like its a different error. Is there a control/GRID that is being used in the program.
If you are using a CUSTOM CONTAINER and a GRID to display the data, whenever you executing the program, you should not create the container. Something like this ..
if cl_gui_alv_grid=>offline( ) is initial.
create object CUSTOM_CONTAINER
exporting container_name = CUSTOM_CONTROL
endif.
Regards,
Ravi
note : Please reward the helpful posts. -
Error while executing BDC by scheduling
I am using Sm36 for scheduling BDC program for MIRO. It is giving the error
Control Framework: Fatal error - GUI cannot be reachedHi,
Are you uploading any file to this program through your PC ?
If this is the case you cannot schedule the BDC in your backgroud.
If you still need to schedule it in the background please make sure that this file is in the Application server.
Regards,
Pramod -
Error while executing the Job for Objects :null Batch Risk Analysis
Hi All,
We've recently upgraded Virsa to version 5.3_14 . I'm encountering a problem when executing the Batch Risk Analysis job for users, roles and profiles. The job does not complete for some objects and it seems to be sporadic and shows this error: -
Background Job History: job id=395, status=2, message=Error while executing the Job for Object(s) :ABROWN:null
I've attached the log for your review.
Thanks in advance for your help.
Linda Lewis
Feb 9, 2011 1:47:53 PM com.virsa.cc.xsys.meng.ObjAuthMatcher <init>
FINEST: ObjAuthMatcher constructed: 4ms, #singles=2141, #ranges=0, #super=0
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.riskanalysis.AnalysisEngine riskAnalysis
WARNING: Job ID:395 : Failed to run Risk Analysis
java.lang.StringIndexOutOfBoundsException at java.lang.String.substring(String.java:1019)
at com.virsa.cc.xsys.util.RuleLoader.getPermRule(RuleLoader.java:573)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.performActPermAnalysis(AnalysisEngine.java:1609)
at com.virsa.cc.xsys.riskanalysis.AnalysisEngine.riskAnalysis(AnalysisEngine.java:321)
at com.virsa.cc.xsys.bg.BatchRiskAnalysis.performBatchRiskAnalysis(BatchRiskAnalysis.java:1166)
at com.virsa.cc.xsys.bg.BatchRiskAnalysis.performBatchSyncAndAnalysis(BatchRiskAnalysis.java:1464)
at com.virsa.cc.xsys.bg.BgJob.runJob(BgJob.java:560)
at com.virsa.cc.xsys.bg.BgJob.run(BgJob.java:363)
at com.virsa.cc.xsys.riskanalysis.AnalysisDaemonBgJob.scheduleJob(AnalysisDaemonBgJob.java:375)
at com.virsa.cc.xsys.riskanalysis.AnalysisDaemonBgJob.start(AnalysisDaemonBgJob.java:92)
at com.virsa.cc.comp.BgJobInvokerView.wdDoModifyView(BgJobInvokerView.java:444)
at com.virsa.cc.comp.wdp.InternalBgJobInvokerView.wdDoModifyView(InternalBgJobInvokerView.java:1236)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)
at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:337)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:481)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doModifyView(WindowPhaseModel.java:551)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:148)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:332)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.util.Lock lock
FINEST: Lock:1004
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.util.Lock unlock
FINEST: Unlock:1004
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.bg.BatchRiskAnalysis performBatchRiskAnalysis
WARNING: Error: while executing BatchRiskAnalysis for JobId=395 and object(s):ABROWN: Skipping error to continue with next object: null Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.bg.BgJob updateJobHistory
FINEST: --- @@@@@@@@@@@ Updating the Job History -
2@@Msg is Error while executing the Job for Object(s) :ABROWN:null
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.bg.dao.BgJobHistoryDAO insert
INFO: -
Background Job History: job id=395, status=2, message=Error while executing the Job for Object(s) :ABROWN:null
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.util.Lock lock
FINEST: Lock:1004
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.util.Lock unlock
FINEST: Unlock:1004
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.bg.BatchRiskAnalysis performBatchRiskAnalysis
INFO: --- BKG User Permission Analysis (System: P20:020) completed --- elapsed time: 4522 ms
Feb 9, 2011 1:47:54 PM com.virsa.cc.xsys.util.Lock lock
Edited by: Linda Lewis on Feb 9, 2011 9:08 PMHi,
Was a solution found for this error?
Thanks,
Glen -
Error while executing the Job:Cannot assign NULL to host variable 1
Hello!
I have the following issue:
Error while executing the Job:Cannot assign NULL to host variable 1. setNull() can only be used if the corresponding column is nullable. The statement is "INSERT INTO "VIRSA_... (see log for details)
Note 1362138 - Rule generation - null pointer exception virsa_cc_rtmap doesn't me. After uploading files of ZCC_DOWNLOAD_SAPOBJ and ZCC_DOWNLOAD_DESC I got the same problem during job running...
How can I find out where is the problem?Hi
That looks like your fields are disabled but they could still be causing the problem edited ( nah - talking rubbish as you've put dummy " " in there) edited - the 'null' error caused many background jobs to fail but, once we had the evidence to show the space (somebody had pressed enter instead of delete/backspace to clear the entry) it stopped the problem - just a bit of learning on the job which we all go through for the GRC chaps in KL.
A " " would be valid but a (I know you can't see it but it's there wouldn't be )
edited.When you did an edit/replace did it say it had replaced anything please?edited
The word doc option does sound good!
Cheers
David
Edited by: David Berry on Nov 4, 2010 7:33 PM -
Error while executing Batch Risk Analysis job in full sync mode
Hi Gurus,
I am getting following error while executing Batch Risk Analysis job in full sync mode for the first time, please help me out.
May 12, 2011 3:57:26 AM com.virsa.cc.multi.node.dao.NodeDAO deleteMTGenObjTable
INFO: In deleteMTGenObjTable() deleting from VIRSA_CC_MTGENOBJ for jobid = 100
May 12, 2011 3:59:53 AM com.virsa.cc.multi.node.dao.NodeDAO deleteMTGenObjTable
INFO: In deleteMTGenObjTable() deleting from VIRSA_CC_MTGENOBJ for jobid = 100
May 12, 2011 3:59:53 AM com.virsa.cc.xsys.bg.BatchRiskAnalysis performBatchSyncAndAnalysis
INFO: --- Batch Sync/Analysis/Mgmt Report completed --- elapsed time: 104907817 ms
May 12, 2011 3:59:53 AM com.virsa.cc.xsys.bg.BgJob setStatus
INFO: Job ID: 100 Status: Error
May 12, 2011 3:59:53 AM com.virsa.cc.xsys.bg.BgJob updateJobHistory
FINEST: --- @@@@@@@@@@@ Updating the Job History -
2@@Msg is Error Job not completed
May 12, 2011 3:59:53 AM com.virsa.cc.xsys.bg.dao.BgJobHistoryDAO insert
INFO: -
Background Job History: job id=100, status=2, message=Error Job not completed
May 12, 2011 3:59:53 AM com.virsa.cc.xsys.riskanalysis.AnalysisDaemonBgJob scheduleJob
INFO: -
Complted Job =>100----
May 12, 2011 3:59:53 AM com.virsa.cc.xsys.riskanalysis.AnalysisDaemonBgJob scheduleJob
INFO: Daemon idle time longer than RFC time out, terminating daemon [211288050]/usr/sap/DAC/JC21/j2ee/cluster/server0/. Thread ID 0
May 12, 2011 3:59:53 AM com.virsa.cc.xsys.riskanalysis.AnalysisDaemonBgJob start
INFO: Analysis Daemon ID [211288050]/usr/sap/DAC/JC21/j2ee/cluster/server0/. Thread ID 0 terminiated
May 12, 2011 4:00:35 AM com.virsa.cc.xsys.bg.AnalysisDaemonThread run
FINEST: Analysis Daemon Thread: Invoking (HTTP): http://10.66.218.68:52100/webdynpro/dispatcher/sap.com/grc~ccappcomp/BgJobStart?daemonId=[211288050]/usr/sap/DAC/JC21/j2ee/cluster/server0/.&threadId=0&daemonType=BG
May 12, 2011 4:01:36 AM com.virsa.cc.xsys.bg.AnalysisDaemonThread run
FINEST: Analysis Daemon Thread: Invoking (HTTP): http://10.66.218.68:52100/webdynpro/dispatcher/sap.com/grc~ccappcomp/BgJobStart?daemonId=[211288050]/usr/sap/DAC/JC21/j2ee/cluster/server0/.&threadId=0&daemonType=BG
May 12, 2011 4:02:37 AM com.virsa.cc.xsys.bg.AnalysisDaemonThread run
FINEST: Analysis Daemon Thread: Invoking (HTTP): http://10.66.218.68:52100/webdynpro/dispatcher/sap.com/grc~ccappcomp/BgJobStart?daemonId=[211288050]/usr/sap/DAC/JC21/j2ee/cluster/server0/.&threadId=0&daemonType=BG
May 12, 2011 4:02:37 AM com.virsa.cc.xsys.riskanalysis.AnalysisDaemonBgJob start
INFO: Analysis Daemon ID [211288050]/usr/sap/DAC/JC21/j2ee/cluster/server0/. Thread ID 0 started
May 12, 2011 4:02:38 AM com.virsa.cc.xsys.riskanalysis.AnalysisDaemonBgJob start
FINEST: Another Analysis Daemon ID [211288050]/usr/sap/DAC/JC21/j2ee/cluster/server0/. Thread ID 0 is already runningHi,
May be it worked in your case How the job names going to affect the execution of the job. The issue is purely because of RFC timeout (As per the logs). I recommend to change the parameter in the configuration tab as recommended by Sunny in the previous thread.
Regards,
Raghu -
TIME LIMIT EXCEEDED ERROR WHILE EXECUTING DTP
Hi gurus,
I Have got an error while executing
The errors are as follows.
1.Time limit exceeded. No return of the split processes
2.Background process BCTL_DK9MC0C2QM5GWRM68I1I99HZL terminated due to missing confirmation
3.Resource error. No batch process available. Process terminated
Note: Iam not executing the DTP as a back ground job.
As it is of higher priority the answers Asap Is appreciated.
Regards
Amar.Hi,
how is it possible to execute a DTP in dialog process. In my mind it is only possible for debugging...
In "Display Data Transfer Process" -> "Goto" -> "Settings for Batch Manger" you can edit settings like Number of Processes or Job Class.
Additional take a look at table RSBATCHPARALLEL and
http://help.sap.com/saphelp_nw04s/helpdata/en/42/f29aa933321a61e10000000a422035/frameset.htm
Regards
Andreas -
Debug error: Errors while executing step
Hi gurus:
While debugging a complex mapping, I received the following error.
DEPENDENCY: EXPR executing...
Errors while executing step
DEBUG INPUT ROW: 1
TABLE: DBG$ID2_MTL_SYSTEM_ITEM_B_GR
STATEMENT: TRACE177:TRACE180:
"GE_8_SY"
("DBG$ID2_MTL_SYSTEM_ITEM_B_GR_I$1"):=
""DW_PG".GET_COURSE("MT_1_IN$2"
("DBG$ID2_MTL_SYSTEM_ITEM_B_GR_I$1"), "MT_2_OR$2"
("DBG$ID2_MTL_SYSTEM_ITEM_B_GR_I$1"), 'CATEGORIES', 5)/*ATTRIBUTE EXPR.OUTGRP1.ID2:EXPRESSION*/;
ORA-29280: invalid directory path
ORA-06512: at "SYS.UTL_FILE", line 41
ORA-06512: at "SYS.UTL_FILE", line 478
ORA-06512: at "DW_PKG", line 377
ORA-06512: at "DW_PKG", line 3424
ORA-01403: no data found
As a background, the error occurred at EXPR step which is calling a function. Function calls additional tables in the source schema (tables not brought into Staging) I have imported the Package from the DB (Target) Do I need to do something special for the function to be able to access the tables in the source schema?
Thanks in advance for your help.I ran into a similar problem about a year ago. Very random, but kept happening at least once a week. Finally figured out that the static IP address for our server was left in the dynamic IP address pool. So every so often, the address was dynamically assigned to a second machine. Which caused a similar type of problem that you are seeing. I don't know if this is your problem. But it sounds familiar.
Hope it helps.
Mike -
Hi All ,
I got an error while executing a DTP. Short Dump analysis points this error. : DBIF_REPO_SQL_ERROR.
Please provide in your valuable inputs to resolve this error.
Thank & Regards,
Rohit GargThis error comes majorly when you have a deadlock in your code. Check ST22 if you have any short dump corresponding to it and see the source code where it is getting stuck.
If you find this dump explaining table space issue, then contact Basis, they will be able to help you with table space problem.
Edited by: Deepmala Agarwal on Aug 18, 2009 7:40 AM -
error while executing script for sharepoint online (office 365) - the remote server returned an error: (503) server unavailable.
I am creating many site collections reading records from sharepoint list using powershell in sharepoint online tenant (office 365).
Few site collections are created and then getting above error so this error record will be skipped then few succeeding record processed then again getting error.
pattern is like:
success
success
success
success
Error
success
success
success
success
success
success
error
successHi,
As it is an online environment, to troubleshoot this issue in an easier way, I suggest you contact Office 365 Support to see if there is any useful information in
the log files in the server side:
https://support.office.com/en-us/article/Contact-Office-365-for-business-support-32a17ca7-6fa0-4870-8a8d-e25ba4ccfd4b?ui=en-US&rs=en-US&ad=US
Best regards
Patrick Liang
TechNet Community Support -
Error while executing the script adgetlnxver.sh
Error while executing the script adgetlnxver.sh on apps&db tier during upgrade from 11.5.9 to 11.5.10.2
-bash: [: -lt: unary operator expected
[aptinst@dba5 TINST_dba5]$ sh adapcctl.sh restart
adapcctl.sh version 115.55
/u01/app/tinst/tinstappl/ad/11.5.0/bin/adgetlnxver.sh: line 123: [: -lt: unary operator expected
Apache Web Server Listener :httpd ( pid 8645 ) is running.
Restarting the Apache Web Server Dedicated HTTP Listener..
Apache Web Server Listener (PLSQL) :httpd ( pid 8673 ) is running.
Restarting the Apache Web Server Dedicated PLSQL Listener..
adapcctl.sh: exiting with status 0
In adgetlnxver.sh: line 123 says
if [ ${setflag}x = "x" -a $os = "RH" ]; then
redhatver=`grep -oP "Enterprise Linux [a-z A-Z 0-9]* release [0-9]+" /etc/redhat-release | sed 's/Enterprise Linux [a-z A-Z 0-9]* release //g'`
if [ $redhatver -lt 5 ]; then
LD_ASSUME_KERNEL="2.4.19"
export LD_ASSUME_KERNEL
fi
fi
Thanks,
VamsiHi Vamsi.
The exactly erro refers to a problems when you try upgrade from these version to 11.5.10.
Can you read this note and apply solution? The note refers a patch, but the problem is the same.
After Patch 4334965, adstrtal.sh & adstpall.sh is failing with errors [ID 360046.1]
BR Rafael Ceolim -
Js-error while executing Multiple Image Upload wizard
If i want to save the configured window of Multiple Image Upload with Save to Database wizard i get this js-error: "While executing onClick in MIUploadWSaveWizard.htm, a JavaScript error occured".
can someone help?
thanx
peterThat again would be more of a question for the Cold Fusion group.
Try http://forums.adobe.com/community/coldfusion/coldfusion_administration
Those people will be able to help you out more.
Brad Lawryk
Adobe Community Expert, Dreamweaver
Adobe Usergroup Manager, Northern British Columbia Adobe User Group
Maybe you are looking for
-
How to Install .CAP file in the Java Card?
Hi Friends.. How to install *.CAP* file in the Java Card?.. I've GPShell script as follows : mode_211 enable_trace establish_context card_connect -readerNumber 2 open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_k
-
Looking for a bit of advice... (UK)
I'm going to be moving into a new place shortly, the house currently has a BT Voyager Router/Modem, with the USB port connecting the household PC. The ethernet port isn't used, so I could use that to connect my iBook, but my bedroom is at the other e
-
How do I allow pop ups in safari without being asked "block or allow" ?
I'm assuming that when I turned on the setting in Safari to allow pop-ups, I wouldn't have to tell the browser to allow or block every single pop up after that. Is there a combination of settings to make allow pop-ups without the additional "block o
-
My WishList of features for next Version
Hi Team, As Developer I really love Catalyst,It does complete my FlashBuilder development experience all the way, but still I would like to share some of my wishes on features that could be nice to have for next Version: 1) Build but dont automat
-
Can I use Oracle app server with mysql
Can I use Oracle app server with mysql. I seem to have the following error when trying to create a datastore. I have mysql.jar in my classpath. Can any one tell me what's wrong. Error initializing data-source 'jdbc/topup': DriverManagerDataSource dri