Querying LOV schedule information

Is there any way to query the LOV schedule information using the Business Objects Query Builder?  We are able to pull data about Crystal reports and their schedules into a database to do more thorough auditing and we would like to do the same with LOVs.  I know these are treated as reports themselves so I'm wondering how we can get at the backend data of those LOVs that are scheduled.

I didn't think about the query tool restricting the number of rows returned.  I'm sure that is what is happening with Query Analyzer.
Executing "select count(*) from jobrun" will give you an accurate count of the number of rows in the table since it only returns one row.
"Trigger History Retention" does not determine how many days "Job History" will be retained.  Click on the Help Icon (?) for a description of the "Trigger History Retention" setting.
The Defaults tab has the default value for "Job History Retention".  This determines how long Job Activity is retained.  If this is 30 days, then, if a job has not run in the last 30 days, the job may not have entries in the jobrun table.
When a job is created, the "Job History Retention" value is used to set the "History Retention" of the job (found on the Job Definition, Options tab).  If you have never changed the value in the Defaults tab, then it is likely all your jobs have this value.  But if the Default value was changed at some point, then the jobs created before the value was changed will have one value, the jobs created after the change will have another value.  To determine the History Retention value for a single job, you can check the Options tab of the Job Definition.  To find out if all your jobs have the same value, you can run this query.
select distinct jobdtl.jobdtl_retnsn
from jobdtl
If your default for "Job History Retention" was never changed, this will return a single value.
If you know a job that runs infrequently, you can look at the History tab of the job.  I'm not sure what to expect.  If the job only runs quarterly, for example, will there be no history shown if your Job History Retention is set to 30 days?
It may be possible to determine the last time a job ran by querying the msglog table.  This table can be quite large, so you have to be careful constructing your queries.  The Logging tab of the System Configuration specifies how long these records are retained.
Tracy

Similar Messages

  • A collections of questions on scheduling information

    Hello, I am doing some research on QoS management, and I need much scheduling information. So I got some questions.
    1 Based on the oracle scheduler, I want to design my own scheduler(non-preempt). That is, once a job is finished, the scheduler need to schedule new jobs based on some job information. So how can i design such a scheduler? I think it should be a job in the database, but it is neither periodic nor event-based.
    2 Each time my scheduler runs, it probably schedule a same job to run. If the former instance of this job has not completed, the new instance will be skipped. How can I disable the former instance and let the new instance run?
    3 I will configure a periodic job which will collect all of the statistic data at the beginning of each period. How can I read the duration time of each job which has been completed? I know I can read the duration time from ALL_SCHEDULER_JOB_RUN_DETAILS,but the accuracy of the duration time in that view is only second. I need better accuracy. Another problem is, if a job has completed several instances in the last period, how can i differentiate them from each other. Because all of the instance number is 1.
    4 And also, I need to know how much CPU time all of the jobs in the last period have consumed. How can I know the cpu time of each instance of each job?(not only the jobs which have completed but also those jobs which are running.) (because I need add them together and write some algorithm to control it not exceed 80% of the period.)
    I am sorry to put so many troublesome questions together. Hope somebody can give me some guidance. Thanks a lot.

    Hi,
    I'll try to answer some of these questions briefly.
    1 Based on the oracle scheduler, I want to design my
    own scheduler(non-preempt). That is, once a job is
    finished, the scheduler need to schedule new jobs
    based on some job information. So how can i design
    such a scheduler? I think it should be a job in the
    database, but it is neither periodic nor
    event-based.The design of a new Scheduler is not something I can really advise on. Perhaps you could have it based on a master process which is a Scheduler job that runs frequently (once every minute or so).
    2 Each time my scheduler runs, it probably schedule a
    same job to run. If the former instance of this job
    has not completed, the new instance will be skipped.
    How can I disable the former instance and let the new
    instance run? The Scheduler does not allow multiple instances of the same job to run. If you want multiple instances of your action to run you need to create a scheduler program and then you can have multiple jobs pointing to that program. Those jobs can happily run in parallel
    3 I will configure a periodic job which will collect
    all of the statistic data at the beginning of each
    period. How can I read the duration time of each job
    which has been completed? I know I can read the
    duration time from ALL_SCHEDULER_JOB_RUN_DETAILS,but
    the accuracy of the duration time in that view is
    only second. I need better accuracy. Another problem
    is, if a job has completed several instances in the
    last period, how can i differentiate them from each
    other. Because all of the instance number is 1.The jobs will have different requested_start_dates . To gain better accuracy you can use log_date-actual_start_date from the ALL_SCHEDULER_JOB_RUN_DETAILS view.
    4 And also, I need to know how much CPU time all of
    the jobs in the last period have consumed. How can I
    know the cpu time of each instance of each job?(not
    only the jobs which have completed but also those
    jobs which are running.) (because I need add them
    together and write some algorithm to control it not
    exceed 80% of the period.)You can do this by querying both ALL_SCHEDULER_JOB_RUN_DETAILS and ALL_SCHEDULER_RUNNING_JOBS .
    Hope this helps,
    Ravi.

  • How can I share my schedule information with my wife on her accounts and devices?

    My wife and I have separate accounts in our MacMini and MacBook.  We each have an iPhone.  She uses GMail.  I use Mac Mail.  How can I share my schedule information with my wife on her accounts and devices?

    It is not advisable to follow the above suggested method. The following will do what you want without complications.
    1. On your Mac, go to http://help.apple.com/icloud/#mm6b1a9479 and follow the instructions to share a calendar privately. If you have more than one calendar you want to share you will have to do each individually. You can choose whether she is able to edit it or whether it should be read-only.
    2. If your wife does not have an iCloud account she will need to obtain one. When you share a calendar and nominate her to access it she will receive and email. All she has to do is to open the email and click 'Join Calendar'. This will add the calendar to her Calendar app on all devices and on icloud.com without affecting any other data. Again, this will have to be done individually if more than one calendar is involved.

  • Need help in Bind variable in AF Query LOV

    Hi,
    i have one problem with bind variable, if i use bind variable in the LOV VO Query then my result is not coming, if there is not bind variable it's working fine and if i use the bind variable in the LOV search option then it's working fine but if i hide the bind variable and set the value in AM prepareSesstion method the LOV is not returning any value. I try to return the values also all values are also coming but those values are not setting to AF Query Attribute.
    Query is:
    select substr(d.description,0,40) description
    from cm_system_users a,
    cm_user_responsibilities b,
    cm_responsibility_processes c,
    cm_processes d
    where a.nt_login =:B_NT_LOGIN
    and a.user_id = b.user_id
    and trunc(sysdate) between b.eff_date and nvl(b.exp_date,sysdate + 1)
    and b.RESPONSIBILITY_ID = c.RESPONSIBILITY_ID
    and c.process_type = d.process_type
    and d.enabled_flag = 'Y' order by d.arguments_flag
    AM Method:
    CmProcessViewImpl vo = getCmProcessView();
    String nt_login = getUserPrincipalName();
    vo.setNamedWhereClauseParam("B_NT_LOGIN", nt_login.toUpperCase());
    vo.executeQuery();
    Can any one help me in this. it's urgent for me.

    This is a little underdescribed. IIUC, the view object in question is being used as a target for a view accessor, correct? (Otherwise you'll have to be more explicit about what you mean by "Query LOV".
    If I'm right, there are two possibilities:
    1) You are using a VO instance in a shared application module instance. If so, make sure your code is in the prepareSession() for that application module class if it's session dependent (as it seems to be below), you need to make sure the application module instance is shared at session scope.
    2) You've based the view accessor directly on the VO definition. This basically creates an anonymous VO instance; I don't think there's any way to use prepareSession() to set a bind variable on such an instance (which won't be created until the accessor is first used). You might be able to get by with putting similar code into the view object class' create() method, but I haven't tested this.
    If your code is in your primary application module class (as opposed to the class for a shared AM instance), the problem here is that getCmProcessView() returns the VO instance from that application module instance's design-time data model, which is never used by view accessors.
    By the way, why do you need to do this in prepareSession() instead of at the view accessor level? I believe you can get the logged in user name (for the view accessor) in with the groovy expression
    viewObject.DBTransaction.session.userPrincipalName
    or possibly just
    DBTransaction.session.userPrincipalName
    (despite this involving DBTransaction, it returns the web app user name, not the DB username).
    That's a 100% declarative solution, if you don't count the Groovy expression as non-declarative.
    If you're afraid of a user executing the LOV (somehow) before the bind variable value gets set, just ensure that the bind variable is marked "required".

  • The Scheduling information didnt get migrated.

    Hiii
    I have exported work repository for migration from one server to another.
    Everything has been migrated apart from the scheduling information.
    What can be the flaws ?
    Please help.
    Regards
    Manoj.

    I can't say that I've seen this error in past versions or in SP4.  And it doesn't look to be referenced in the errors guide either.  But these are things to consider...
    What datasource is the information space using?  Does it only fail when using one type of database or others as well?
    Is it only your previously created information spaces from patch 12 that fail to schedule? or newly created ones as well?
    Try simplifying the information spaces to only 2 or 3 dimensions and 1 measure.  Can you get to a point where something schedules successfully and build on that?
    Was ther ean error code that was displayed with the message?  Usually it'll show something similar to "PS 30001".  It might make the error easier for you or others to search on.

  • Query to schedule my report

    Anybody provide me the query to schedule my report for last 2months.
    I have the date column in this format 20 mar 10(dd mmm yy).
    I want to execute my report from back 2nd month first day to last month last day
    Ex:if I schedule this repot on 3rd oct2010,report should execute it from aug 1st to sep 31.
    Anyone please provide me the query for my date format.?
    Thanks in advance...
    Edited by: user12255470 on Oct 22, 2010 9:58 AM
    Edited by: user12255470 on Oct 22, 2010 4:54 PM

    though you are telling schedule date.. that i can treat it as current date ..
    Because, report will be scheduled to specific date when it occurs.. and will become current date ..
    you should use combination of timestampAdd function with between operator to define range between
    I don't want to give you entire code.. so that you 'll try
    but i can point to this blog: http://obiee101.blogspot.com/2008/12/obiee-first-last-of-month.html
    this will explain how to get first day of month and last day of month in order to define date range for that report.
    Thanks in advance...anyway I will give you the points....Not sure, whoz is working here for points... You should understand it's knowledge center who will share ideas and provide possible solutions for your issues. All that we want is: closing of threads, which will helpful to other folks who are really facing the same issue can quickly refer this.. And, assigning points will be dependent on you, if you are satisfied and want to give then can assign points and you'll be treated as Gentle man who follows forums Etiquettes..
    all the best.
    Edited by: Kishore Guggilla on Oct 22, 2010 10:37 PM

  • Is there some api to modify the schedule information?

    hi all,
    Is there some GP API to modify the schedule information?
    for example, we just want some users to modify some process's schedule time,not all processes.
    So we must develop some web dynpro application.
    So is there some api to modify GP'S schedule?
    Thank you.
    Best regards,
    delma

    HI all
    I followed this help link:
    http://help.sap.com/saphelp_nwce10/Helpdata/EN/2b/ae193799564c26ab382f2d43ecc1bb/content.htm
    It seems working,except when i use this method:
    GPScheduleFactory.createTimingRecurrentMonthly
    I found it seems make a Recurrent Daily schedule except a recurrent monthly.
    I am confused.
    Can anybody help me?
    Thank you.
    Best Regards,
    delma

  • Querying LOV ....

    Hi,
    I am working on some screen in which there is Item Lov.Fot this I created VO and AM.Problem is in LovVO my query is like this:
    Select * from xxxxxxx where vendor_id=yy.
    So where do i need to mention where clause? I tried creating Controller on LOVRN but it doesn't work.
    Normally in my previous LOV quiries i used give select * from ......
    But in some screens i do have "where" clause also.
    Please help me if one come across this type of .....
    Thks.

    public void initQuery()
    StringBuffer whereClause = new StringBuffer();
    Vector parameters = new Vector();
    String strVendorID = "";
    OADBTransaction oadbtransaction = (OADBTransaction)getDBTransaction();
    VendorID vid = new VendorID();
    strVendorID = vid.getVendorID(oadbtransaction);
    setWhereClauseParams(null);
    whereClause.append(" Vendor_id=:1" );
    parameters.addElement(strVendorID);
    setWhereClause(whereClause.toString());
    Object[] params = new Object[1];
    parameters.copyInto(params);
    setWhereClauseParams(params);
    }

  • LX26 schedule information

    LX26 schedules the bin count based on ABC indicator specified in the material master throughout the year. Is there a standard report which will give out the information of what % of this schedule is complete at any given time of the year based on material?

    try transaction LX25

  • Query LOV and how to display the LOV back in the Text item.

    Hi All,
    I have got a big time problem in getting back my LOV value after Querying it.
    Am using a Tabular Canvas having 10 rows and two columns, one having "Type"(as LOV) and corresponding "Type identifier".
    My LOV is an non data block item, having the correct return type. When ever i search for a value in the LOV, its should give out all the "Type Identifier" list and the "Type".
    But what i am facing is, am not able to get back the selected LOV after querying it and am getting the entire "Type Identifier' with out any filter.
    In short my requirement is,
    - I need to search an LOV,
    - Display the LOV value in the "TYPE" field.
    - Display the corresponding "Type Identifiers'
    Pls note: Since am new to Oracle Forms, if in your replies, if you specify to use any code in trigger, pls specify which trigger to use.
    Thanks a lot in Advance... its bit urgent
    Arun

    Hi Dave
    The requirement is suppose i have an Lov called OrgName is atatched to a column in which user will select the Ou Name from the list and internally the respective org_id will store into the database where the OU Name is available in the same data block but it is not database item . (Only org_id is database item)
    Now if you query the same block i would expect the Ou Name should display .
    Right now in my case it is not displaying anything into that column.
    Hope u understood this time..Please let me know is there any trick?

  • Af:query LOV selection is not retained.

    I have created a programmatic View object and created a view criteria based on three attributes.
    In af:query panel these attributes are displayed as LOVs.  When I click the LOV search icon,
    a Search and Select popup window opens.  When I select one of the rows by double clicking on it the popup
    is closed and instead of the selected value, first value in the table is selected always.
    Also, popup window occupies the entire width of the browser and the table, inside the popup, displaying the LOV attribute value list is rendered with
    horizontal scroll bar because of which the table has to be scrolled all the way till the end and then only OK button is displayed.
    Is there a way to control LOV popup window dimensions?
    Version: JDEV 11g Release 1

    Check that you defined "Key Attributes" in you VO and also in LOV VO.
    To control the width of the input parameters, in VO definition, click on the bind variable and in UI hints tab set the "display width"

  • ABAP query to schedule through batch job

    Hi
    i have requirement to schedule batch job for ABAP query report and download the report data to local drive throuh batch job.
    we have created ABAP query report, and this report should run through batch job and download the report data to local drive,,
    please help, how we can solve this.
    Regards
    Vanraj

    Hi Vanraj,
    I have two topics to talk about:
    1st: in order to schedule a background job, try to do the following:
      - Go to transaction SQ01 and select your query
      - Check that you've already created a variant, containing the required selection data.
      - Instead of running in online, go to "Query > Execute > Exec.in background"
      - This will allow you to schedule the background job.
    2nd: it is NOT possible for a background job to download a file to a local PC.
    I hope it helps.
    Kind regards,
    Alvaro

  • CSOM (Javascript) Inner join CAML query on 'User Information List'

    I need to pull site user details like (email, display name, phone) from 'User information list' using a 'inner join' on a different list 'SiteOwners' where 'Contact' is a person or group field.
    The result object is not returning the details from 'User Information List' though it returns details from 'SiteOwners' list
    <script src="/_layouts/15/SP.runtime.js" type="text/javascript"></script>
    <script src="/_layouts/15/SP.js" type="text/javascript"></script>
    <script type='text/javascript'>
    'use strict';
    //$(document).ready(function() {
    function abc() {
    var context = SP.ClientContext.get_current();
    var web =context.get_web();
    var stownrlist = web.get_lists().getByTitle('SiteOwners');
    var camlqry = new SP.CamlQuery();
    camlqry.set_viewXml = "<View>" +
    "<Query></Query>" +
    "<ViewFields>" +
    "<FieldRef Name='Title'/>" +
    "<FieldRef Name='Contact'/>" +
    "<FieldRef Name='UserName'/>" +
    "<FieldRef Name='UserEMail'/>" +
    "<FieldRef Name='UserMobilePhone'/>" +
    "</ViewFields>" +
    "<ProjectedFields>" +
    "<Field Name='UserName' Type='Lookup' List='User Information List' ShowField='Name' />" +
    "<Field Name='UserEMail' Type='Lookup' List='User Information List' ShowField='EMail' />" +
    "<Field Name='UserMobilePhone' Type='Lookup' List='User Information List' ShowField='MobilePhone' />" +
    "</ProjectedFields>" +
    "<Joins>" +
    "<Join Type='INNER' ListAlias='User Information List'>" +
    "<Eq>" +
    "<FieldRef Name='Contact' RefType='Id'/>" +
    "<FieldRef List='User Information List' Name='ID'/>" +
    "</Eq>" +
    "</Join>" +
    "</Joins>" +
    "</View>";
    debugger;
    var stownritems = stownrlist.getItems(camlqry);
    context.load(stownritems);//, 'Include(Title,Contact,UserName,UserEMail,UserMobilePhone)');
    context.executeQueryAsync(
    Function.createDelegate(this, function () {
    debugger;
    var stownenm = stownritems.getEnumerator();
    while (stownenm.moveNext()) {
    var userid, loginname,email,name,mobilephone;
    if (stownenm.get_current().get_item('Contact') != null) {
    userid = stownenm.get_current().get_item('Contact').get_lookupId();
    loginname = stownenm.get_current().get_item('Contact').get_lookupValue();
    email = stownenm.get_current().get_item('ows_UserEMail');
    name = stownenm.get_current().get_item('UserName');
    mobilephone = stownenm.get_current().get_item('UserMobilePhone');
    }), function() {alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());});
    </script>
    Any suggestions / help please.
    Sai

    I identified the issue
    "camlqry.set_viewXml"  is a method (camlqry.set_viewXml()) not a property (as apposed to C#).
    The above should be like "camlqry.set_viewXml(querystring)" instead of "camlqry.set_viewXml =qrystring".
    Sai

  • SQ01 - Query Reporting - Scheduling

    How can SQ01 be scheduled for batch execution?  Is there a batch program which can be executed with the query name and variant?

    Hi,
    On SQ01, enter the query name and press execute. On the program selection screen, go to the menu System-> Status. Copy the program name from the window that comes up and put it on the scheduler (transaction: SM36).
    or
    see the below link.
    http://www.auditware.co.uk/downloads/SAPQuery_step_thru.pdf
    Anil

  • Scheduling information won't show

    I did a search for a character in the schedule and all the information in the other scenes disappeared.  (Case number 0212026031.)  I chatted with Adobe Support and they sent me to the phone line.  I called the phone number and selected that they call me back in 25 minutes, which they did but it was a robo call and I have now been on hold for an additional 25 minutes and they haven't picked up.  I feel that I am completely getting the run-around and am very disappointed in Adobe Story.  I will probably spend the rest of the day purchasing and learning Movie Magic Scheduling and Budgeting.  Adobe Story is neither reliable in product or support.  Wish you could have been there for me.  I really wanted to make your pipeline work for my film.

    Hi,
    Sorry for the inconvenience. For a faster response, you could always mail us at DL-AdobeStory-support<at>adobe<dot>com
    When you search for a string in schedule, it shows all the scenes containing that string ( and hide the other scenes). When you clear the search, all the scenes are back.
    We also have a request in out backlog around search where the users would like to see all scenes and the expectation is to only highlight the searched string in the view. We will be working on it soon. Is this what you need ?
    Regards,
    Sunny

Maybe you are looking for

  • Best practice on integration message augmentation via user exit or rfc call

    I am looking for documentation that would provide best practices on whether to use user exits to augment the data on an IDOC or to forward the standard SAP produced IDOC to PI where rfc calls are made to augment the data as required for the specific

  • Can I link My contacts in 2 different Apple id's ?

    I Have my personal Apple id in my iphone 6 but now I have a working Apple id in my iPhone 4s and I want to have only one contacts list but keep my iMessage and everything apart

  • Can you help with this problem Exchange 2010

    Exchange Mail Error 1- imta31 #550 Sender domain must exist 2- This message has not yet been submitted. Transmission will continue to be tested. Server, the next 1 day, 19 hours and 55 minutes to deliver this message will continue to work. During thi

  • QT Pro/iTunes

    I just upgraded to OX Tiger, iLife, and QT 7 Pro. I use to have QT Pro 6 and I was able to save movies from the internet. Now when I save and try to open a QT mpeg movie I get an ALERT that QT cannot open the file because its not a file that QT under

  • MUSIC/ALBUM COVERS

    I have been having a problem with transferring my songs from my iTunes to my new iPhone 6+. I did what the Genius at the Apple Store advised me to do (uncheck the "sync all music"/sync, then recheck the "sync all music"/sync) Doing that sometimes I d