Problem in a job
Hi ,
We have a job define for clearing GR/IR imbalances but that job is not picking POs in backend but when we are trying to save run the job by putting the POs in variant it is picking the posting the POs .
Can any 1 tell me the reason for this unusual behaviour.
thanks
Hi
I think you need to enter Purchase Orders for which you want GR/IR balances to be posted. SAP std program cannot automatically pick up the POs when you schedule the Job.
There needs to be a logic to pick the PO's that need to be GR/IRed
Hope this helps let me know if you need any more info.
Thanks
Similar Messages
-
Problem in Background Job. Job Completed Successfully but data not Posted
Hi All,
There is a problem in Background Job in Production server (600).
The job completed successfully but data not posted.
The same Job was working perfectly till the starting of the May month.
but now it is not working and rebate has not been posted.
Where to check and what to check
Pls suggest.
Regards,
P KamalHi ,
Please first check the status of the Job , ifs successfully completed then debug it (tcode JDBG) and
check out, whether the values passed (might be using Import-export ,set-get parameter Ids) to the Job are getting passed properly or not. These values might not be getting passed properly.
If it has some error in Job Log then let me know the error.
Regards,
Uma -
Problem while scheduling job in apex
Hi All ,
I have problem while creating job in apex .Let me explain my problem clearly.I have created a page in
url: http://apex.oracle.com/pls/otn/
Workspace : PREETHI_WORKSPACE
User ID : [email protected]
Password : bowova1
Application :Parse and upload csv file -21007
Page No:1
Page Name :Parse csv file.
Main functionality of this page is to upload csv file into oracle table .First user will browse a file from local machine and upload it in upload region.After that,user enters a table name and clicks create table button which creates a table in DB and also shows the report for the same .Creating table is happening through "create table " process when user clicks "create table" button.Code is working fine .One more things here is, in csv file the second row should have data type mentioned .
My requirement is ,i have to schedule "htmldb_tools.parse_file" in create table process as a job .In this "create table process" we are calling htmldb_tools.parse_file(:P1_FILENAME,'P1_COLLECTION','P1_HEADINGS','P1_COLUMNS','P1_DDL',:P1_TABLENAME);
Problem Iam facing here is that the scope of item :p1_filename is getting lost when we pass it to procedure .I think problem is due to different apex and database session .
Tried a lot through various ways ..Not finding the solution.
Please help...Hi Marco,
I have tried with the setting what u have mentioned in htmldb_tools.parse_file procedure: wwv_flow_api.set_security_group_id(<workspace_id>);
But Job Getting fail and giving error ""ORA-01400: cannot insert NULL into (ORA-01400: cannot insert NULL into ("FLOWS_020200"."WWV_FLOW_COLLECTIONS$"."SESSION_ID")
ORA-06512: at "FLOWS_020200.WWV_FLOW_COLLECTION", line 319
ORA-06512: at "DIMPLE3_HD_DEV.HTMLDB_SID_50", line 196
ORA-06512: at line 2
Please help me out in this issue.
Regards
Dhan -
Problems creating background job for program (job open, submit and close)
Hi gurus,
im trying to start a background job using the FM BP_START_DATE_EDITOR to show the start date to the job or if it's imediate. this FM it's working fine, after call it im opening a job, submiting it and call the job close FM and the job close FM creates me the job.
The problem it's when i go to the sm37 to see the job status the job has been canceled, and the job log says that i have to give a start date to the job.
What i dont understand it's either the job is imediate or i choose a date to start the job always gives me this error...
Below goes my code,
any ideas will be rewarded
CLEAR: stdt_modify_type, stdt_output.
CALL FUNCTION 'BP_START_DATE_EDITOR'
EXPORTING
stdt_dialog = 'Y'
stdt_input = stdt_input
stdt_opcode = 14
IMPORTING
stdt_modify_type = stdt_modify_type
stdt_output = stdt_output
EXCEPTIONS
fcal_id_not_defined = 1
incomplete_last_startdate = 2
incomplete_startdate = 3
invalid_dialog_type = 4
invalid_eventid = 5
invalid_opcode = 6
invalid_opmode_name = 7
invalid_periodbehaviour = 8
invalid_predecessor_jobname = 9
last_startdate_in_the_past = 10
no_period_data_given = 11
no_startdate_given = 12
period_and_predjob_no_way = 13
period_too_small_for_limit = 14
predecessor_jobname_not_unique = 15
startdate_interval_too_large = 16
startdate_in_the_past = 17
startdate_is_a_holiday = 18
startdate_out_of_fcal_range = 19
stdt_before_holiday_in_past = 20
unknown_fcal_error_occured = 21
no_workday_nr_given = 22
invalid_workday_countdir = 23
invalid_workday_nr = 24
notbefore_stdt_missing = 25
workday_starttime_missing = 26
no_eventid_given = 27
OTHERS = 28.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
MOVE 'X' TO gv_flag.
ENDIF.
DATA jobname LIKE tbtcjob-jobname.
DATA jobcount LIKE tbtcjob-jobcount.
DATA job_release LIKE btch0000-char1.
DATA job_imediate TYPE c.
CLEAR: jobname, jobcount, job_release.
CONCATENATE 'MAPAEXEC' sy-uname sy-datum
INTO jobname SEPARATED BY space.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = jobname
IMPORTING
jobcount = jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE i003(zmapas).
EXIT.
ENDIF.
SUBMIT z_mapa_execucao_orcamental
VIA JOB jobname NUMBER jobcount
WITH ano EQ ano
WITH so_perio IN so_perio
WITH so_date IN so_date
WITH so_org EQ so_org
WITH so_num IN so_num
AND RETURN.
IF stdt_output-startdttyp EQ 'I'.
CLEAR job_imediate.
job_imediate = 'X'.
ENDIF.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
calendar_id = stdt_output-calendarid
event_id = stdt_output-eventid
event_param = stdt_output-eventparm
event_periodic = stdt_output-periodic "?
jobcount = jobcount
jobname = jobname
laststrtdt = stdt_output-laststrtdt
laststrttm = stdt_output-laststrttm
prddays = stdt_output-prddays "??
prdhours = stdt_output-prdhours "?
prdmins = stdt_output-prdmins "??
prdmonths = stdt_output-prdmonths
prdweeks = stdt_output-prdweeks "?
predjob_checkstat = stdt_output-checkstat
pred_jobcount = stdt_output-predjobcnt
pred_jobname = stdt_output-predjob
sdlstrtdt = stdt_output-sdlstrtdt
sdlstrttm = stdt_output-sdlstrttm
strtimmed = job_imediate
targetsystem = stdt_output-instname
start_on_workday_not_before = stdt_output-notbefore
start_on_workday_nr = stdt_output-wdayno
workday_count_direction = stdt_output-wdaycdir
IMPORTING
job_was_released = job_release
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.
MESSAGE i003(zmapas).
EXIT.
ELSE.
MESSAGE i004(zmapas) WITH jobname.
ENDIF.
Thanks in advance,
Best Regards
João MartinsHello João.
In debug mode, check the value of variables you passed to parameters sdlstrtdt and sdlstrttm.
As aditional info, I usually achieve your goal without FM BP_START_DATE_EDITOR.
Check this code:
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = w_jobname
IMPORTING
jobcount = w_jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
CHECK sy-subrc = 0.
CLEAR seltab_wa.
MOVE: t_jobs-param TO seltab_wa-selname,
t_processar-line+34 TO seltab_wa-low.
APPEND seltab_wa TO seltab.
seltab_wa-selname = 'P_LOJA'.
seltab_wa-low = t_processar-ficheiro+7(4).
APPEND seltab_wa TO seltab.
*** Submete o programa para o JOB
SUBMIT (t_jobs-repid)
WITH SELECTION-TABLE seltab
USER sy-uname
VIA JOB w_jobname NUMBER w_jobcount
AND RETURN.
*** Encerra o JOB
l_hora = sy-uzeit.
ADD 60 TO l_hora.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = w_jobcount
jobname = w_jobname
sdlstrtdt = sy-datum
sdlstrttm = l_hora
targetserver = w_servidor
IMPORTING
job_was_released = l_liberado
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.
Regards.
Valter Oliveira. -
Problem with Backgrounf Jobs in RAR 5.3
Hi All,
I Scheduled Background Jobs in RAR 5.3 ,But the jobs status showing from past 7 days as " Running " Please help me regarding this issue.its very urgent ,because of this problem My SOD report delayed for this month.
Every month it is taking 2 to 3 days to complete the jobs, But this time it is taking 7 day ,so i terminate the jobs and asked Basis team to restart the bg job service to stop the jobs of RAR
Previous months we are using same verient ,But at that time RAR 5.3 with SP13 and 2 threads,Now they changed as per below detals.
I am using RAR 5.3 SP 15 with 4 threads.
Below is the Job Log Dispay(unable to past complete Log)
=======================
Nov 8, 2011 12:14:46 AM com.virsa.cc.common.util.ExceptionUtil logError
SEVERE: null
Nov 8, 2011 12:14:58 AM com.virsa.cc.xsys.bg.BatchRiskAnalysis getBAPIRoleData
INFO: -- Last Run Date is 2011-11-07
Nov 8, 2011 12:14:58 AM com.virsa.cc.xsys.bg.BatchRiskAnalysis getBAPIRoleData
INFO: -- Current Date is 2011-11-08
Nov 8, 2011 12:14:58 AM com.virsa.cc.common.util.ExceptionUtil logError
SEVERE: null
java.lang.NullPointerException
Risk Analysis Time: Started @:Tue Nov 08 04:30:36 UTC 2011
performActPermAnalysis
INFO: Detailed Analysis Time:
Risk Analysis Time: Started @:Tue Nov 08 04:30:36 UTC 2011
Rule Load Time: Started @:Tue Nov 08 04:30:36 UTC 2011
Rule Load Time:14millisec
Org Rule Loop Time: Started @:Tue Nov 08 04:30:36 UTC 2011
Rule Loop Time: Started @:Tue Nov 08 04:30:36 UTC 2011
Rule Loop Time:5303millisec
Org Rule Loop Time:5303millisec
Risk Analysis Time:5481millisec
Nov 8, 2011 4:30:41 AM com.virsa.cc.xsys.riskanalysis.AnalysisEngine riskAnalysis
INFO: End Analysis Engine->Risk Analysis ..... memory usage: free=2024M, total=6144M
Nov 8, 2011 4:30:42 AM com.virsa.cc.common.RiskAnalysisReport render
INFO: RiskAnalysisReport render: memory changed=0M,free=2020M, total=6144M
Please help me regarding this issue.
thanks in advance,
suresh kumar
Edited by: K S KUMAR on Nov 8, 2011 6:36 AMHi Ashish,
My Background Job is Adhoc , This is not the first time doing ,every month i am doing this activity for SOD report (13 BG Jobs)and other reports,last month they updated SP13 to SP15.Now i am facing this issue.once BG Job Service restarted all the jobs running properly ,Why like that.i need root cause for this.
please help me regarding this.
thanks,
suresh kumar -
Hi,
I have problems when creating a job that is supposed to be run once in background. I use the common steps as described below. My problem is that the report is executed twice.
- First it is executed synchronously when the job is created
- Then it is executed in the normal job step as I want it to do
I don't want it to be executed the first time because it creates data!!!
Code:
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = w_jobid
IMPORTING
jobcount = w_jobnr
sdlstrtdt = sy-datum
sdlstrttm = sy-uzeit.
SUBMIT (p_prog)
WITH p_idocnr = p_idocno
USER p_user
VIA JOB w_jobid
NUMBER w_jobnr
AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = w_jobnr
jobname = w_jobid
strtimmed = 'X'
IMPORTING
job_was_released = w_jobrel.
Does anyone have a clue of what I should do to prevent this?
// Regards HansHi again,
1. U are right.
2. It will happen if we use SUBMIT.
3. As per the help documentation,
it will run the program in separate session,
( as soon as submit statement comes)
4. and run the INITIALIZATION event.
The VIA JOB addition also loads the program accessed in a separate internal mode when the SUBMIT statement is executed and the system performs all the steps specified before START-OF-SELECTION. This means the events LOAD-OF-PROGRAM and INITIALIZATION are triggered and selection screen processing is performed. If the selection screen is not processed in the background when VIA SELECTION-SCREEN is specified, the user of the calling program can eidit it and schedule the program accessed in the background request using the function Place in Job. If the user cancels selection screen processing, the program is not scheduled in the background job. In both cases, execution of the program executed is completed after selection screen processing and the system returns to the calling program due to the AND RETURN statement.
regards,
amit m. -
Problem in creating job via submit
sap 4.7
i am opening/scheduling job from other program/job
And from some reason i get two jobs with the same name.
One is working good, and the other one is stay in schedule.
My problem is , why i active two jobs and not only one ?
And why one (that I donu2019t want and need it at all ) is stay as "schedule" ?
this is my code
CONCATENATE EVT_ID JOBCOUNT INTO JOBNAME
SEPARATED BY SPACE.
LCL_TIME = SY-UZEIT + 1000 . " + 15 minute
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = JOBNAME
IMPORTING
JOBCOUNT = JOBCOUNT. " AND RETURN
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = JOBNAME
DELANFREP = SPACE
IMPORTING
JOBCOUNT = JOBCOUNT
EXCEPTIONS
CANT_CREATE_JOB = 1
INVALID_JOB_DATA = 2
JOBNAME_MISSING = 3
OTHERS = 4.
if sy-subrc <> 0 .
MESSAGE I099 WITH 'cant craete job' .
endif.
SUBMIT YITF_MOVE_TO_BCKP
VIA JOB JOBNAME NUMBER JOBCOUNT
TO SAP-SPOOL IMMEDIATELY ' '
DESTINATION 'LOCL'
KEEP IN SPOOL 'X'
WITHOUT SPOOL DYNPRO
WITH EVT_PARM = EVT_PARM
AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = JOBCOUNT
JOBNAME = JOBNAME
SDLSTRTDT = SY-DATUM "i_strtdt
SDLSTRTTM = LCL_TIME
STRTIMMED = 'X'
this is the status in sm37
YITF_MFHBHY_LOAD 03304501 LEGACY Scheduled
YITF_MFHBHY_LOAD 03304501 LEGACY Complete 04.03.2009 03:49:05Hi use this Code to fix the issue...
DATA : v_jobhead LIKE tbtcjob.
DATA : v_jobcount LIKE tbtcjob-jobcount.
DATA : v_eventparm LIKE tbtcjob-eventparm.
DATA : v_flg_released TYPE c.
DATA: e_error.
DATA: running LIKE tbtcv-run.
TYPES: esp1_boolean LIKE boole-boole.
CONSTANTS: esp1_false TYPE esp1_boolean VALUE ' ',
esp1_true TYPE esp1_boolean VALUE 'X'.
CONSTANTS: true TYPE boolean VALUE esp1_true,
false TYPE boolean VALUE esp1_false.
PARAMETERS: v_jobnam LIKE tbtcjob-jobname,
v_report LIKE sy-repid,
v_varian LIKE raldb-variant,
v_uname LIKE sy-uname.
START-OF-SELECTION.
* add the new job
CALL FUNCTION 'JOB_OPEN'
EXPORTING
* delanfrep = 'X'
jobname = v_jobnam
IMPORTING
jobcount = v_jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc 0.
e_error = true.
ELSE.
CALL FUNCTION 'JOB_SUBMIT' " or you can use SUBMIT statement as well.
EXPORTING
authcknam = v_uname
jobcount = v_jobcount
jobname = v_jobnam
report = v_report
variant = v_varian
EXCEPTIONS
bad_priparams = 1
bad_xpgflags = 2
invalid_jobdata = 3
jobname_missing = 4
job_notex = 5
job_submit_failed = 6
lock_failed = 7
program_missing = 8
prog_abap_and_extpg_set = 9
OTHERS = 10.
IF sy-subrc 0.
e_error = true.
ELSE.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
* EVENT_ID = IC_WWI_WORKPROCESS_EVENT
* EVENT_PARAM = V_EVENTPARM
* EVENT_PERIODIC = 'X'
jobcount = v_jobcount
jobname = v_jobnam
strtimmed = 'X'
IMPORTING
job_was_released = v_flg_released
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.
e_error = true.
ELSE.
DO.
CALL FUNCTION 'SHOW_JOBSTATE'
EXPORTING
jobcount = v_jobcount
jobname = v_jobnam
* IMPORTING
* ABORTED =
* FINISHED =
* PRELIMINARY =
* READY =
* running =
* SCHEDULED =
EXCEPTIONS
jobcount_missing = 1
jobname_missing = 2
job_notex = 3
OTHERS = 4.
IF sy-subrc 0.
e_error = true.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF running = space.
EXIT.
ENDIF.
ENDDO.
ENDIF.
ENDIF.
ENDIF. -
Problem with background job using SUBMIT under different user
Hi All,
I am submitting a background job under different user name. I am submitting this job by using JOB_OPEN , SUBMIT report and JOB_CLOSE. But submit statement is returning sy-subrc 8, becuase of this the job_close is failed. Can you please help me to solve this problem.
Thanks in advance.
TjguptaHi,
The user is having all authorizations. is there any difference with user types?
This user is having user type " as communication data".
Thanks,
Tjgupta -
Problem editing scheduled jobs
I just had a problem where 3.1, EA1 and EA2 all failed to edit a scheduled job in sqldev. A coworker was able to make the same edit using the same database ID, except he did it through SQL*Plus - that made me suspect a bug in sqldev.
Here are the symptoms:
In sqldev 3.1 (any flavor) > Scheduler > Jobs > edit an existing job > try to edit the JOB_ACTION field. In 3.1, double-clicking in the field only highlights the current word - it does not give me a cursor, and I cannot edit the contents.
In sqldev 3.0.4, editing the same job works as expected. I can edit the field, and save the changes.
Note that the server that I connect to is remote - it is hosted by Oracle OnDemand.Doesn't work for me either;
Here's the exception dumped in the console when selecting Edit:
oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: antlr.TokenStream
Dependent class: org.antlr.stringtemplate.language.DefaultTemplateLexer
Loader: ide-global:11.1.1.0.0
Code-Source: /C:/Archivos%20de%20programa/sqldeveloper3.1.06.82/sqldeveloper/lib/stringtemplate-3.1b1.jar
Configuration: <classpath> in /file:/C:/Archivos de programa/sqldeveloper3.1.06.82/sqldeveloper/extensions/oracle.sqldeveloper.jar!/META-INF/extension
.xml
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2387)
at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1546)
at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1728)
at oracle.classloader.PolicyClassLoader.access$000(PolicyClassLoader.java:143)
at oracle.classloader.PolicyClassLoader$LoadClassAction.run(PolicyClassLoader.java:331)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1692)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
at org.antlr.stringtemplate.StringTemplateGroup.<clinit>(Unknown Source)
at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.initGroupLoader(DBMSSchedulerCodeGenerator.java:321)
at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.<init>(DBMSSchedulerCodeGenerator.java:298)
at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.getInstance(DBMSSchedulerCodeGenerator.java:309)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.getQuery(NewJobCreateBase2.java:94)
at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:62)
at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:48)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.<init>(NewJobCreateBase2.java:86)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.getListTask(NewJobCreateBase2.java:58)
at oracle.dbtools.scheduler.panels.common.ActionDialogBase.launch(ActionDialogBase.java:29)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.launch(NewJobCreateBase2.java:81)
at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:192)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)And consecutive tries:
java.lang.NoClassDefFoundError: Could not initialize class org.antlr.stringtemplate.StringTemplateGroup
at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.initGroupLoader(DBMSSchedulerCodeGenerator.java:321)
at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.<init>(DBMSSchedulerCodeGenerator.java:298)
at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.getInstance(DBMSSchedulerCodeGenerator.java:309)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.getQuery(NewJobCreateBase2.java:94)
at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:62)
at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:48)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.<init>(NewJobCreateBase2.java:86)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.getListTask(NewJobCreateBase2.java:58)
at oracle.dbtools.scheduler.panels.common.ActionDialogBase.launch(ActionDialogBase.java:29)
at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.launch(NewJobCreateBase2.java:81)
at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:192)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)Hope that helps for debugging,
K. -
Problem in running Job through Sqlplus
Hi,
I'm trying to run sequence of sql statments to run a job. At the end of this i'm getting error, anyone can help me out on the same.
-- Creating a table with a column cob.
create table gob(cob number(5))
-- Procedure to insert a value 100 in table gob
create or replace procedure autoins IS
begin
insert into gob values(100);
end;
-- PL-SQL block to create & submit a job.
VARIABLE jobno number;
BEGIN
DBMS_JOB.SUBMIT(:jobno, 'autoins ;',
SYSDATE, 'SYSDATE + 1');
COMMIT;
END;
At the end of it i'm getting following error,
BEGIN
ERROR at line 1:
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "SYS.STANDARD", line 586
ORA-06512: at line 2
Anyone can help ???????
Regards,
Ashish.Hi Garcia,
Thanks a lot for this help. Acutally "select count(1) from dual" was returning 3 initally so i have used delete statement twice and now its returning only one value. Though problem is solved but still i couldn't understand the cause of this.
Thanks a lot again.
Regards,
Ashish. -
Hi Experts,
I am creating XML Files through ABAP Program.
If i execute this program in foreground it is creating all the XML Files in presentaion server,
but if i execute the same program in background it is executing the program succesfully and job staus is finished, but not creating files in Presentation Server.
Can you pls help me friends.
Thanks in Advance,
Murali Krishna KWhich Function Module are you using to download the file?
Refer this link to know how to download a file in background.
http://www.sap-img.com/abap/download-in-background-in-excel-format.htm
REfer this link to know more abt your problem:
http://www.sap-img.com/ab004.htm
REgards,
Ravi -
Problem in running job from OEM
I have registered JOB with OEM using TCL script from warehouse builder. I login to OEM and it shows me one job in JOB library. Now i submit this job. It keeps on showing status submitting on the Active jobs tab. It does not do anything
Thanks in advance.Hi Garcia,
Thanks a lot for this help. Acutally "select count(1) from dual" was returning 3 initally so i have used delete statement twice and now its returning only one value. Though problem is solved but still i couldn't understand the cause of this.
Thanks a lot again.
Regards,
Ashish. -
SAP BW : Problem with precalculation job on WebTemplate depending on user
Hi experts,
We have a problem with the precalculation job on WebTemplate. When we schedule this job with a specific user, the job run normally and precalculation is done on step 3 :
Step 003 started (program RSRA_JOB, variant , user ID E0126831)
Start package ZBWP_SCHEDULE_TEMPLATE
- Start setting ZBWP_WAD_001 with variant -
Precalculation: initialization started
Precalculation: processing started
Precalculate data (fill DataStore)
Processing data provider DATAPROVIDER_1, query ZBWP_IS01_001
Processing data provider DATAPROVIDER_10, query ZBWPM_016
Processing data provider DATAPROVIDER_11, query ZBWPM_016
But when we change the user to a technical user (like BATCH or ALEREMOTE which have the profile SAP ALL ), the job don't do any precalculation in step 3 :
Step 003 started (program RSRA_JOB, variant , user ID ALEREMOTE)
Start package ZBWP_SCHEDULE_TEMPLATE
- Start setting ZBWP_WAD_001 with variant -
Implementing settings finished
Did you have an idea for this problem ?
Thanks in advance for your response.
Regards,
MathieuHi,
Try to trace the log files in RSRD_LOG and also check files in C:TEMP.The precal server trace files will be stored in the subdirectory of C:TEMPBWAnalyzer .
for more information look in belwo blog
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30e3d697-4ca0-2c10-4b81-c474b1490064?quicklink=index&overridelayout=true
Thanks -
The problem with Complex Job Manager in Business Connector.
Hi,
I have a problem with the service "Complex Job Manager" in Business Connector.
Sometimes this service hangs and a minus value (such as -83452 sec) appears in the column "Next run".
What can I improve?
I have BC ver. 4.7 with CoreFix 9, Java ver. 1.3.1 (46.0), system AIX.
Please help me.
Thanks,
RobertSorry, Raja.
I saw many questions about Business Connector in this category (Process Integration) and I thought that is a right place for my question.
In your opinion, where is a better place for my question?
Regards,
Robert -
Good day.
I am trying to help our DBA figure out the problem with the database job that I created. It runs perfectly in the database which we use for development purposes. However, when we put the job in the production database, we encountered some problems.
The first problem we encountered was this: after the job executed at the scheduled time, the NEXT_DATE field for that job becomes 00/00/0000.
After our DBA tinkered with some parameters in the db config, the next problem we encountered was this: the job executed every minute even if the interval specified is for it to execute once a day, everyday.
We still have not resolved any of these problems. I am just doing a workaround, a manual one, just so we could proceed with our processing.
Btw, we are using Oracle8.
Thanks so much.Hello there.
This is the code I used to submit the job:
DBMS_JOB.ISUBMIT (1, 'my_storedproc;', trunc(SYSDATE)+(13.5/24), 'trunc(SYSDATE)+1+(13.5/24)', TRUE);
Using Toad, I got these parameters pertaining to db job:
job_queue_interval=60
job_queue_keep_connections=FALSE
job_queue_processes=8
Any feedback?
Thanks again. -
Print job problems with AEBS - jobs don't print until another job is sent
I have been experiencing an anomaly with my printer not printing the last page of multipage documents since getting our AEBS with Gigabit Ethernet. Before getting the AEBSs, I had two Linksys routers that were performing well, but would crash regularly. I recently purchased two AEBS router to replace my two Linksys routers. I have the latest AEBS, and an older AEBS M8799LL/A sometimes referred to as the UFO or Crow’s Nest. My printer is a networkable HP Color LaserJet 2550n.
When the Apple Tech Support person could not get this printer to work when attached to an Ethernet port, they suggested that I attach it to the USB port. I finally got it to work with our Macs, and Windows XP running in Parallels using Bonjour. What we noticed right away was that the printer was taking longer to respond than when we were using it as a network printer under our previous Linksys network. Another thing that happened was that frequently a print job would not appear to have been sent (spooled?) to the printer so we would issue the print command after waiting a couple of minutes and end up with two copies of what we were printing. Yesterday I was printing a basic 5 page text document from Pages and the last page did not print. So I created a document with just a ‘.’ and sent it to the printer. Out came the last page of my five page Pages document and the document with just a ‘.’. The AEBS does appear to be somewhat more stable than our Linksys equipment, but getting printer to work properly has been very frustrating.
Is anyone aware of what might be causing this problem. At first I was blaming Windows, but it is happening very frequently when printing basic documents in Mac OS X 10.4-Tiger. Any help would be very much appreciated.Ah the self healing properties of OSX. This problem appears to have fixed itself.
Maybe you are looking for
-
Odd forum, the title is my question.
-
I dropped my Iphone 5s in the hot tub!
I just got my new iphone 5s at christmas and my boyfriend dropped it in the hottub when reaching for his towel - it was only in the water for about 3 seconds before i immidietly got it out and dried it, it was still on and the speakers to play music
-
How can I set the default window location in calendar to my second monitor?
After installing Mavericks, Calendar always opens its windowed centered in my main monitor. I move it to where I want it (upper left, second monitor) but when I quit the program, the location reverts to the original location. Is there a .plist I ne
-
Employee and Org Unit BP Replication Question - how to stop replication
Hi, We are replicating business partners using BUPA_MAIN for IS_U Scenario. This is working fine from R/3 to CRM, and changes are replicating back properly (CRM to R/3). We have a filter on BUPA_MAIN for the business partners in a particular nu
-
Can i open a page in Browser from an applet
i want to open a web site in a new browser window from an applet. Is it possible. if posible then send me some links or codes thank you