Triggering Real time job from Batch jobs..

Can we trigger real time jobs from the batch jobs. As soon as batch job completes we need to start real time job automatically. Is this possible with BODI XI?

Greetings Post Originator,
This post is older than 60 days and there are no entries in the past 30 days.  Based on the content discussed, it appears that you question has been answered. This message is being marked as answered and points are being assigned if available where possible. 
Thank you for being an active participant in the SAP Forums,
Rob Siegele
Forum Moderator
SAP Americas

Similar Messages

  • DBMS_JOB.RUN: cannot run a job from a job

    I'm trying to set up a job to automatically run every October 1st. The "submit" part of this job is pretty simple, but I am getting some errors on the "run" part:
    declare
    job_nbr binary_integer;
    BEGIN
    dbms_job.submit(job => job_nbr,
              what => 'RESET_ORDER_NBR_SEQ;',
              next_date => to_date('10/1/2008', 'mm/dd/yyyy'),
              interval => 'add_months(sysdate,12)');
    dbms_job.run(job_nbr);
    COMMIT;
    END;
    When I run this script, I get the following error: "ORA-32317: cannot run a job from a job". I know this is due to the dbms_job.run because I don't get the error when I comment this line out. Also, even when I moved the dbms_job.run into its own script (and even hard-coded the job_nbr, so the dbms_job.run was the only line in the script), it still gave me the same error. This is working in SQL Developer when but not in Application Express. It seems to be something specific to the "run", since "submit" and "remove" work fine. Has anyone had any problems like this?

    MBETTIS,
    Rather than including dbms_job.run in your PL/SQL block, why don't you just schedule the job to run via next_date?
    Also, the interval will be computed after the job successfully executes. So if your job takes 5 minutes to run, the value of SYSDATE in your interval may "slide" after each execution. Consider using some form of TRUNC against the SYSDATE in your interval if you want to achieve a consistent execution time.
    Joel

  • Problems with real-time extraction from generic datasource.

    Hello,
    I have a real-time extraction from generic datasoruce with numeric field as a delta pointer. I have created an initilization infopackage, delta IP and real-time IP, real-time data transfer process, real-time deamon. The problem is that real-time extraction does not see delta updates. Deamon creates requests in PSA every minute, but there are all empty. When i delete the deamon and shedule not real-time delta infopackage, it loads delta records correctly. Version of BI - 7.0 SP 18.
    The second question: a cannot stop real-time deamon. I stop it in RSRDA, but when i try to shedule standart IP, i get an error, that deamon is still running. So i have to delete it and recreate.
    And the 3rd question, theoretical. What real-time extraction is necessary for? As i understand, i can create a process chain that will be sheduled every 1 (5, 10, ...) minute. What are advantages of real-time extraction rather such variant?
    Thanks.

    Hi,
    1.Note 1113610 - P17:SDL:PC:RDA:Daemon runs: Do not start delta/init IPackage
    Summary
    Symptom
    When a daemon runs or is scheduled, you may not start a 'normal' delta/init InfoPackage.
    Other terms
    RDA, real-time data acquisition, daemon, InfoPackage, scheduler
    Reason and Prerequisites
    This problem is caused by a program error.
    Solution
    SAP NetWeaver 7.0 BI
               Import Support Package 17 for SAP NetWeaver 7.0 BI (BI Patch 17 or SAPKW70017) into your BI system. The Support Package is available when Note 1106569 "SAPBINews BI7.0 Support Package 17", which describes this Support Package in more detail, is released for customers.
    **********you can apply the correction instructions provided in the note
    2.i refered closing of the request in the target i.e DSO not psa.
    3. Note 1000157 - RDA daemon does not get data from delta queue
    Summary
    Symptom
    You use Real-time Data Acquisition (RDA) to load data from an SAP source system. After several hours or days, the system no longer reads the data from the delta queue. In the RDA monitor, you can see that the InfoPackage has been executed, however the data transfer process (DTP) has not been executed for a long time. In transaction RSA7 in the source system, you can see that there is already data in the delta queue.
    Cheers,
    swapna.G

  • Reduce/Eliminate the start up time for a batch job

    I'm looking for ideas on how I might be able to modify either my jobs, workflow or data flow in an effort to reduce the "start up" time that I'm encountering.
    Currently I have a batch job we execute several hundred times a day. One of the parameters we pass to this job is a file path. The data flow reads a flat text file in this file path, processes the data through several transforms, and writes a flat text file back into the file path.
    The actual processing time varies with the number of records being processed -- as one would expect.
    However, even for the smallest - single record - input file the job takes between 40 and 50 seconds to complete. If I watch the trace file during this time it appears that 95% of this time is spent getting ready to run the job. The actual processing is almost instantaneous.
    Is there anything that I can look at changing in order to improve the overall performance of these jobs?
    I should mention that I am aware of setting up real time jobs, and how they would not require this "start up" time for each job submitted. However this jobs we process could between 1 to 1,000,000 records. Passing that many records in a single web service call does not seem reasonable. I would deal with issue on the submission side and then the potential timeout issue when waiting on the response -- which could also be quite large.

    Thanks Michael --
    I must admit I'm a bit lost when it comes to the issue of codepages.
    Is there any documentation you could refer me to with regard to setting the correct codepage for the data sources and targets?
    Also, from the trace log I see the following statement:
    Changed engine runtime locale <eng_us.cp1252> to <Unicode (UTF-16)> because data flow <DF_Suppression> contains a transform that requires processing with the Unicode (UTF-16) code page.
    Other than the data source and data targets I do not see any option to set, or change, the codepage within any of transforms that I am using. (URAC, Name Cleanse, Query, Case, Match transforms are used)
    Right now my source and targets are set to "default", which would seem to need to be changed. Where is the "default" set?
    Sorry for so many questions about this.

  • File Adapter Error Handling from Batch job

    Dear all,
    I'd like to handle error information by batch job process.
    However I can't find out the error flag from the file adapter.
    My XI setting is below.
    1.FIle to File conversinn by using File adapter
    2.Async setting
    3.Not use BPM
    Anyway,we only want to judge the status for XI process from Batch process like MS-DOS batch.
    Kindly please tell me the detail explanation.
    Regards,
    Masayuki.

    Hi Masayuki,
    Please take a look at these..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/09714d543b11d1898e0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/0971c2543b11d1898e0000e8322d00/frameset.htm
    cheers,
    Prashanth

  • Time restriction on Batch Job

    Hi Friends,
    I have a requirement to set up a batch job to run every 15 minutes to print some labels. The catch is that it has to run only on working days between 6:15 AM and 6:15 PM. I believe that we can schieve the working days part by giving the factory calendar in restrictions and selecting the option 'Do not execute job on Sundays or Holid.' but I am unable to find a way to restrict is based on time. Is there any setting ro parameter in SM36 that can help achieve this or is there any other workaround for this.
    Thanks in advance for any hekp you can provide.
    ~ Praveen

    Hi Praveen,
    we had faced a similar issue and were not able to find anything substantial.
    What can be done as a workaround is to schedule the job periodically based on calendar to run every fifteen minutes and in the program code you could write the logic to terminate the program if time is not between the stipulated hours.

  • Unable to schedule a job from the Jobs Library

    Hi,
    I have created and stored a job in the Job Library, however when I try and submit it to run with a schedule and against specified targets Grid just seems to hang, and eventually it comes back with "Application server is not responding". I have set it up as a sql script and used a PL/SQL block, I have tested the script outside of Grid and it works fine. I have tried using prefered credentials and override credentials, but this makes no difference.
    I am running OEM 10g Release 3 on Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
    Anybody had anything similar?

    Thanks for the reply. Tested connectivity to both databases from Grid all looks good. Attempted to set up a job individually for each db and it hung on both, again I tried using default credentials and override credentials.

  • How can I generate a real-time highchart from my database data?

    I have looked several links; however, I couldn't find a working demo showing how to implement a highchart using data from a database.
    Objective: I want to generate a real time highchart line graph getting data from my database. What I want is very similar to the
    HighChart Demo which provides a real-time highchart with randomly generated values. It is also similar by X-axis and Y-axis, for I want my x-axis to be "Time" (I have a DateTime column in my database) and y-axis to be an integer (I have
    a variable for that as well in my database).
    Please I need help in sending the model data to my razor view.
    Note that I am already using SignalR to display a realtime table. I also want to know if it can be used to automatically update the highchart as well.
    Below is the code snippet of my script in the view. I have used the code provided in
    HighChart Demo link for generating the highchart. Please tell me where should I apply the changes on my code.
    @section Scripts{
    <script src="~/Scripts/jquery.signalR-2.2.0.js"></script>
    <!--Reference the autogenerated SignalR hub script. -->
    <script src="~/SignalR/Hubs"></script>
    <script type="text/javascript">
    $(document).ready(function () {
    // Declare a proxy to reference the hub.
    var notifications = $.connection.dataHub;
    //debugger;
    // Create a function that the hub can call to broadcast messages.
    notifications.client.updateMessages = function () {
    getAllMessages()
    // Start the connection.
    $.connection.hub.start().done(function () {
    alert("connection started")
    getAllMessages();
    }).fail(function (e) {
    alert(e);
    //Highchart
    Highcharts.setOptions({
    global: {
    useUTC: false
    //Fill chart
    $('#container').highcharts({
    chart: {
    type: 'spline',
    animation: Highcharts.svg, // don't animate in old IE
    marginRight: 10,
    events: {
    load: function () {
    // set up the updating of the chart each second
    var series = this.series[0];
    setInterval(function () {
    var x = (new Date()).getTime(), // current time
    y = Math.random();
    series.addPoint([x, y], true, true);
    }, 1000);//300000
    title: {
    text: 'Live random data'
    xAxis: {
    type: 'datetime',
    tickPixelInterval: 150
    yAxis: {
    title: {
    text: 'Value'
    plotLines: [{
    value: 0,
    width: 1,
    color: '#808080'
    tooltip: {
    formatter: function () {
    return '<b>' + this.series.name + '</b><br/>' +
    Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x) + '<br/>' +
    Highcharts.numberFormat(this.y, 2);
    legend: {
    enabled: false
    exporting: {
    enabled: false
    series: [{
    name: 'Random data',
    data: (function () {
    // generate an array of random data
    var data = [],
    time = (new Date()).getTime(),
    i;
    for (i = -19; i <= 0; i += 1) {
    data.push({
    x: time + i * 1000,
    y: Math.random()
    return data;
    function getAllMessages() {
    var tbl = $('#messagesTable');
    var data = @Html.Raw(JsonConvert.SerializeObject(this.Model))
    $.ajax({
    url: '/nurse/GetMessages',
    data: {
    id: data.id,
    contentType: 'application/html ; charset:utf-8',
    type: 'GET',
    dataType: 'html'
    }).success(function (result) {
    tbl.empty().append(result);
    $("#g_table").dataTable();
    }).error(function (e) {
    alert(e);
    </script>

    Hi Sihem,
    Thank you for contacting National Instruments.  Using the LabVIEW Real-Time module, you can do development without actually having a target.  While viewing the project explorer window, you can do the following steps:
    Right click on the project
    Select New >> Targets and Devices
    Select the "New Target or Device" radio button
    Select the target you would like to develop on.Information about the LabVIEW Real-Time Module can be found here.
    Regards,
    Kevin H
    National Instruments
    WSN/Wireless DAQ Product Support Engineer

  • How to get the real-time data from a CCD camera in labview?

    I am going to setup a monitor system and need to acquire the intensity of each pixel at each second from a CCD camera. Also, I need to to some simple calculations with these real-time data at every moment to get my finanl output in this monitor system.
    How may I do this using Labview?
    Thank you very much.
    Kai

    We don't have special powers, so we can't guess if you have Imaq Vision or not, if your camera comes with a LabVIEW driver, if it has an USB interface, or firewire, or a dedicated NI card, if you just want to detect a move, or a change in intensity, etc...
    So, try to be more specific with your question, that will helps a lot  
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • How to get real time date from Sunny Boy Inverters through SMA Webbox?

    Hello,
    I was looking on how to communicate with three Sunny Boy Inverters that are linked to a SMA webbox. Currently we get a daily summary of the solar production, but we would like to have real time data uploaded into LabVIEW. The people of SMA said that I needed to use "RS485 protocols" with a software they have called YASDI (http://www.sma.de/en/products/software/yasdi.html); however, I keep finding other information that says that I can communicate with my inverters using the SMA OPC server (http://www.sma-america.com/en_US/products/software/sma-opc-server.html). I also found this forum, http://forums.ni.com/t5/LabVIEW/Sunny-Island/m-p/809129/highlight/true#M368718, where I understood that I don't need to use the OPC server, but instead I can use UDP communication to get the data. I found another forum that talks about using the YASDI :http://forums.ni.com/t5/LabVIEW/help-with-Sunny-Boy-inverter/m-p/293273/highlight/true#M153892. 
    I've tried to communicate with the people of the forums and I haven't gotten any responses; therefore, I wanted to see if I can get cleared up on this issue. Do I need to use OPC server to communicate with my inverters through the webbox or can I just use UDP in LabVIEW?
    Any help would be greatly appreciated,
    Thanks
    Jose

    Hello,
    I got a response from Vincezo: http://forums.ni.com/t5/LabVIEW/Sunny-Island/m-p/1794786. I'm currently working with the VI to communicate with the webbox through UDP. Since the PRC protocols to communicate with the webbox are in JavaScript Object Notation (JSON), I'm not sure if the data-in string has to be in JSON format. However, the only error I'm getting is 56 in the UDP read function. I've tried increasing the size of the bytes and timeout, but I keep getting this error. If anyone can help me with this part I would very grateful. 
    Thanks,
    Jose

  • CRM 2007 - Real Time Quotations from ECC 6.0

    Hi Gurus
    We want to be able to generate Quotations in our CRM 2007 system.
    The Master Data is maintained in ECC 6.0 for the products we wish to Quote on.
    I think the terminology we're looking for is a real time quotation capability where by we pulled the required values from ECC 6.0 at the time of the quotation.
    Is this possible?
    What are the general steps required to do this?
    We want to avoid delta loads of data from ECC 6.0 into CRM if this is at all possible.
    Is this the right approach or should we consider Delta Loads?
    Many Thanks in advance
    Panduranga

    Hello Panduranga,
    Not as far as I know, but the following is a good starting point:
    IMG: Customer Relationship Management => Transactions => Settings for Sales Transactions => Define Profile for ERP Sales Transactions
    Kind regards,
    Johan Wigert

  • Creating jobs from library jobs

    I know that jobs can be saved to the library to share with others. I wanted to know how to copy a job from the library to the normal job scheduler. Can this be done? It doesn't seem very intuitive if there is a way to do it.
    Thanks!
    Jeremy

    There is no EM supported way to do this.
    Rob

  • 10 band real time equalizer from mic to earphones

    Hi. I would like to do script to do 10 band equalizer which would change sound from microphone dynamicly (in real time) and result play in earphones (also realtime) with small time lag.
    Is that possible? Maybe some paid library? I would like to get 15 band EQ.
    I found something like this:
    http://www.blixtsystems.com/2008/05/simple-3-band-eq-with-flash-player-10/
    but i don`t know how to scale it to get 10 or 15 bands.
    Would it work on mobile air apps or only on desktop & flash apps?

    I found something like this:
    http://philippseifried.com/blog/2011/10/20/dynamic-audio-in-as3-part-3-robot-voice/
    I would like to change it get EQ band corrector to set some bands (f.e. 10 different frequences in hearing range from 125Hz to 8000Hz) volume level up anddown. 
    Something like this:
    band125hz.volume +=1;
    band200hz.volume +=5;
    band400hz.volume +=0;
    band800hz.volume +=1;
    I would like volume up and down by frequencies. This script after change should strengthen (boost) or weaken (cut) the energy of specific frequency bands as in this process:
    http://en.wikipedia.org/wiki/Equalization

  • Record Real Time output from a Audio Instrument to Audio Track

    Hey,
    Is there anyway to record in real-time the output of an Audio Instr?
    I use a plugin that doesn't support automation, so I need to record the changes as they appear?
    Any other solution?
    D

    Sound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower Sound FlowerSound Flower

  • Compressor - Cannot submit job from Batch Window

    I followed everything that the article http://docs.info.apple.com/article.html?artnum=93234 said and i am still having problems . . i called apple they wanna charge me 200 for support . . anybody have any ideas

    One thing that I found worked quite often as a fix for this problem in Compressor 1 was to select Location" from the Blue Apple in the upper left of the screen. Then create a new location with all network settings OFF (no ethernet, airport etc. connections). Restart the computer with this new location (I usually just called it "OFF"--terribly creative, I know). The submit button usually was available and I had no problems encoding.
    In fact, I would use this location if anything weird popped up with any new release of Compressor v1. Compressor 1 seemed to be tied into the network, if avaialbe for some odd reason that no one at apple could sufficiently explain to me.
    This workaround doesn't seem to be necessary in v2.
    Brian Gary
    author "Art of Encoding Using Compressor"

Maybe you are looking for