Ejecution of an scenario using the scheduling of a scenar

Hi Guys,
I am runing some interfaces using there schedule of an agent. I have two variables that take value like START_DATE='20120401' and END_DATE='20120402' but I need
that the value assigned to these variables can be set taking the function sysdate how can I do to give the value of these variables using an select or to date function?
Thanks in advance.

Hi Kesana,
My variables are defined as numeric so when I try to change the value in the scheduling I can not enter the select word. How can I defined these variables?
Thanks in advance.
Edited by: ORV on Sep 10, 2012 4:33 PM

Similar Messages

  • How to create a standard order with using the Scheduling agreement.

    Hi All,
    Could any body tell me step by step process of creating a standard order using the Scheduling agreement reference.
    Thanks,
    srinivas.

    HI
    In Scheduling Agreements the subsquent process is not order it is actually delivery
    Scheduling Agreements contains Fixed Delivery dates and quantities and the same can be seen in schedule lines of the
    Scheduling Agreement which you have prepared
    The word fixed carries a lot of meaning here
    On the due date
    the system actually creates deliveries or it appears in the delivery due list
    You cant create order referring to scheduling agreement
    This is business logic and SAP logic too
    Scheduling Agreements means your order is sheduled for delivery
    Raja

  • Using the schedule to budget

    I've used the scheduling feature in Story to schedule my feature. Now, I want to make the information in the schedule meaningful in terms of the budget (which I have created manually in a spreadsheet). For example, I want to know how many days a particular character is required so that I can add that number to the budget and know how much the character will cost. I can go through the schedule and count manually how many times each of the 63 characters in my script appear, but it seems like there must be and easier way for me to know for example, that the character of Mr. Clark is needed for six days. Anyone?

    Hi Ankita,
    Thank you for your prompt reply. I generated the Character Crossplot report from the script, however, that does not give me the information I need. The Character Crossplot report tells me how many SCENES each character appears in the SCRIPT. But, I need to know how many DAYS each character appears in the SCHEDULE. I can then take that number to the budget, type it in, and I will know how much I have to pay for cast.
    Spurred on by your suggestion, however, I poked around more and may have discovered something useful for others trying to do the same. Generate a schedule and organize it. Then, from the schedule view, generate a Schedule Dates Crossplot report. This report breaks down by character and day of shooting. I still have to manually count the number of days a character appears, but it's easier than scrolling through the schedule and manually counting.
    Thanks,
    Daneeta

  • Prompt Values are duplicated when using the schedule option

    Hi,
    I'm working on a Windows Server 2003 XI 3.1 FP1.6 environment and have noticed that there are some Crystal Reports that when scheduled in the CMC, the prompt values are duplicated.  When I delete the duplicate values and click Save, even more duplicate copies show up.  I've run the report with the duplicate values and it seems to return fine, but it's odd that it's creating so many copies of the parameter values.
    Any thoughts on how to resolve this? It only happens on a small set of reports, the other reports in the environment do not do this.

    Hi John,
    My recommendation would be to switch over to the concurrent licences.  What should happen when you try to set more than 5 users as named users is that Enterprise should throw an error and say that you already have 5 named users.
    So if you do somehow manage to set all 350 users to be named even though you only have 5 licenses - then yes, that would be breaking licensing.  While with 5 concurrent, you can set them all to be concurrent and not have to worry about it.
    Regards,
    Shawn

  • MacMini: Waking up using the "schedule" option in poer settings.

    Anybody having trouble with MacMini's waking up on schedule after the most recent Mac OS X update? Seeing this problem on both PPC and Intel versions. I have them set to go to sleep for 10 minutes and then restart (They're unattended). After the most recent update, they power down on schedule but do not power up.
    Thanks.
    Macbook, Powerbook, MacMini (PPC, Intel)   Mac OS X (10.4.9)  

    Can't set the startup and shutdown times closer than 10 minutes.

  • Using XML String in the Scheduler Adapter in the Receive port

    I have a requirement where I have to query the view in the Oracle database,and the View is like this
    EmpNumber | Name | TermDate
    E001 | ABC | (null)
    E002 | DEF | 13-DEC-14
    E003 | GHI | (null)
    E004 | JKL | 11-NOV-14
    E005 | MNO | (null)
    E005 | PQR | 10-DEC-14
    I am going to use the Scheduler adapter in the receive port.It should select the Records with the TermDate null and TermDate 7days ago from today. So here is how I want the selected records to be
    EmpNumber | Name | TermDate
    E001 | ABC | (null)
    E002 | DEF | 13-DEC-14
    E003 | GHI | (null)
    E005 | MNO | (null)
    In the other forum I found the sql command to do this is,
    select * from EMP where TERMDATE is null or TERMDATE >= trunc(sysdate) - 7;
    But I am not sure if the XML String in the Scheduler Adapter is correct
    <ns0:Select xmlns:ns0="http://Microsoft.LobServices.OracleDB/2007/03/View/EMP"><ns0:COLUMN_NAMES>*</ns0:COLUMN_NAMES><ns0:FILTER>TERMDATE IN ('null','TERMDATE >= trunc(sysdate) - 7')</ns0:FILTER></ns0:Select>
    Any help will be greatly appreciated. Thanks

    Thanks Suleiman.
    I am using the WCF-Custom Adapter to get the data from the Oracle database. And I am using the Scheduler adapter because to get data on a daily basis.In one of our other application we have used the query statement in the Scheduler adapter
    Like,
    <ns0:Select xmlns:ns0="http://Microsoft.LobServices.OracleDB/2007/03/View/VW_EMP_DEPT"><ns0:COLUMN_NAMES>*</ns0:COLUMN_NAMES><ns0:FILTER>PROCESS IN ('A','B','C')</ns0:FILTER></ns0:Select>
    and it works really fine, it just select the records with the Process A or B or C. I dont know how can I select now with respect to data that is 7 days ago from today.Help me with it.

  • Need dynamic File name in the Schedule link for FTP Destination

    Hello,
    We are using Oracle BI Publisher Enterprise formerly XML Publisher
    I am trying to drop a .csv file into an FTP location using the Schedule link for a report I have created. I need to run this program everyday. Is there a way I can have it drop a file with the date stamp? Currently when you hit Schedule and select FTP destination I need to specify the path of the file and I am not sure if it can accept dynamic parameters?
    Can it?
    I want to be able to specify "SomethingDate{sysdate}".csv
    Cheers
    Vijay

    Hi Vijay
    Im pretty sure it can not do that at the moment, not thru the scheduler UI.
    What you could do thou, is set the report up as a bursting report - you're not going to split the report but the bursting engine can be fooled. With that method you can specify the file name to be used via sql
    Regards
    tim

  • How I run a shell script from the scheduler on 10.2.0.2.0 ?

    Hello Oracle People,
    I'd like to run a shell script from the Scheduler in my 10g database.
    Right now it is a simple shell script.
    Eventually it will wrap RMAN commands to back up my DB.
    I wrote a simple pl/sql script to create a job:
    -- cr_job10.sql
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'my_backup_job',
    job_type => 'EXECUTABLE',
    job_action => '/h/oracle/scripts/tst.sh',
    start_date => '06-SEP-07 5.33.00PM US/Pacific',
    repeat_interval => 'FREQ=DAILY',
    end_date => '08-SEP-07 4.00.00PM US/Pacific',
    enabled => TRUE,
    comments => 'My Backup Job');
    END;
    I see no errors when I run the above procedure.
    I checked DBA_SCHEDULER_JOBS and the job is in there.
    The scheduler, though, errors out with an error which I see in a trace file:
    /h/oracle/admin/orcl/bdump/orcl_j000_22396.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /h/oracle/product/10r2
    System name: SunOS
    Node name: sol
    Release: 5.10
    Version: Generic_118855-14
    Machine: i86pc
    Instance name: orcl
    Redo thread mounted by this instance: 1
    Oracle process number: 15
    Unix process pid: 22396, image: oracle@sol (J000)
    *** ACTION NAME:(MY_BACKUP_JOB) 2007-09-06 17:33:00.175
    *** MODULE NAME:(DBMS_SCHEDULER) 2007-09-06 17:33:00.175
    *** SERVICE NAME:(SYS$USERS) 2007-09-06 17:33:00.175
    *** CLIENT ID:() 2007-09-06 17:33:00.175
    *** SESSION ID:(140.13520) 2007-09-06 17:33:00.175
    *** 2007-09-06 17:33:00.175
    ORA-12012: error on auto execute of job 53267
    ORA-27369: job of type EXECUTABLE failed with exit code: 274662
    I googled on this:
    ORA-27369: job of type EXECUTABLE failed with exit code: 274662
    Google returned only 1 hit.
    There, I see some evidence that I need to configure something inside
    of Oracle to run shell scripts from the scheduler, but possibly just
    for machines running windows. I'm running Solaris.
    Do any of you know what I need to configure inside of Oracle to
    run shell scripts from the scheduler?
    -Owen

    Hello people,
    I should have added this bit of information:
    "The script runs fine from oracle's crontab."
    "The script runs fine from a shell owned by oracle."
    I'm getting responses telling me to check my env variables and permissions
    which would be helpful to a UNIX novice.
    I have a feeling that no one is using the scheduler to run RMAN scripts.
    Tim Hall suggested I take a close look at these files:
    $ORACLE_HOME/rdbms/admin/externaljob.ora
    $ORACLE_HOME/bin/extJob
    Currently I'm setup like this:
    bash sol root /h/oracle/product/10r2/bin 31 #
    bash sol root /h/oracle/product/10r2/bin 31 # ll $ORACLE_HOME/rdbms/admin/externaljob.ora
    -rw-r--r-- 1 root dba 52 Sep 7 15:29 /h/oracle/product/10r2/rdbms/admin/externaljob.ora
    bash sol root /h/oracle/product/10r2/bin 32 #
    bash sol root /h/oracle/product/10r2/bin 32 # cat $ORACLE_HOME/rdbms/admin/externaljob.ora
    # externaljob.ora
    run_user = rman
    run_group = rman
    bash sol root /h/oracle/product/10r2/bin 33 #
    bash sol root /h/oracle/product/10r2/bin 33 #
    bash sol root /h/oracle/product/10r2/bin 33 #
    bash sol root /h/oracle/product/10r2/bin 33 # ll $ORACLE_HOME/bin/ext*
    -rwsr-x--- 1 rman dba 30388 Sep 21 2006 /h/oracle/product/10r2/bin/extjob*
    -rwsr-x--- 1 rman dba 30392 Sep 21 2006 /h/oracle/product/10r2/bin/extjobo*
    -rwsr-x--- 1 rman dba 34468 Sep 21 2006 /h/oracle/product/10r2/bin/extproc*
    -rwxr-xr-x 1 oracle dba 300 Sep 21 2006 /h/oracle/product/10r2/bin/extusrupgrade*
    bash sol root /h/oracle/product/10r2/bin 34 #
    bash sol root /h/oracle/product/10r2/bin 34 #
    bash sol root /h/oracle/product/10r2/bin 34 #
    On my system, the user 'nobody' has no shell so I cannot use nobody.
    I created a user named rman:
    bash sol root /h/oracle/product/10r2/bin 34 #
    bash sol root /h/oracle/product/10r2/bin 34 #
    bash sol root /h/oracle/product/10r2/bin 34 # su - rman
    Sun Microsystems Inc. SunOS 5.10 Generic January 2005
    $
    $ id
    uid=220(rman) gid=220(rman)
    $
    $
    $ date
    Fri Sep 7 16:30:03 PDT 2007
    $
    $
    Jared points out that rman needs access to extproc:
    $ ls -la /h/oracle/product/10r2/bin/extproc
    -rwsr-x--- 1 rman dba 34468 Sep 21 2006 /h/oracle/product/10r2/bin/extproc
    $
    $
    Here is a demo of rman running his script:
    bash sol root /h/oracle/product/10r2/bin 35 # su - rman
    Sun Microsystems Inc. SunOS 5.10 Generic January 2005
    $
    $
    $ ls
    scripts
    $
    $
    $ scripts/tst.sh
    $
    $
    $ cat scripts/tst.sh
    #! /bin/sh
    /usr/bin/date > /tmp/tst.sh.out.txt 2>&1 &
    exit 0
    $
    $
    $ cat /tmp/tst.sh.out.txt
    Fri Sep 7 16:31:23 PDT 2007
    $
    $ rm /tmp/tst.sh.out.txt
    $
    I am focused on this error:
    ORA-27369: job of type EXECUTABLE failed with exit code: 274662
    And I am focused on this exit code: 274662
    What does 274662 mean?
    If the Scheduler gives me an error like "274662" rather than some English,
    it's obvious to me the Scheduler is a POS and I should not use it.
    And of course,
    If I cannot run RMAN from Oracle Scheduler, I'll use cron.
    -Owen

  • Using the DTW objects in SDK

    Hi Dear;
    how can i use the DTW in SDK?
    best regards;

    >
    Dany Bittar wrote:
    > Dear Vasu;
    >
    > we can link the DTW to ODBC, so there is no problem to import directly from a database
    > but the question is how can i call the dtw from SDK?
    >
    > best regards;
    I guess,
    U cannot directly call the events of the DTW screens with the SAP SDK. But u can use the schedule run feature of the DTW to import the data automatically.
    The following is the infomation provided by the help file.
    Use
    The Data Transfer Workbench provides the Schedule Run function so that data can be imported or updated automatically to the database.
    Procedure
    To arrange a schedule run, perform the following steps:
    1. To use this function, follow the same steps as described in the Importing the Data Files section or Updating Existing Business Object section.
    On Step 5: Run the data input, press Save to save the transfer.
    2. Write a batch file (*.bat).
    The format of the file is as follows:
    C:\Program Files\SAP\Data Transfer Workbench\DTW u2013s file path
    For example, C:\Program Files\SAP\Data Transfer Workbench\DTW u2013s C:\Program Files\SAP\Data Transfer Workbench\config.xml
    3. To schedule the run, choose Start->All Programs->Accessories->System Tools->Scheduled Tasks.
    Result
    You have arranged a schedule run to automatically import and update the data from a file into SAP Business One.
    Hope this helps,
    Vasu Natari.

  • Cancelling or removing the scheduled job

    HI,
    I have job running ...i made use of the following SQL statements
      Select * from All_scheduler_jobs;
      select * from USER_SCHEDULER_JOBS;
      select * from user_scheduler_running_jobs;And i see the job is running ...How do i cancel or remove the job ??
    Thank you!!

    Hi,
    calling dbms_scheduler.disable will prevent a job from running again, but it may still be running and may still exist.
    To stop a running job you can use dbms_scheduler.stop_job and top drop a job you can use dbms_scheduler.drop_job.
    To make sure you are dropping the right job, select owner and job_name from all_scheduler_jobs and use 'owner.job_name' instead of just job_name.
    For further scheduler questions, you can use the scheduler forum here.
    Scheduler
    Hope this helps,
    Ravi.

  • Credit exposure and the Schedule line category

    Hi,
    I have a problem in credit exposure update in FD33.When I use the schedule line category xx which has req/Assembly marked in schedule line category settings is updating the sales order values in Fd33 even if the sales order (while creating) is blocked due to credit.
    Whereas I use the schedule line category YY which has req/Assembly not marked in schedule line category settings is not updating the sales order values in Fd33  if the sales order(while creating) is blocked due to credit.
    Is this the standard behavior? If so Why.
    Regards
    Babu

    Hi Babu,
    Yes, this is a standard behavior.
    Please refer to note 393304.
    If the flag "transfer of requirements" is not set, that means that credit-blocked order won´t update credit values.        
    In this document has a complete explanation regarding this proceeding.
    I hope it can help you.
    regards
    Ruy Castro

  • Is it possible to disable the Scheduler

    Hi All,
    In the Hyperion Performance Suite, is it possible to disable the scheduler? The jobs are scheduled with the events and non-events also.
    Any insight is of great help.
    Thanks,
    Sree

    What exactly are you trying to do?
    depending on the version you are on you can prevent people from using the scheduler by not provisioning them that role.
    Hope this is helpful
    Wayne Van Sluys
    TopDown Consulting

  • Schedule lines not updating while using the BAPI_SCHEDULE_MAINTAIN

    Hi all,
    I am using BAPI_SCHEDULE_MAINTAIN to change the schedule line delivery date and schedule line quantity
    while i was changing using t-code ME38 it is changing but while using the above mentioned BAPI i am getting the below errors
    1)Instance PurchSchedagreement of object type <schedule agreement no> could not be changed
    2)Delivery date outside period covered by factory calendar H2.
    Any idea??
    Regards,
    Satishreddy.

    Issue Resolved

  • The difference between how PV is calculated if lag or delay is used in scheduling

    When scheduling tasks, it is possible to add lag from the predecessor (which is useful for an amount of time which must pass before the next task (paint drying, for example), or to add delay (task form\schedule\delay).  Delay seems to be useful for
    adding slack into your project in planning, as it is time that could pass before the next task, but doesn't necessarily have to.
    First - do I have this assessment correct?
    Second - does MSP calculate PV based upon when tasks appear in the schedule regardless of whether they are there due to lag or delay, or do tasks presented with delay assume that they will start straight away, without the delay?
    An aside - the reason that I've been playing with this is because of a bug in the previous version of MSP where an EV graph could not be generated if EV was calculated using physical % complete.  Has this been fixed in MSP 2013?
    Thanks for your help!

    First, the lag (and not delay) in the task form is to be entered in the Predecessors/successors form and not the schedule form. The delay in the schedule form is the delay on an assignment, meaning the delay a resource has on a assignment. And indeed it
    is not required but just an option given to the scheduler.
    The PV (or
    BCWS) is calculated based on this formula:
    timephased baseline costs of the task up to the status date. The lag just implies that the task will occur later in the project, thus the PV will take into account the lag.
    AS per the bug, I couldn't experience it, thus I'll let you or others folks give a feedback on it.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to schedule job to execute after 5 seconds gap using the program

    Hi ALL,
    How to schedule the program to run after 5 seconds to execute using JOB_OPEN,JOB_CLOSE,SUB_SUBMIT function modules in which parameter I should give this 5 secnods?
    Regards
    mahesh

    Hi,
    You can use the import parameters of function module JOB_CLOSE
    SDLSTRTDT & SDLSTRTTM
    to pass the required start date and time (respectively) of your background job. That is, if you want the job to be scheduled and start at a fixed time (as in your case 5 seconds in the future), you can determine the start date and time as 5 seconds ahead of sy-uzeit and pass the resultant values to the mentioned importing parameters.
    Cheers,
    Aditya

Maybe you are looking for