Problem in Scheduling a job with IF condition

Hi All,
We have list of jobs running everyday through shceduler. All jobs are running successfully.
But one job is behaving strange.
The Job has been running before the trigger file is received. This has caused a lot of pain since Everyday the users are pointing it and I’m loading it again.
When I add the condition for the job, the job does not run.
We need to be able to add the if condition exists to avoid this situation.
Please let me know if you have any idea on this issue.
I am using Arcana Scheduler, Windows 2003 server, Version of Hyperion 7.1.2.
Thanks,
Prathap

Hi Siva
  Just tested in my syste with <b>AFTER JOB</b>, and it works fine for me.
  Please check that naming conventions are same when you define the first job and use in second. Also please make sure that you have removed the values from other tabs.
  General mistake that we do is, when we define two jobs immediately i.e one after other we overlook values from the previous one. Please check the same as well.
Kind Regards
Eswar

Similar Messages

  • Batch job with 2 conditions

    Hi,
    We have a program that will create a batch job and then we need to go to SM35 to run that batch job manually. We want to avoid this manual step and what we want to do is to as soon as our program runs it will create a batch job and then batch job should kick off automatically.
    One of the solution that came to my mind is to schedule a batch job with two conditions:
    1. in first condition it will run our main program
    2. and in 2nd step it will look out for the batch job that created in SM35 and will kick off that, but I am not sure how can i do this using Sm36.
    I was also wondering if there is another way so that we can just avoid the batch run for the second step?
    So can you please help me with this.
    Thanks,
    Rajeev

    SM35 -> batch sessions, so I assume you are talking about these.
    You can start sessions under program control by submitting program RSBDCSUB after creation of the session.
    Thomas

  • Schedule a job with email destination in BOXI R2 with email format as html

    Hello Guys, would it to possible to schedule a job with email destination in BOXI R2 with email format as html? we are able to get it running with plain text email format. we use Java SDK to interface with BO Enterprise servers.
    thanks for your thoughts,
    Venkat

    Hi
    your job should SMOF_DOWNLOAD can bring new material master if you set up correctly.
    as a smart method smof_download is the best way.
    doble check your filter condition. it should work as you expected. because we dont involve in  manual pulling...
    check your variant once again. in vari table,
    can you check r3ac1 - filter settings- source seetingsa--> source site nmae --> backendlogical system and filter sync..
    br
    Muthu

  • Who scheduled a job with service user

    Hi,
    In my one of the system one job is running with service user. As service user cannot log into system. One of the dialog user logged in to system and scheduled one job with service user. this job is running more than 2 months. Now we want to know who is that dialog user scheduled this job with service user.  I have checked in job details it is not showing dialog user who has sheduelded first time.
    Pls someone help me in this case.
    Kind regards,
    Ram
    <subject_modified>
    Use a proper subject
    Read the "Rules of Engagement"
    Edited by: Juan Reyes on Jul 1, 2009 10:25 AM

    Just check the job owner.... If the Owner is the service user then most likely the user was changed to service user after the job creation. Also be aware that some jobs are generated by the system.
    Regards
    Juan

  • Schedule FTP Job with OEM 9i

    Hi All,
    Does anyone have experience of setting schedule ftp job with OEM and could give me some hints or an example, thank you very much. I am now using Oracle 9i.
    Rds,
    CH

    Lucas,
    Your first issue is regarding the control file not being passed. In order to fix that you have to specify the control file in the mapping configuration. Beware that this control file is being read through utl_file, i.e. you will have to set the utl_file_dir in the init parameters of your database to the correct directory in order for the database to be able to read it. Basically, the control file is being read in order to fill the audit tables with the correct data.
    Your second issue is regarding the type of job. As you may know OWB 'integrates' with Oracle Workflow (OWF) as well. The OWF solution also relies on the use of OEM for job execution. All of that is currently managed by Workflow Queue Listener. In order for Workflow Queue listener to be able to correctly handle the OEM jobs (defined as external functions in OWF) the job has to be defined as is. Besides, with the current way of registering the jobs all jobs (PL/SQL, ABAP or SQL Loader) are registered in the same way and directed by parameters.
    Hope this helps,
    Mark.

  • Problem while Scheduling Archive Jobs from SXMB_ADM

    Dear all,
    I am using this blog to delete and archive messages.
    /people/deepak.shah/blog/2010/04/22/archiving-deletion-of-messages-in-pi--part-2
    I have configured Retention periods from SXMB_ADM and there by scheduled Archive Jobs through SXMB_ADM itself.
    Now when i check in SM37, after Archive jobs scheduled , i am not able to see 2 jobs as described in this Blog.
    i am able to see only one Job with name "SAP_BC_XMB_ARCHIVE200"
    Please assist me what might be the problem
    Regards

    Hi Ganesh,
    Thank you for replying. Once this SAP_BC_XMB_ARCHIVE200 is finished, one more job has been generated
    ARV_BC_XMB_WRP20100602112115. But this is not for deletion . it is doing archiving
    When i check the log, SAP_BC_XMB_ARCHIVE200 contains the program as RSXMB_ARCHIVE_PLAN
    and ARV_BC_XMB_WRP20100602112115 job contains the program as RSXMB_ARCHIVE_MESSAGES
    There is no job generated for deletion of Archived ones.
    >>Deletion job starts automatically if in archiving setting u have selected START AUTOMATICALLY option for deletion .
    Could you please let me know where this should be done while doing Archiving jobs??
    Regards

  • Reports-Job-Scheduler: create job with startoption later: wrong date-format

    Hi,
    I test reports 11.1.1.2.0 (weblogic11 g) and try to start a report job with Reports-Job-Scheduler.
    Startoption: later and date = 09:48 Jan 12, 2010
    When I submit the job I get following Error:
    REP-50006: Das Argument SCHEDULE ist in der Befehlszeile ungültig: 09:48 Jän 12, 2010
    in english:
    Rep-50006: argument Schedule is wrong in command line: 09:48 Jän 12, 2010
    Why is Jän instead of Jan.
    When I start the report in February then it works.
    I defined also environment variables in basic configuration for the report server:
    NLS_DATE_FORMAT DD.MM.YYYY
    NLS_DATE_LANGUAGE GERMAN
    NLS_LANG GERMAN_GERMANY.WE8ISO8859P1
    I would be very pleased to get support.
    Many thanks
    Alois

    I created a SR and oracle support found a bug in EM.

  • Problem to run ABAP job with VARIANT in Redwood

    Hi,
    I am new to SAP, Redwood and this forum so if this topic has been covered earlier I apologize.
    My problem is that I have a SAP job with a VARIANT in SAP that I want to have working in Redwood.
    I import the job with RSI_IMPORT_ABAP_PROGRAMS and the variant with RSI_IMPORT_VARIANTS. At this
    stage I am relatively sure I was able to run the job once by submit RSI_ABAP_RUN with variant.
    I use the RSI_GENERATE_VARIANT to generate the VAREDIT script to be able to change the parameters
    for the ABAP job. Modify the parameters, run the VAREDIT script.
    When I now try to run the RSI_ABAP_RUN with the variant I enters values for instance, client, jobclass,
    ABAP program (from dropdown list), ABAP variant (from dropdown list), Job name (get filled automatically)
    then tries to goto "next" or "submit" I get a popup window.
    Error
    Enter a valid value for the ABAP_VARIANT_NAME.
    I am still able to run the job in SAP with VARIANT and in background.
    Does anyone have any ideas?

    Hi Henrik,
    One of the parameter checks apparently is failing, and in some special cases the issue may be with another (related) parameter.
    Can you tell me exactly which version you are using (6.0.2.x or maybe 7.0.x.y) ?
    You can find this in the view JCS_PRODUCT_COMPONENT_VERSION or by running the RW_SHOW_INSTALLED_COMPONENTS script. I would need to know the repository and the rsi version.
    Have you tried entering a (different) jobname manually ? And if the client number you use below 100, does it have leading zeros or not ?
    Anton.

  • Schedule a Job with multiple steps via ABAP Program

    Hi Friends,
    I want to create a report(Ex: ZREP) that will run another program(Ex: ZPGM) in background. What I need to do is, when I execute the report ZREP it should run the ZPGM automatically in background. This background execution should happen through JOB with multiple steps.
    Why i am mentioned steps is, i have 1000 records in ZTABLE and need to execute 100 records each in one step and need to proecess in ZPGM with selection parameters. So in my case my job should create with 10 steps and need to execute in sequential manner.
    FYI, In the ZREP selection screen i need to enter the records count/ interval to derive the job steps.
    Please guide how to go ahead? Thanks in advance for all the help.
    Regards,
    Raghu.

    Hi Raghu,
    You can try the following pieces of code:
    Loop at gt_table.   "This table contains 100 records previously appended
    w_jobname = c_job_emision   "Job Name.
        CALL FUNCTION 'JOB_OPEN'
          EXPORTING
            jobname          = w_jobname
          IMPORTING
            jobcount         = w_jobacount
          EXCEPTIONS
            cant_create_job  = 1
            invalid_job_data = 2
            jobname_missing  = 3
            OTHERS           = 4.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    * Perform or create T_SELTAB with parameters options
    PERFORM Create_seltab_table.
    *Call second program.
    SUBMIT ZREP WITH  SELECTION-TABLE t_seltab AND RETURN.
    *Close Job.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = w_jobacount
            jobname              = w_jobname
            strtimmed            = c_x  "Immediate Start
         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 ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    ENDLOOP.
    Hope this helps.
    Regards
    Ernesto
    PS: Raymond Giuseppi was faster.
    Edited by: Ernesto Caballero on Mar 10, 2010 1:57 PM

  • Scheduling a job with multiple output formats.

    Urgent!!
    Basically while scheduling a job in BI Publisher we specify an output format. It can be PDF, CSV, HTML or so… Is there a way to specify more than one output format while scheduling a job.
    Thanks in advance.
    Ashok

    you have to re-publish them.
    for a run, you can have only one output .

  • Problem in scheduling a Job after a Job is completed

    Hi All,
          My requirement is to run a job say <b>JOB1</b> on a per minute basis and after finishing it I need to start another job say <b>JOB2</b> automatically.
          I have configured JOB1 to start and run on every minute (i.e)in start condition <b>'periodic values'</b> is marked as one minute and configured JOB2 in such a way that it starts after JOB1 is successfully executed (i.e) in start condition of JOB2 <b>'After Job'</b> is marked as JOB1 and <b>'start status-dependant'</b> checkbox as 'X'.
          JOB1 is running successfully for every minute.
    The problem is JOB2 runs only for the first time when the JOB1 is successfully executed and doesn't start for the next minute after JOB1 is successfully executed.
    Ex :
    for Time 6:0:00 JOB1 Successful & JOB2 status Successful
    for Time 6:1:00 JOB2 successful & JOB2 doesn't start
    for Time 6:2:00 JOB2 successful & JOB2 doesn't start
              And goes on.
    Thanks in advance for your help.
    Thanks and Regards,
    Siva

    Hi Siva
      Just tested in my syste with <b>AFTER JOB</b>, and it works fine for me.
      Please check that naming conventions are same when you define the first job and use in second. Also please make sure that you have removed the values from other tabs.
      General mistake that we do is, when we define two jobs immediately i.e one after other we overlook values from the previous one. Please check the same as well.
    Kind Regards
    Eswar

  • Schedule background job with different user

    hi ,
    i want to schedule a background job under a different user
    i have used the parameter AUTHCKNAM of 'job_submit'
    it is giving sy-subrc = 0 .
    but it is not working
    i have also used the FM 'bp_job_create' in place of 'job_open'
    it is giving sy-subrc = 0 .
    but not working as needed
    kindly help
    regards...

    hi
    Try this
    We can do that via SUBMIT statement:
    Go through the documentation os SUBMIT statement with addition:
    ... USER user VIA JOB job NUMBER n
    Schedules the specified report in the job specified by the job name job and the job number n. The job runs under the user name user and you can omit the addition USER user. The assignment of the job number occurs via the function module JOB_OPEN (see also the documentation for the function modules JOB_CLOSE and JOB_SUBMIT). This addition can only be used with the addition ...AND RETURN.
    OR
    go through this link , i hope this ll help you to solve your problem
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5f/ff2138faeb3807e10000009b38f889/content.htm
    Hope this helps.
    Thanks
    Tushar

  • Starting a job with 2 conditions (User Event and end of job)

    Hello ,
    I'd like to make a process SAP which start a job depending
    on 2 conditions :
    Condition 1 : raise an event
    and
    Condition 2 : end of another job
    I know that it 's possible for each conditions but is it possible for both conditions ?
    Thank you

    hi again,
    Ok, i'm sorry, my english is not yet fluent.
    I'm searching a solution for an SAP administrator.
    Here is his problem :
    He must launch an Abap program with a job1.
    The abap programm  :
    1>generates a spool in which you can find status code like OK or NOK and
    2>raises an event (EVT_CONTINUE) only if the spool contains OK code.
    Afterwards, The administrator wants to launch job2 if
    2 conditions are OK :
    Condition 1 : EVT_CONTINUE is raised
    Condition 2 : job 1 is terminated
    My question is : is-it possible with a transaction like sm36 or another to do that. (my objective is to avoid
    writing an abap program)
    thanks

  • Problem in scheduling agreement  dates with 2LIS_12_VCSCL extractor

    I am using 2LIS_12_VCSCL extractor to get the order fulfilment report.
    I am using ODS as an infprovider and on BW 3.5.
    Scenario on Sale Order screen - VA33 [ Scheduling Agreemnent ]
    Sales doc   Item  Line-No     Qty      Del NO    Req-Date         Actual GI Date
        100          10      1            10          222        5/10/2008        5/10/2008   ( this is the only item that is delivered)
         ---            --       2            10                       6/10/2008
         ---            --       3            10                       7/10/2008
    This Scenario when we view the data in rsa3 by running 2LIS_12_VCSCL
    Sales doc   Item  Line-No     Qty      Del NO     Req-Date        Actual GI Date
         100       10      1            10           222         5/10/2008         5/10/2008 
            ---       2            10          222        6/10/2008          5/10/2008
            ---       3            10          222        7/10/2008           5/10/2008
    Note that the delivery no is assigned to the unschedules schedulines(ie; these are open schedulelines that have not been delivered, but the extractor is assigning the first delivery no to all these schedule lines)
    We are confused and do not understand if this is how this extractor works . what we actually expected to get is only one recored for which the delivery has been made.
    like :
    Sales doc   Item  Line-No     Qty      Del NO    Req-Date        Actual GI Date
           100       10      1            10          222        5/10/2008        5/10/2008 
    the other two lines should not get extracted. If this is a bug in the extractor program please point us to the OSS notes or the fix that can be applied.
    Else if this is how this extractor works please suggest the fix that can be applied on the BW side to extract only the first record (ie; the schedule line  record for which the delivery has been done)
    Greatly appreciate help on this issues.
    Thank You,
    Edited by: Swordfish on May 12, 2008 1:09 PM
    Edited by: Swordfish on May 12, 2008 1:21 PM

    Hello,
    I think we have the same problem.  Data pulled over to BW has alot more records for a single delivery.
    Anybody have any thoughts on this.

  • Problem in scheduling LCM job

    Hi All,
    I have BOE XI 3.1 SP2 on Windows 2008 64 bit server. Installed LCM, tried to create jobs but it throwed the below error.
    A general exception occured in LCM Application. Please refer to the stack trace for more information. ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error
    LCM install created the LCM Job server and folder in CMC. Logged into LCM as administrator.

    Hi,
    Was it working before?
    - Maheshwar

Maybe you are looking for

  • Creation of PO in SD Module for vendor

    Hi SD guru's I have a scenario in SD module wherein i have to issue a PO to the vendor to carry out a service for me. How do i go about this? Can this be automated based on few reports that i generate? Thanks & Regards Ravi

  • Automatic creation of Sales Order with reference to Purchase Order

    Hi I want to create the sales order automatically when we are creating the purchase order. kindly guide me how to do it, Pramod

  • Size of combobox in JTable with custom cell editor

    Hi All - I have a JTable that displays a combobox in certain cells. I have a custom table model, renderer, and editor. All of that works fine. I render the combobox with the renderer, and then return the combobox as an editor in the editor so that it

  • Hi ALL please suggest on this

    Hi ALL ,   Iam a business object XI Developer ,Now i have an option to go SAP BW or to continue working in Businessobjects and SAP acquired BO .Its confusion for me which one to select can anyone please suggest which way is best . Thanks & Regards Sa

  • Text with slide show

    I saw a slide show that I think was made with iDVD that had text identifying the photo. Was this something done with software like Photoshop? I can find nothing in iDVD that would allow me to insert text with a photo. Also during my first attempt of