Discoverer Scheduler problem
privileges:
1) I have a issue that when I schedule I go to repeat every 1 hours and then I wait it never runs I go back to look and it's marked to never run not repeat every???
2) My friend can't schedule a job at all. She tries to setup a schedule and it tries to run then states Database Error ORA - 01031: insufficient privileges. What privileges does she need granted?
Thanks, for the help.
duplicate of Discoverer Connection problem
Suggest you go to metalink and open a service request - this kind of question is covered under your support agreement.
Similar Messages
-
I have a workbook that retrieves the data without problems when I run on Discover Desktop (in 11 minutes).
But, when I schedule this workbook, it run indefinitely.
A DBA checked once this query on database, and returned that the time remain was 2565 hours(!).
Have anyone faced such a problem?duplicate of Discoverer Connection problem
Suggest you go to metalink and open a service request - this kind of question is covered under your support agreement. -
Discoverer Scheduled Workbooks in "Pending"
Hi,
After a database bounce, all our discoverer scheduled reports have stopped running. They are just in the status of "Pending" and do not get started at all.
Any help is greatly appreciated.
Thanks.Hi All,
Well, we found our answers to this problem.
When the database was bounced, the service ora_cjq was not started automatically due to some specific db reasons and hence the discoverer scheduled reports did not work.
The ora_cjq is linked to the Discoverer Scheduling Manager and restarting the ora_cjq solved our issue.
Thanks. -
Production Orders: Scheduling Problem
Hello
I have a scheduling problem. I want the system to calculate the production order dates.
I have maintained the following
1. Work Center: A formula to calculate the duration. I have marked the u201Crelevant to finite indicatoru201D in the Capacity Header Tab. I have also maintained the available capacity as 24 Hrs.
2. Routing: I have maintained the values for the standard value keys
3. SPRO: In scheduling parameters for the order type, I have marked u201CGenerate cap requirementsu201D and u201CSchedulingu201D; In the production scheduling profile, I have marked u201CSchedule orderu201D (on release) & u201CFinite Schedulingu201D (Availability check).
But the production order is not getting scheduled & the start & end times are the same. I get the error u201CNo req/capacity exists or not relevant for finite schedulingu201D.
Can anyone guide me as to what I am missing?
Best regards
TomDear Tom,
Please check following;
1. Your operation contol key; whether it allows scheduling.
2. scheduling parameters for production order on OPU3: Please select proper combination of plant and order type and tick scheduling and generate capacity requts indicators in detailed scheduling tab.
Please revert back if problem persist.
Best Regards
Uday -
Scheduling problem in LSMW for Sales Order
I am doing LSMW for Sales Order using the BAPI method.
I am able to upload the item details along with their quantities also but the problem that I am now facing is the scheduling problem.I am unable to schedule the item quantities, only the last quantity passed is taken as the final quantity and the consolidated quantity is also getting ignored.
I am using E1BPSCHDL structure, in this structure I am mapping Itm_number , req_date and req_qty(scheduled qty).....
in the structure E1BPSCHDLX, the same fields are mapped as 'X'.
in the structure E1BPSDITM, I am mapping the item info along with the consolidated qty(TARGET_QTY), but this is getting ignored and the last scheduled qty is taken as the final consolidated qty and the rest scheduled qty data is getting rejected.
Please do help... I dont know why this problem is coming... tried n number of alternatives but of no hope... do try to help me
with regards,
Daya.Check the format of your date and check the format expected.
sometimes you can have diff like YYYYMMDD, MM.DD.YYYY,...
Look at the converted data.
Hope this helps,
Erwan -
Discoverer Plus Scheduling Problem
Here is my Configuration:
OracleBI Discoverer 10g (10.1.2.3)
Oracle Business Intelligence Discoverer Plus 10g (10.1.2.55.26)
Discoverer Model - 10.1.2.55.26
Discoverer Server - 10.1.2.55.26
End User Layer - 5.1.1.0.0.0
End User Layer Library - 10.1.2.55.26
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
Copyright © 1999, 2005, Oracle. All rights reserved.
First of all, Disco scheduling in Plus works fine in our production instance. In our test instance, I have a user whom wants to schedule workbooks from time to time where a new folder is being tested. My problem is that when I am on step two of the schedule wizard and I select immediate (or manually place a time in that is very soon (e.g. 5 minutes from now)), the workbook took hours yesterday to show as “scheduled” in the “Managed Scheduled Workbooks” tool.
Today it works fine and runs immediately. I created a very simple workbook titled, "scheduling test", which has one column, a calculation which is set to sysdate. I began testing this yesterday.
Does any thoughts on what is causing this trouble?
I did the following:
1. I notice that a package is created in the scheduling schema for the workbook scheduled.
2. I tried to query for scheduled jobs created by dbms_job (queried Dba_Jobs using the system account and could not find the job...either yesterday or today).
3. I tried to query v$sql with the intent of seeing when the package, batch_rep_secure.submit_job,is executed...but could not find the scheduled records.
4. I tried gleaning information from the "Manage Scheduled Workbooks" tool associated with the Disco Administrator, and the time column was null (yesterday).
5. I had our dba check the init<sid>.ora file and confirmed that the job_queue_processes have been set to 10.
To rectify this yesterday, I just manually executed the package, EUL5_BATCH_PACKAGE10061409140713, and shortly thereafter, the scheduled workbook would have a new table associated with it which was consumable through Disco Plus.
My hunch is that our job queue was backed-up significantly yesterday and this was delaying the scheduling and running of scheduled workbooks.
Does any one have any thoughts about what the root cause was here and how I could confirm this?
Thanks,
PatrickHi Patrick
That would be my hunch too. You could also check the database privileges granted tp each user. Here's what I use:
accept username prompt'Enter Username: '
accept pword prompt'Enter Password: '
create user &username identified by &password;
grant connect, resource to &&username;
grant analyze any to &&username;
grant create procedure, create sequence to &&username;
grant create session, create table, create view to &&username;
grant execute any procedure to &&username;
grant global query rewrite to &&username;
grant select any table, unlimited tablespace to &&username;
grant execute on sys.dbms_job to &&username;
grant select on sys.v_$parameter to &&username;
Best wishes
Michael -
Discoverer Scheduling Workbook failed.... advise needed please
when I try to schedule workbooks on Discoverer 10.1
Database Error - ORA-04068: existing state of packages has been discarded
ORA-04063: package body "TKDBA.EULL_BATCH_USER" has errors ORA-06508: PL/SQL: could not find program unit being called ORA-06512 at line 2
System: XP Pro SP2
Desktop Client 10.1.2456c
End User layer Library - 10.1.2.45.46c
End User Layer - 5.1.1.0.0.0
Edited by: ControlV on May 22, 2009 6:07 AMHi
Thanks for this. A couple of things come to mind. First, it looks like you may have done more than one installation of the Discoverer 10g Admin / Desktop Install and it also looks as though you have an older Discoverer sitting out there, presumably a Discoverer 4 version. How did I spot this?
Firstly, the name you are using for you 10g installation is BIToolsHome_2. This tells me that you either have 2 or you had a failed install number 1. If you happen to be calling the executable from the first install with the PATH set to the second install this will cause a problem.
Secondly, Discoverer 4 always installs using the ORANT folder.
I am not sure what you have inside d:\oracle\bin or even in c:\oracle\discoverer\bin. These could definitely be causing problems elsewhere but probably not impacting Discoverer 10.
10g Discoverer Admin / Desktop needs these 4 entries in the path and these are there, albeit againt BIToolsHome_2 and not 1:
C:\oracle\BIToolsHome_1\bin;
C:\oracle\BIToolsHome_1\jlib;
C:\oracle\BIToolsHome_1\jre\1.4.2\bin\client;
C:\oracle\BIToolsHome_1\jre\1.4.2\bin;
First things first, we need to verify that you don't have an old version 1 hanging around.
Right-click on the icon to start Admin. In your case it should look like this: C:\Oracle\BIToolsHome_2\bin\dis51adm.exe
Right-click on the icon to start Desktop. It should look like this: C:\Oracle\BIToolsHome_2\bin\dis51usr.exe
Please verify the above and let me know if everything looks right.
Best wishes
Michael -
How Discoverer scheduler handles Database links ?
I have 2 databases (both Oracle). created a view based on the another database view in the current database using the database link.
I ran the workbook in discoverer Plus successfully.
I scheduled the workbook without any problem
when I tried to open a workbook, I am getting the following error..
ORA 01017: INVALID USERNAME AND PASSWORD; LOGIN DENIED ORA02063:PRECEEDING LINE FROM
INPTR (INPTR is the name of the datasource )
Any ideas??
ThanksSee my reply to an earlier post today: "How to Connect to Discoverer Viewer " for more information. (How to Connect to Discoverer Viewer
Since you have not installed an infrastructure and associated Discoverer with it, you will not see any button / link to create public connections in EM (App Server Control).
You cannot use an existing database for your infrastructure. The Oracle Application Server infrastructure is installed in its own database.
Thanks
Abhinav
Oracle Business Intelligence Product Management
BI on Oracle: http://www.oracle.com/bi/
BI on OTN : http://www.oracle.com/technology/products/bi/
Discoverer : http://www.oracle.com/technology/products/discoverer/
BI Software : http://www.oracle.com/technology/software/products/ias/devuse.html
Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
BI Samples : http://www.oracle.com/technology/products/bi/samples/
Blog : http://oraclebi.blogspot.com/ -
Hi All,
My problem is the next:
I would like to call two functions, in one function module, but I cannot schedule the second job after the first. I wrote the code, use the parameter PREDJOB_CHECKSTAT of JOB_CLOSE, but when the mother function called two jobs started immediately and paralell. What is worng in the following code?
Thanks /and points :)/ for your help!
Tamas
L_JOBNAME = 'REQUEST_COPY'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = L_JOBNAME
IMPORTING
JOBCOUNT = L_JOBCOUNT.
SUBMIT RSSEM_REQUEST_COPY
WITH RNR = I_RNR
WITH S_CUBE = LS_CUBES-SOURCE_CUBE
WITH T_CUBE = LS_CUBES-TARGET_CUBE
USER SY-UNAME VIA JOB L_JOBNAME NUMBER L_JOBCOUNT
AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = L_JOBCOUNT
JOBNAME = L_JOBNAME
STRTIMMED = 'X'.
L_JOBNAME2 = 'REQUEST_CLOSE'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = L_JOBNAME2
IMPORTING
JOBCOUNT = L_JOBCOUNT2.
SUBMIT Z_REQUEST_CLOSE_ZSD_P25
USER SY-UNAME VIA JOB L_JOBNAME2 NUMBER L_JOBCOUNT2
AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = L_JOBCOUNT2
JOBNAME = L_JOBNAME2
STRTIMMED = 'X'
PREDJOB_CHECKSTAT = 'X'
PRED_JOBCOUNT = L_JOBCOUNT
PRED_JOBNAME = L_JOBNAME.Hi Thomas,
Thanks for all helps, I found the solution!
Inserted a select from the Job Status Table into th second job definition.
Thanks for the ideas!
Tamás
The finally code is the the following:
L_JOBNAME = 'REQUEST_COPY'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = L_JOBNAME
IMPORTING
JOBCOUNT = L_JOBCOUNT.
SUBMIT RSSEM_REQUEST_COPY
WITH RNR = I_RNR
WITH S_CUBE = LS_CUBES-SOURCE_CUBE
WITH T_CUBE = LS_CUBES-TARGET_CUBE
USER SY-UNAME VIA JOB L_JOBNAME NUMBER L_JOBCOUNT
AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = L_JOBCOUNT
JOBNAME = L_JOBNAME
STRTIMMED = 'X'.
L_JOBNAME2 = 'REQUEST_CLOSE'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = L_JOBNAME2
IMPORTING
JOBCOUNT = L_JOBCOUNT2.
DO.
SELECT SINGLE STATUS FROM TBTCO INTO L_STATUS
WHERE JOBNAME = L_JOBNAME
AND JOBCOUNT = L_JOBCOUNT.
IF L_STATUS = 'F'.
EXIT.
ELSE.
WAIT UP TO 1 SECONDS.
ENDIF.
ENDDO.
SUBMIT Z_REQUEST_CLOSE_ZSD_P25
USER SY-UNAME VIA JOB L_JOBNAME2 NUMBER L_JOBCOUNT2
AND RETURN.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBCOUNT = L_JOBCOUNT2
JOBNAME = L_JOBNAME2
STRTIMMED = 'X'
PREDJOB_CHECKSTAT = 'X'
PRED_JOBCOUNT = L_JOBCOUNT
PRED_JOBNAME = L_JOBNAME. -
Background job scheduling problem in APO
Hi fellow SDNers,
i am going through this peculiar problem of background job scheduling:
scenario is like , i have an CSV (excel file) in aplication server which would load data into the infosource, which i have scheduled to run in backhround (in infopackage) ,after event is triggered (option in scheduling tab of infopackage...THE SCHEDULING OPTIONS)
now everything seems to be fine.. but the data is not getting loaded...?? could u lease help me out..how to load data from excel file (in background), after an event gets triggered.
thanks in advance,
Rohanhi Alexander,
i am triggering the event from BP_EVENT_RAISE FM in APO by passing the event id... this would automaitically raise the event...just like sm64
Thanks
Rohan -
Discoverer Plus - Problem with Page Orientation when printing pdf's
Hi,
When printing pdf's in Disco Plus I have a problem:
My workbooks are a mixture of landscape and portrait pages.
I am printing the entire workbook and then using cutepdf to produce a pdf.
If I print to paper I get the correct landscape/portrait settings.
If I print to pdf then landscape pages appear vertically when I view on screen so that the text is running from bottom to top of the page.
So it is picking up th portrait/landscape settings from the individual worksheets but cutepdf has not realised that the pages are landscape so they appear on the screen vertically.
This was not a problem on discoverer desktop so I am confident that this is not a problem with cutepdf.
Any thoughts?
JustinThanks 2257648922,
Version details are as follows:
OracleBI Discoverer 10g (10.1.2.3)
Oracle Business Intelligence Discoverer Plus 10g (10.1.2.55.26)
Discoverer Model - 10.1.2.55.26
Discoverer Server - 10.1.2.55.26
End User Layer - 5.1.1.0.0.0
End User Layer Library - 10.1.2.55.26
Oracle Database 10g Release 10.2.0.4.0 - Production
Copyright © 1999, 2005, Oracle. All rights reserved.
So I assume that means my version doesn't have the bug you mention.
Any other thoughts would be appreciated.
Justin -
Scheduling problem with delivery date in purch.req and requirement date
Dear all,
I have the problem, that the calculated delivery date in the purchase requisition does not correspond with the requiement date of the production or planned order.
I would like to use planned delivery times in the material master.
Example:
Planned delivery time: 20 days
Todays date 01.10
Case 1)
Requiement date of planned order 10.10
Case 2)
Requiement date of planned order 20.09
This situation can happen in our envirnoment, as the engineering process still continues after start of production. In this case I would like to have the following result:
Case 1)
Delivery date is 10.10 minus the goods receipt time
Case 2)
Delivery date is day of MRP or one or two days more
I made the setting that dates in the past are not allowed. This solves my first smal problem. I tried to set the scheduling margin key but these settings do not help me, as they are relevant for all materials. I need of course individual planned delivery dates per material.
So, I want to change the standart MRP procedure that in the case of the "wished requirement date" not the calculated date is beeing taken, but the "wished date". Usually you receive an exeption for this case and you would need t solve this manually. But this we dont want to do.
Can s.o. please help me? Thank you all very much, I really dont know what to do in this case.
With best regards,
BjoernThe question cannot be answerd by SAP standart as I see. We will go through a workaround.
-
Hi everyone,
I am getting problem in the BEx reporting.After loading the new data in the respective data targets, it is not reflecting in the BEx Analyzer. I have created the process chain, and loading is done in the background scheduling. I can see the updated request time and date in Monitor. It is showing that data is updated successfuly in the data targets.
But when I execute the report after 2hrs, It will reflect in the query and it will show the latest updated records.
If anybody knows the reason why it takes time to reflect in query, please give me some outputs.
Thanks,
PandeyHi Manoranjan,
If your data target is ODS, you can find the updated records for reporting only after activation. If it is InfoCube there could be some processs defined after dataload like create index,Stats and rollup if aggregate are present. may be this could be the reason...
Hope this helps..
Best Regards,
DMK
*Assign points if it serves your purpose... -
Scheduling Problem for uploading Data from Flat file to SAP
Hi guys,
I am facing a weared problem in uploading some leave records in z table. The code is working fine if we run it through se38 after selecting the file from a shared location from production server which has all the access rights.
This folder lies in the \usr folder of SAP Production.
I have kept all the Flat files in the shared path "
Tis-mum-iz-s1\migration\SAP-INT\leave\" ...
To give u exact directory structure..
Tis-mum-iz-s1 is the Server Name
usr is the SAP System folder used for uploads and downloads
usr |
...-> Migration |
-> SAP-INT |
-> leave -> (Flat Files)
Migration folder is shared with all rights.
Obviously, we cannot give shared drive as the variant in the scheduler.
So i use the system path i.e. \usr\sap\tmp\migration\sap-int\leave\ as the variant.
All my other download programs are working fine with this path as a variant...
But my this particular upload program does not work with this path....
I am giving u my code...
TATA INTERACTIVE SYSTEMS (A Division of TATA INDUSTRIES LIMITED)
REPORT : ZMIGRATE_ZLEAVE
DESCRIPTION : To Upload the Leave data. (ZLEAVE)
CREATED BY : Abhishek Bachhawat
CREATED ON : 01.09.2005
CONSULTANT : ANAND
REPORT ZMIGRATE_ZLEAVE.
TABLES: ZLEAVE.
data: begin of wtab,
MANDT(3),
ZLVID(8),
PERNR(8),
ZSTDT(8),
ZENDT(8),
ZDAYS(4),
AEDAT(8),
ERDAT(8),
end of wtab,
itab like WTAB occurs 0 WITH HEADER LINE.
data: temp like zleave occurs 0 WITH HEADER LINE.
SELECTION-SCREEN BEGIN OF BLOCK file
WITH FRAME TITLE text-005.
parameters: file like rlgrap-filename Obligatory.
Concatenate File SY-DATUM '_Leave.txt' into File.
SELECTION-SCREEN END OF BLOCK file.
at SELECTION-SCREEN ON VALUE-REQUEST FOR file .
CALL FUNCTION 'WS_FILENAME_GET'
IMPORTING
FILENAME = file.
IF SY-SUBRC <> 0.
ENDIF.
start-of-selection.
if file ne space.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
FILENAME = FILE
FILETYPE = 'DAT'
TABLES
DATA_TAB = ITAB.
else.
message e000(zps) with 'Specify a file'.
endif.
SORT ITAB BY ZLVID.
LOOP AT ITAB.
REFRESH TEMP.
CLEAR TEMP.
TEMP-MANDT = sy-mandt.
TEMP-ERDAT = SY-DATUM.
TEMP-ZLVID = ITAB-ZLVID.
TEMP-PERNR = ITAB-PERNR.
TEMP-ZSTDT = ITAB-ZSTDT.
TEMP-ZENDT = ITAB-ZENDT.
TEMP-ZDAYS = ITAB-ZDAYS.
TEMP-AEDAT = ITAB-AEDAT.
TEMP-ERDAT = ITAB-ERDAT.
APPEND TEMP.
SELECT SINGLE *
FROM ZLEAVE
WHERE ZLVID = TEMP-ZLVID
AND PERNR = TEMP-PERNR.
IF SY-SUBRC = 0.
UPDATE ZLEAVE SET ZSTDT = TEMP-ZSTDT
ZENDT = TEMP-ZENDT
ZDAYS = TEMP-ZDAYS
AEDAT = TEMP-AEDAT
ERDAT = TEMP-ERDAT
WHERE ZLVID = TEMP-ZLVID
AND PERNR = TEMP-PERNR.
ELSE.
INSERT ZLEAVE FROM TABLE TEMP.
COMMIT WORK.
ENDIF.
ENDLOOP.Hi,
open dataset file for input in text mode.
check sy-subrc = 0.
while sy-subrc = 0.
read dataset file into wa.
if sy-subrc = 0.
append wa to itab.
else.
exit.
endif.
endwhile.
close dataset file.
regards
Siggi
PS: check also the F1-help for open, read and close statements! -
Scheduling problem in planned order.
Hi all,
I have a problem in scheduling of planned orders.
I had mentioned the following parameters.
1. Available capacity in the work center as 06:00:00 to 12:00:00
2.Set up time is 10mins in the routing.
3. The planned order qty is 100 nos.
While doing manual scheduling in planned order, the system proposes the start time as 11:50am and finish time as 12:00am. But as per calculation, for 100nos x 10 mins = 1000 min = 17 hrs.
But the system calculated 10 mins for 100 nos.
Is there anything i am missing , due to which the system is doing wrong scheduling.
With regards,
Afzaldear afzal ,
system is taking setup time only for first piece you are machining and for rest other 99 piece its not considering the setup time.
Check in the formula you are using if its defined as only to consider one time the setup activity or its taking piece wise/quantity wise.
Check and change it , it will solve your problem.
Hope it helps you.
regards
Ritesh
Maybe you are looking for
-
I still have not received the Mircosoft Apps. I'm on Orange UK 059C9F6. Is this available OTA? Anyone on Orange got this update?
-
Resetting Preview to default PDf reader
I installed Abode Reader 9 and now i cant use Preview to open PDFs. How can i reset the default to Preview?
-
Integrate other directory servers with access manager
How to integrate other directory servers with access manager ?
-
Drives other than my primary drive slow to open in finder/photoshop
Hi, I have upgraded my Mac Pro to have all the bays filled up with drives. I set my primary drive (bay 1) for only applications. I set drive 2 to have documents/media and drive 3 as a scratch drive. The other drives outside of my applications drive g
-
Accessing package variable through DB link
Hi, I have ref cursor variable in remote DB package and want to refer that in another script. v_refcur rem_package.generic_cursor_type@REMOTEDB and accessing procedure in the remote DB I am getting the following error ORA-20111: ORA-02064: distribute