Batch program run

Hi Gurus,
Can anybody please provide details on batch program run? How do we set these program? Is there any dcoumentation which I can use?
thnaks,
Khan

Hi
You can execute any program through background.
Initially you need to create a variant using SE38
In se38, give the program name and execute,
In the screen, enter your required parameters and save them as variant
with a name and description.
Some parameters, you may require as dynamic, eg. range of dates,
for which, select the "Selection variable - check box" against the parameter.
and press Selection variable button on left hand top.
here select the date form, it will chagne to green.
Then, you may give the date range from the pull down menu. and Save the variant.
Then enter SM36,
Give the batch job name.
Press on steps button,
Give Program and select variant.
Give user , Spool recepient and print specifications etc., to your requirement.
and for second program, pick the earlier program line item and again pick STEPs icon.You may proceed with the same step and save.
The batch job will be scheduled now.
Then enter SM37 - here you can monitor the batch jobs.
Here, you may give program name and execute,
In next screen, select the batch job and press"start conditions"
Give, batch job run date, and time and its frequency.
In case of repeat batch job, please select periodic values and save.
and save the batch job.
Now, batch job is released and will run in the time and date specified.
Hope this helps you
Regards
Sasi

Similar Messages

  • Attaching a document from program running in batch

    Hi experts,
    i need to find a way, to attach a document (e. G. a CV) to an applicant via object services. Problem is, the document will be provided by a program, running in batch-mode without front-end access. I tried to debug the manual action, but unsuccessful.
    My initial idea was, to find out what happens directly after uploading and then using the same function modules in my prog.
    Shed your light on me please.
    regards
    Jörg

    Hi Jorg,
    In a way when the batch job runs it polls that document and you need to attach that doc to an applicant. Firstly , I don't know whether debugging can help. But normally I had almost the same situation wherein I needed to change something to the file that was being used by the batch job and I didn't know where the file was.
    There's a T-Code 'FILE' that I had used which gives you the location of all the files from where the batch job or the program picks them whenever they get executed.
    But in my case even this didn't help. Then I had to ask the respective guys as to where it was stored. Maybe you could try the above t-code or if you do have time, again check using de-bugging for any logical path mentioned in the code.
    Please let me know if this could help.

  • How to run batch programs using SUBMIT command without any interaction need

    Hello ABAP gurus,
    I have created a batch program in SE38 which calls many other SE38 Programs (Reports).
    I have used the command SUBMIT to call the sub programs. There are about 15 sub programs that this main batch program is calling.
    It works fine, but after calling each subprogram it stops and I have to manually click on 'Back Button' in green on the sap screen to run the next program in the list. Like this I have to do 15 times to run all the programs in the batch.
    Is there a way to avoid this manual intervention and make the program run all the sub programs on its own.
    Your feedback will be highly appreciated.
    Thanks
    Ram

    Thanks Sampath for the response.
    Yes I am using the option "AND RETURN". So it is coming out of each sub program, and it is at this stage it waits for me to click on 'backward green arrow' to continue to the next.
    Here is the code I have used
      SUBMIT Z_AS_BI_F0005_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_DIVISION_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_COMPANY_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_CUSTOMER_EXTRACT WITH  S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_BRANCH_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_BUS_UNIT_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_ADDRESS_EXTRACT WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_CUSTOMER_GROUP_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_GROUP_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_PMT_TERMS_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_REGION_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
      SUBMIT Z_AS_BI_TERRITORY_EXTRACT  WITH S_DATE IN S_DATE WITH P_TEST = 'N' AND RETURN.
    Any other suggestions or feedback will be appreciated.
    Tks
    Ram

  • Running a batch program

    Hi,
    I would like to run a batch program from a java class. plz advise me how to do it. Thanks in advance

    hi ,
    I tried this exact piece of code for running a bat file but it didn't work, only exes worked!!!
    I got:
    Exceptionjava.io.IOException: CreateProcess: c:\WINNT\system32\RemoteSend.bat error=2
    Any suggestions why this happens!!!!
    noha

  • Process name representation in a LINUX machine for a JAVA program running..

    Hi,
    We are using an Intel machine loaded with Red Hat Linux 7.2 OS to run JAVA programs. We have a requirement to calculate the CPU and MEMORY usage for each JAVA program running. Unfortunately when a java program is run say "java ESR" and we run a ps -ef | grep -i java, it is shown as hkumar 2847 2799 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2874 2847 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2875 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2876 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2877 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2878 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2879 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2880 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2881 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2882 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2883 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2884 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2885 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    instead of the actual name of the program ie. ESR.
    Does anybody know why this happens? Is there a way out to ensure that "ps -ef | grep java" gives the actual name of the java program being RUN?
    Thanks in advance,
    Harish

    You have less chance to identify which programm that VM instance is running right now.
    But you could (as we do) keep track of your programs if you save the process-id when you start the program.
    We need this to shut down running java batch programs but you could find out the used system resources with this way as well...

  • Why won't my program run when I schedule it.

    I am trying to schedule an executable and it says it is successful, but the program never runs.  I even tried setting up a simple batch file that will call the program and when I schedule it it says successful but never runs. When I run it on the desktop of the server it runs fine and the batch job runs fine.  I have tried configuring it several different ways and adding supporting files.  I have never scheduled a program in this application, so I'm sure I'm just missing something.  Can someone please tell me how to set this up or give me an example.  It is driving me crazy.

    1. Reset iPad
    2. Change the USB cable
    3. Try another charger

  • Batch program in PCUI Portal

    Hello All,
    We have a requirement to build up a batch program that will display the unapproved opportunities to the user in a list. Each line in this list shall be a URL, clicking on which will open up the opportunity details.
    The user will have an option to select opportunities and then mass approve them.
    Can anyone guide me as to how can this be achieved in SAP CRM PCUI portal.
    Thanks.
    Regards
    Priyanka

    Hi Priyanka,
    I'm not sure if  your requirement is to create a new PCUI application or to create a report which could be run when needed.
    If it's for a new PCUI application, the URL can't be displayed using standard feature of Object Link Navigation (OLN) which would redirect the user to the embedded object link. For mass approval also, there's a standard functionality available in 5.0 for Mass Changes. Kindly refer to PCUI Cookbook for more detail.
    I hope it helps.
    Cheers,
    Gyan.

  • Financial Reporting batch reports run slow at random

    FR reports version: 11.1.2.1
    This is a summary of our environment:
    -Linux server where Hyperion batch reports run
    -Linux (SLES-11) server where Essbase resides
    -Windows 2008 server where Hyperion Print Service and GhostScript reside
    This is what we observed this morning:
    Batch reports are executed serially by a master shell script.
    One of these reports takes 30+ minutes to complete. The exact same report usually completes in less than 3 minutes.
    This problem occurs 3 to 5 times each morning, and not necessarily on the same report.
    While the report shows ‘Running’ in the Hyperion Batch Scheduler, there is no process present on reports server. There is no active session on Essbase. There is no active print process on the print server.
    Eventually, the report completes successfully and the pdf file is present on reports server.
    We haven’t been able to determine where the process is during the period that it appears to be stuck. The best we can do is to look at the status on the Batch Scheduler. It is not a practical option for us to schedule everything using the Batch Scheduler on a daily basis.(this is what Oracle is suggesting, by the way).
    Has anybody experienced similar FR batch reports slowness?
    Thanks.

    IT parsed the HTML into csv so that another program could compare a Trial Balance from HFM with a Trial Balance from the source GL system to ensure all data got imported to HFM.

  • How to make a java program run as a background process.

    </pre>
    writing a client server application.
    a program is supposed to run on a the client right from the time the client turns on the computer till the computer is turned off.
    the catch is the client should all the time be unaware of the program running in his computer, no dos prompt window, no icon on the taskbar,etc. can i convert it the class file into an exe file through software and put the exe filename in autoexec.bat. But then i think that the dosprompt window will open up on starting, but the client should see nothing.
    please help
    </pre>

    </pre>
    Thanks Daniel and jesper,
    could not really fully understand what you mean.
    creating a batch file is okay, but do you configure it
    to run in a an hidden mode.
    Also I have no idea of how to make a window
    service.can you please elaborate a bit
    </pre>

  • Java batch program with wakeup

    I am interested in developing a batch java program which will hopefully perform the following I need to know how to get started with a timed-event.
    Application description:
    I would like the java batch program to wakeup at 7:00 am each morning and read a database and fire an email with the resultset of the database query. I can handle the database query portion. I am looking for a solution for the wakeup at 7:00 am and the email.
    Any direction would be helpfull.

    Look up java.util.Timer, and java.util.TimerTask. It does exactly what you need in terms of a batch event running at 7:00am every morning. Alternatively, you can do it up as a simple program, and create a cron job.
    As for e-mail, JavaMail isn't really that difficult. Look it up :)

  • Batch Programs

    Hi There,
    We're currently investigating compiling our Batch Runs for
    better performance. I'd be very interested to know how
    other people are handling their batch programs. Our
    server operating system is NT 4., and our forte version
    is v 2.0f.
    We decided on the following for non-compiled partitions,
    1. A seperate deployed application for each batch program.
    - batch sequencing can then be controlled by our
    scheduler
    - there isn't the hassle of having to redeploy
    a monolithic application each time a small change is
    required or a adhoc/once off batch program is
    written
    2. User visible service objects.
    - This is so that the server partitions don't remain
    active after the program has run, and hence using
    all that memory.
    3. Configured each batch application as a Client.
    - Hence making use of user visible service objects
    - everything is in one partition
    In order to test our batch programs compiled we are in a bit
    of a dilema.
    1. We can't configure our batch programs as clients any more
    because one can't compile a client partition.
    2. We'd then need to configure as a server. However one can't
    have a startmethod for a server partition, so how does one
    kick off the batch program.
    3. One could possible try and kick off the batch program in
    a service object init() method, but how can one guarentee
    that the other SO's are initialised.
    4. So one needs a client partition to kick off the method
    on the server partition, which will then run the contents
    of the batch program.
    5. However that means that the SO in the server partition
    would have to be environment visible in order for the client
    partition to be able to reference it, and in so doing we'd be
    in the position of still having the server partition online
    when the application finishes, and at 15 or so batch programs
    this adds up to a lot of memory.
    Anyone any thoughts on this ? How are other people configuring
    their batch programs ?
    - Carl

    Hi,
    Did you check this:
    http://help.sap.com/saphelp_bw30b/helpdata/en/69/c2501a4ba111d189750000e8322d00/frameset.htm
    Eddy

  • Restrict number of concurrent programs running by one user.

    Hello,
    How can I restrict whole number of concurrent programs running by one user?

    Hi
    I am not sure if I understand the question correctly, but if you are asking what I think you are asking, then you can restrict the number of simultaneous concurrent jobs that a user is allowed to run with this profile option;
    "Concurrent:Active Request Limit"
    I recommend that you set this at the User level and not the Site level since this parameter has caused problems for me in the past (certain types of transactions submit a batch of concurrent jobs, and if all the jobs are not able to start at the same time then the concurrent jobs go into a pending state and never complete. I have not worked out why this happens, so I just stopped restricting the number of concurrent jobs that a user could run).
    Frank

  • Funds Commitment Batch-Input running in Job

    Hi Folks,
    I'm having some trouble with a batch-input running in job for transaction FMZ1.
    When I run the batch-input in a dialog process (no job) it works perfectly, however when I execute this same program in a Job the job doesn't finishes, and when I debug the job, it freezes when calling transaction FMZ1.
    Does anyone know if I'm missing something? Or is there any restriction for this transaction to be executed in a job?
    Thanks in advance.
    Regards,
    Gilberto Li

    Hi Vijay,
    Using the following function modules you can create a batch input session.
    BDC_OPEN_GROUP
    BDC_INSERT
    BDC_CLOSE_GROUP
    Example - http://www.sap-img.com/abap/auto-disallowed-back-posting-to-previous-period.htm
    You can use the program RSBDCSUB to schedule batch input sessions in background.
    http://www.sap-img.com/abap/learning-bdc-programming.htm - How to write BDC program
    Executing batch-input sessions in background jobs - Example for how to call the bdc session.
    Hope these are helpful.
    Thanks
    Vinod

  • Do you have any problem in KE21N batch programs

    Hi,
    Do you have any problem in KE21N batch programs?
    Thanks.
    deniz.

    No, but look at OSS [Note 897659 - Error KE 093 when running batch input sessions|https://service.sap.com/sap/support/notes/897659] or give more informations.
    Regards

  • Batch job run-

    Hi gurus,
    How to schedule and run a batch job run using SM36 and SM37?
    In MM area what are the transacions/programs are they used most?
    Regards,
    Deepak.

    hi,
    You can create any of the new program as per your requirement, but only you have to provide the technical ABAP name of the program while making the settings at SM36...
    Also please go through the SDN thread..Re: Scheduling Batch Job
    Regards
    Priyanka.P

Maybe you are looking for

  • Lion OS and Non-English langugae

    Hi There, I have some issues with Lion OS and non-english language like arabic. for instance when I want to go through some websitel like مهاجرت به کانادا and کانادا مهاجرت and مهاجرت کانادا and اقامت کانادا I run into some messy words and when I che

  • RMIConnectorServer Snafu - java.lang.NoClassDefFoundError:

    All, Your help debugging the following code snippet, which results in a "java.lang.NoClassDefFoundError: javax.security.auth.Subject" excpetion being thrown (argh!!!), would be greatly appreciated. Thanks in advance. Code snippet: ===================

  • Passing record properties to a sort script object

    Hello, I'm still at the beginning of the Applescript learning curve, and as a fairly seasoned programmer on mainframes and VB, I'm anxious to start off in the right direction. I have developed / purloined a fast sorting algorithm to sort records. It

  • Use scrollbars when panel too small for components in it

    Hi I've got a JPanel which just uses flow layout to contain some components. The panel resizes with the JFrame it is in, and wraps the components to new "rows" of components if the width of the JFrame gets too small. Fine. If the space available is n

  • G711 movie file work with QT6, but no audio with QT7

    G711 (PCM) QuickTime mov files played fine for us on QuickTime 6 and 6.5. But since we upgraded to QuickTime 7, the audio playback does not work anymore. You can download an example file from here: ftp://ftp.gatherworks.com/private/g711.mov (285K) Wh