SAP R/3 ( SM 37 ) Schedule Program :: 2 calls in 1Sec.

Hi
We are running one schedule program ( 1 min. interval ) which is calling the RFC to pass the message to Web Service Business System using SAP XI as middleware. This is a Synchronous scenario in which WebService is providing the response back to SAP R/3.
As per the schedule logs in SAP R/3 the program is running in 1min. interval ( TCode : SM37 ) but as per SAP XI logs sometime we can see the RFC is getting called 2 times through schedule program in 1sec. & sometime within 1sec. 2 calls are happening  & same is in WebService logs. But this is intermittent, means this is happening at any time, we tried to investigate on the basis of payload ( RFC Data ) coming from RFC like based on size or some specific data and on the basis of some specific time but nothing is similar.
Can you pls. tell me what can be the reasons that program is initiated by itself or any other with which can identify what is the cause of this.
Regards
- Lalit -

Hi Agasthuri
Now that is also the mystery because that is the scheduled job & not dependant on any other job which can actually invoke it.
I mean for the whole process this program is the Prime Initiator. And then also somehow it is getting called by itself 2 times in 1sec.
Only similarity we found between all such calls is the time difference between 2 calls it is either 1sec or within a second.
I mean once the first process completes, second process starts.
In SXMB_MONI, <i>EndTime</i> of first process & <i>StartTime</i> of second process is always same.
- Lalit -

Similar Messages

  • SAP R/3 Schedule Program :: 2 calls in 1Sec.

    Hi
    We are running one schedule program ( 1 min. interval ) which is calling the RFC to pass the message to Web Service Business System using SAP XI as middleware. This is a Synchronous scenario in which WebService is providing the response back to SAP R/3.
    As per the schedule logs in SAP R/3 the program is running in 1min. interval ( TCode : SM37 ) but as per SAP XI logs sometime we can see the RFC is getting called 2 times through schedule program in 1sec. & sometime within 1sec. 2 calls are happening  & same is in WebService logs. But this is intermittent, means this is happening at any time, we tried to investigate on the basis of payload ( RFC Data ) coming from RFC like based on size or some specific data and on the basis of some specific time but nothing is similar.
    Can you pls. tell me what can be the reasons that program is initiated by itself or any other with which can identify what is the cause of this.
    Regards
    - Lalit -

    Hi Agasthuri
    Now that is also the mystery because that is the scheduled job & not dependant on any other job which can actually invoke it.
    I mean for the whole process this program is the Prime Initiator. And then also somehow it is getting called by itself 2 times in 1sec.
    Only similarity we found between all such calls is the time difference between 2 calls it is either 1sec or within a second.
    I mean once the first process completes, second process starts.
    In SXMB_MONI, <i>EndTime</i> of first process & <i>StartTime</i> of second process is always same.
    - Lalit -

  • Schedule Programming (Jobs)

    Hi
    What is Schedule Programming (Jobs?)
    How to set the Schedule Programming (Jobs) please give me the detailed program
    Thanks
    Mahesh

    Hi Kumar,
    Do you mean the Scheduling of the Batch Jobs in SAP System? If so, then you can have a look at the following link:
    http://help.sap.com/saphelp_45b/helpdata/en/c4/3a7ef8505211d189550000e829fbbd/content.htm
       1. Job scheduling: Before the background processing system can do anything, background jobs have to be scheduled. This can occur in transaction SM36 (job scheduling), in the ABAP editor (transactions SA38 and SE38, the "start program in the background" execution option), or through the programming interface or external interface of the background processing system. Many R/3 applications use the internal programming interface to schedule long-running reports for background processing.
       2. Job storage management: Jobs are stored in the R/3 database. Principal tables in the background processing system include the following:
              o TBTCO: The job header table (job management data)
              o TBTCP: The job step table (individual processing steps in jobs)
              o TBTCS: The control table for the time-driven job scheduler
              o BTCEVTJOB: Jobs scheduled to wait for an event
    Job logs are held in the R/3 "TemSe" (Temporary-Sequential Objects) database. The TemSe is set always to hold job logs as files in your host systems.
    Accessing job logs for display and managing job log storage is transparent for you. You can display or delete job logs by way of the job overview (transaction SM37) or the graphical background monitor. Old job logs are removed automatically together with the jobs to which they belong by the ABAP program RSBTCDEL, which should always be scheduled to run periodically (see Required Basis Background Jobs).
    Let me know if you need something else.
    Hope this will help.
    Thanks,
    Samantak.

  • Scheduling program in background

    Hi All
       I have scheduled a program with selection screen in background.
       I have scheduled it to run every minute . when I go to sm37 and check it shows the job my job name and against it it say 'Released' .
      Why doesn't my program start in background.
    Kindly help me resolve this issue.

    Hi
    This is how to do it through code
    data: lv_job_name like tbtco-jobname,
    lv_job_nr like tbtco-jobcount,
    lv_job_released type c,
    lv_job_start_sofort type c,
    lv_print_parameters type pri_params.
    lv_job_name = 'Z_test'. " your background program name
    call function 'JOB_OPEN'
    exporting
    jobname = lv_job_name
    importing
    jobcount = lv_job_nr
    exceptions
    cant_create_job = 1
    invalid_job_data = 2
    jobname_missing = 3
    others = 4.
    if syst-subrc = 0.
    *submit job with all the selection screen params...
    submit (lv_job_name)
    with applfile = applfile
    with p_lines = p_lines
    with rfc_dest = rfcdest
    with p_selmtd = lv_selmtd
    with px_shsim = px_shsim
    with px_sherr = px_sherr
    user syst-uname
    via job lv_job_name number lv_job_nr and return.
    if sy-subrc = 0.
    call function 'JOB_CLOSE'
    exporting
    jobcount = lv_job_nr
    jobname = lv_job_name
    strtimmed = 'X'
    importing
    job_was_released = lv_job_released
    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 syst-subrc <> 0.
    message i162(00) with
    'An error occured while closing the background job.'.
    stop.
    endif.
    endif.
    endif.
    skip 1.
    write: / 'Background process', lv_job_name ,
    'called successfully' no-gap.
    write: / 'You can check the job in transaction SM37'.
    Use Sm36 and SM37 Transaction
    http://help.sap.com/saphelp_nw04s/helpdata/en/73/69ef5755bb11d189680000e829fbbd/frameset.htm
    <b>Reward if usefull</b>

  • SAP Business One 8.8 Preview Program

    Hi All,
    Anybody has Idea about the latest status for starting of SAP Business One 8.8 Preview Program ?
    Today I see on the SAP BUSINESS ONE 8.8
    CENTRAL INFORMATION page on SAP SMP site, there it is mentioned that SAP Business One 8.8 Preview Program will start beginning of May 2009.
    BR
    Samir Gandhi

    For anyone interested in an additional source of info on SAP Business One 8.8, we have a section of our website dedicated to it.  You can find information about it below.
    [The Orchestra Team|http://www.orchestrateam.com] has a centralized place for previews and reviews of SAP Business One 8.8
    If your customers or prospects are interested in getting an honest "first impression", this is a great start.  If there is anything specific you want us to review, we're happy to take requests and will get it into our weekly updates on the new version.  Check back periodically or subscribe to the [rss feed|http://www.orchestrateam.com/rss.xml] to keep up to date also.
    [Your Resource for Information About SAP Business One 8.8|http://www.orchestrateam.com/content/sap-business-one-88]
    Welcome to Orchestra's SAP Business One 8.8 preview! The following pages are going to be a review of features for the new SAP Business One 8.8 release going into ramp-up this fall. Also, we'll be sharing with you our opinions of the new feature set and sharing some videos with you on the new product.
    We'll be starting with a few video links and posts about our impressions of the 8.8 preview version and moving on to a more in-depth look at all of the new bells and whistles. Updates are available via our rss feed.
    Check out the bottom navigation links to navigate to more information.
    [SAP Business One 8.8 - New Features and First Impressions|http://www.orchestrateam.com/sap-kb/sap-business-one-88-new-features-and-first-impressions]
    [SAP Business One 8.8 - New Skin and UI Design|http://www.orchestrateam.com/sap-kb/sap-business-one-88-new-skin-and-ui-design]

  • How can i add email notifications to a scheduler program

    Hi,
    We have a scheduler chain that calls 2 scheduler programs.
    The chains are controlled by a scheduler job that has job_type as CHAIN.
    My challenge is how to add email notfications on the failure or success of the programs.
    I know about this procedure DBMS_SCHEDULER.ADD_JOB_EMAIL_NOTIFICATION, but this is only applicable to jobs and not programs(i believe).
    Is there an alternative way to trigger off emails for scheduler programs please?
    Thank you

    Hi gloria79,
    Mail uses Contacts to store email addresses and group addresses.  You would need to create the desired group on your MacBook.
    This article discussed how it works.
    Mail (Mavericks): Address messages
    http://support.apple.com/kb/PH14922
    Thank you for using Apple Support Communities.
    Nubz

  • ABAP program to call bapi of catsdb in sap

    ABAP program to call bapi of catsdb in sap
    coding please,
    Thank you,
    points will be rewarded,
    Regards,
    Jagrut BharatKumar Shukla

    if the transactions are custom one, then you can do some work around.
    But i dont know how you will do it for standard ones.
    Aa far as i know this requiorement has a least possibility.

  • Handling exception logging in a Java task scheduler program?

    I need to design a Task Scheduler Where
    1) User should be able to schedule multiple task at the same time.
    2) There should be proper error handling on failure of any task and should not affect the other running tasks.
    I found the related programme at http://www.roseindia.net/java/example/java/util/CertainAndRepeatTime.shtml
    My concern is about handling of point 2 in program provided at above link. Say I schedule a recurring mail send process in above program which will be run first time on 12 september 2011 at 2 am, and will be repeated after every 2 hours Say a one process fais at 8 am. I want to log it in log file with task name and time details. Now if I look at above programme i.e CertainAndRepeatTime.java. This program will exit once it schedules all the tasks. Where and how should handle the logging?
    Posted at http://stackoverflow.com/questions/7377204/handling-exception-logging-in-a-java-task-scheduler-program but folks suggesting Quartz scheduler . My Limitation is that i can't for quartz because my project allows me to use only standard java library. Is there any way we can handle logging in the same programme in case of exception.

    Well, first of all I wouldn't trust any code from roseindia. So you might want to look for more reliable advice.
    As for your logging, you can add it for example to the TimerTask itself. I don't recommend adding logging to that roseindia cr*p though.

  • How to create a  schedule program in java

    Hello Friends ,
    Can any one provide me with an example how to create a schedule program using java.util.timer etc . I am in need of a program which should run as a schedule job that searches for a file in a directory and read the latest files from that directory in every minute of time as a schedule job .
    Thanks
    mahesh

    I don't feel like writing my own example, but google will be happy to provide you with an example.

  • Is there a SAP training course for HR ABAP programming?

    Hi Friends!
    I am new to HR ABAP programming. I heard that HR ABAP programming is different from other ABAP related areas. Is there a training program or course offered by SAP decicated only for HR ABAP Programming? If yes, please kindly post the links in your replies and I would be glad to award points.
    Note: Please post only relevant links.

    Welcome to SDN.
    Check follwoing links -
    <a href="https://websmp209.sap-ag.de/sapidp/011000358700003520202006">https://websmp209.sap-ag.de/sapidp/011000358700003520202006</a>
    <a href="https://websmp204.sap-ag.de/sapidp/011000358700003520202006">https://websmp204.sap-ag.de/sapidp/011000358700003520202006</a>
    It is the list of all the course in HR -
    <a href="http://www50.sap.com/useducation/find/results.asp">http://www50.sap.com/useducation/find/results.asp</a>
    Regards,
    Amit
    Reward all helpful replies.
    got it this one is for you -
    <a href="http://www50.sap.com/useducation/curriculum/course.asp?cid=60176624">http://www50.sap.com/useducation/curriculum/course.asp?cid=60176624</a>
    <a href="http://www50.sap.com/useducation/curriculum/course.asp?cid=60197174">http://www50.sap.com/useducation/curriculum/course.asp?cid=60197174</a>
    Message was edited by:
            Amit Khare

  • Scheduled Programs in Oracle Applications Env

    Hello,
    I wonder to retrieve the scheduled programs in an Oracle Applications Environnement.
    Could any one help.
    Thank you,
    Best Regards.

    Please find the script from following MOS note.
    How To Find All Scheduled Requests Or List Of Requests in a Particular Status? (Doc ID 554380.1)

  • Scheduled Program Does NOT Change Times with Guide Changes

    When a program is scheduled from the Guide and then the Guide changes the start and end times, the scheduled program times do NOT shift AUTOMATICALLY with the Guide changes. Frequently the Guide program start and end times for a show move a minute, two, or three, sometimes more. The DVR scheduled program times do NOT keep up with these shifted Guide times but stick to the start and end times when scheduled. The DVR will often throw a yellow triangle up on the program indicating a conflict but the only conflict is with the Guide times. The DVR should AUTOMATICALLY shift the start and end times the few minutes and ONLY flag a conflict when the new times for the scheduled program conflict with another scheduled program, NOT with the Guide. This occurs most often on USA, FX, FXX, TBS programs which are frequently 61 or 62 minutes long. It is very frustrating to miss pieces of a recorded program, usually the end, because of these few minute time shifts.

    Hello Venkata,
    The components item category is TAE, that means the item category for the header item will be TAQ. Also the pricing will be carried out at the header item level only.
    Now for your query:
    The standard item category controls of TAQ will not have any connection between the header & the item level quantities in the delivery. If you change the quantity of the header item in the sales order, the quantity of the compnenets will be automatically adjusted. But this will not happen in the delivery with the normal settings of TAQ.
    Solution:
    Go to transaction code VOV7 - select TAQ - double click - In the Bill of Material/Configuration section , there is a field "Create Delivery Group" - select "X - Form delivery group with one delivery date".
    Save the settings. Now create a new sales order & then create the delivery & try to change the quantity of the header item, the system will automatically change the quantity of the components. (the system may not change the quantity of the components in the delivery of the old sales order - change it manually)
    With best regards,
    Allabaqsh Patil.
    Idhasoft Ltd.

  • My Java Scheduler Program - A question

    Hi all, I have just started experimenting with java after programming a lot in ANSI c++. I am writing a GUI scheduler program (cuz i sure need it! and... to get me familiar with aspects of Java such as Swing, multi-threading,etc. My program is going fine and i am almost done. I just had one question about the scheduler program:
    1. My scheduler uses a Jlist to display all events that the user. Now if the user closes the scheduler completely, and then restarts the program, i want the events to be displayed again and all my internal data structures to be filled in again as they were when the user closed the program. As of now, the only way i know how to do this would be to keep a separate text file, which would store all the scheduled events in it when the user closed the program, and every time the program was started, it would read in from the text file and replinish the data structures and my visual Jlist.
    This method, though possible, seems a bit cumbersome and not so elegant. Can anybody give me another way for me to do this?...I would much appreciate any comments/ideas.

    Sounds like you want to serialize some of your classes. See this link to a Sun tutorial:
    http://java.sun.com/docs/books/tutorial/essential/io/providing.html

  • I want degugg that background Scheduled program.

    HI all,
    I have Scheduled a job in background(SM36) and runned sucessfully..(Sm37)
    Now i want degugg that background Scheduled program.
    can any body plz tell me....

    Hello Sultanbi,
    I have deleted many of your posts - you will have noticed this...
    Please read "the rules" at the top of the forum page before you post any further - particularly before searching...!
    Search term "debug job Sm37" will help you further for example... you will find "JDBG".
    Please confirm that you have read "the rules"?
    Cheers,
    JUlius

  • Scheduler program:

    Is there any other solution or procedure is the best one
    I want to execute this one for every one day in unix environment how can i do with the scheduler program
    Update test set name=replace(name,’,’,’  ‘);

    Anill wrote:
    Hi Nikolay,
    Is there any table available in database having details of scheduled jobs to find the status?
    Regards,
    AnillFrom Documentation :
    [url http://docs.oracle.com/cd/E14072_01/server.112/e10595/scheduse008.htm]Monitoring Jobs
    You can view information about job runs, job state changes, and job failures in the job log. The job log shows results for both local and remote jobs. The job log is implemented as the following two data dictionary views:
    •*SCHEDULERJOB_LOG
    •*SCHEDULERJOB_RUN_DETAILS

Maybe you are looking for

  • How to Transfer Photo's from Macbook to iMac

    I have a new 27" iMac. How do I transfer all my photo's (events) from my Macbook Pro to my new iMac?

  • Macintosh HD disappears from Bootcamp after OS X reinstallation

    Recently, my Macbook Pro mid-2011 began to feel sluggish. I decided to do a fresh install of Mountain Lion by creating a Restore HD with a USB stick. I formatted my Macintosh HD drive while I was in Recovery using disk utility, in order to make room

  • Replying to community posts/questions...

    When ever I try to reply via email it rejects saying file to big or can't find recipent. It did the same thing on the HTC community when I had that phone and this is from my PC not the phone. So can somebody tell me how to reply without having to log

  • Problems regarding to performance analyzer

    I'm trying to ultilize sun performance analyzer to analyze c codes implementing OpenMP API. I have used a virtual machine which is classified as Linux-32-bit, 2 CPUs, Debian_4.0 system. And I have met two problems: 1. For a large simulator code sets,

  • Burning an mp3 cd for my car...and having the info read?

    Hi there, i know how to burn an mp3 cd, but i've never made one for the car, which as the mp3 readable player. is there anything special i need to do to the id3 tags to ensure that the artist and/or song comes across the display on the deck? I have a