Backgroung sceduling

I have one program in selection screen I am giving job name my requirement is if I press execute button I need to run the report in the back ground under the job name mentioned in the selection screen based on the input parameters maintained in the selection screen. Please help me to do this.

Hi.
You can also try the following technique:
When the program starts, get all the data you need, and pass them to an RFC-enabled function module and call it in background task.
You can also use standard log routines to send any log messages to SLG1 so that the users can check them later.
The log routins can be found in SE37 using BAL_LOG* FMs. There is plenty of documentation there on how to use them.
Reward if helpful please.
Regards,
George

Similar Messages

  • Crystal Report Error "The requtest could not be submitted for backgroung p"

    Our Web applciation is using ASP.Net Framework 2.0 and Crysal Report Assembly version is 10.2.3600.0
    After fetching one particular report we are getting below error
    "Error in file c:\windows\temp\FileName{1B044BEA-1C14-44DF-92DC-107455F949FD}.RPT
    The requtest could not be submitted for backgroung processing."
    There is no problem while fetching data from backend procedure. It runs without error.
    Is there any hot fix for the same?

    We too are facing same challange with CrystalReports Version=10.2.3600.0
    Can some body post resolution.
    Thanks in advance.
    -Murali

  • HT201263 Unable to update, restore or recover. Slider doesn't slide and number pad doesn't work for passcode. What next? Worked last night . Battery charged. When I push Home button I get my backgroung but can't slide slider. Device is recognized by iTune

    Unable to update, restore or recover. Slider doesn't slide and number pad doesn't work for passcode. What next? Worked last night . Battery charged. When I push Home button I get my backgroung but can't slide slider. Device is recognized by iTunes.Help! Thank you.

    Besweet, I'm having the very same problem with 60GB colour which was bought new and worked for 6 months before suddenly just not being recognised by PC. I hadn't changed anything at all.
    I've followed all troubleshooting advice and reinstalled and updated iTunes and iPod updater software but all troubleshooting routes seem to hit the dead end of either the need to access the iPod via the PC (which isn't possible as it's not showing up at all) or the iPod in disc mode stuck at "ok to disconnect".
    It's still under 1yr warranty so will have to take to a dealer.
    I'm sorry that's not much help for you but at least you know it's not a unique problem.
    PC   Windows XP  

  • Scedule for triggering XI(BPM)

    Hi,
    My Scenario Database(JDBC)-- XI3.0--
    SAP(RFC(synchronous))
    Everyday Night once XI Trigger and fetch the data from JDBC and sends via RFC call to SAP and take the response and put the the Database via XI .So Here  I planned to use the BPM
    I readed some below blogs and i found there is two ways to trigger the BPM in XI.,
    /people/community.user/blog/2006/11/16/step-by-step-realize-your-bpm-scheduling-capability                -BPM Sceduling
    /people/ganesh.karicharla2/blog/2008/02/08/periodic-scheduling-of-data-between-oracle-db-r3-system                -Periodic scheduled in JDBC
    One way is for JDBC Adapter is sceduling dialy and another way is for call the client proxy and pass the dummy data to trigger the BPM( this is a BPM sceduling).
    I am using XI 3.0 and Service Pack 20.Here my confusion is which way is going to do better way in the case of Future also.
    In the blogs writes , If i done JDBC adpter schedule,in the future any Patches are updated any problems comes under this Schedule process?
    Kindly suggest me your valuble updates it would be help me lot.
    Thank you very much.
    Sateesh

    In the blogs writes , If i done JDBC adpter schedule,in the future any Patches are updated any problems comes under this
    Schedule process?
    You have to re-schedule in such a case.......i think (not sure) there is even a SAP note mentioning the same..if i get hold of it will post the same.
    Is it possible to stop the during weekends and holidays via Adapter Sceduling?
    Holidays not possible....weekends can be done...can take reference from my replies here: Re: Communication Channel Scheduling only on certain days
    Regards,
    Abhishek.

  • Why my BPM related job goes to sceduled state in sxmb_moni?

    Hi Gurus,
            I am facing a unique problem in a sample BPM scenario. When I run this scenario my corresponding request in sxmb_moni goes to sceduled state. I have to go to QRFC monitor to unlock it. After this my BPM request runs to success. I am not able to understand why this is happening. Why it does not run in one go without getting locked in QRFC?
    My BPM scenario is like this: I am sending a customer number from a ABAP program from SAP R/3 system to XI system via outbound Async interface. This inturn sends customer number to BPM via abstract interface. The BPM then gets customer data from MSSQL server via JDBC adapter and inbound interface.
    This scenario is Async-Sync type.
    I don't see any problem with the mapping, interface etc.
    The scenario runs successfully once I unlock the request in QRFC monitor.
    Can somebody help me identify the reason why my BPM request goes to sceduled state in sxmb_moni?

    Can you try activating/registering your queues .
    sxmb_adm -> manage queues -> activate queues / SXMB_ADM -> Manage Queues -> Register Queues.
    Also in SMQ2 activate individual queues if any.
    ShabZ

  • Workbooks & Batch Sceduling

    I am looking into Discoverer for Ad-hoc reporting and have two questions.( I did not look at the tool yet, i just looked at the demo)
    1. I read in the white paper that the sceduling works with oracles scheduler.
    How will the scheduling work in Non-oracle databases?.
    2. Also how are workbooks handled using the database??
    null

    1. You will need to use a native scheduler in a non-oracle database.
    2.I presume you mean how are workbooks scheduled? The results are stored in a temporary table. When the user opens the scheduled workbook the summarised data is read from the temporary table and the formatting, sorting, etc is applied.
    Regards,
    Oracle DIscoverer Team http://technet.oracle.com
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ravi kumar ([email protected]):
    I am looking into Discoverer for Ad-hoc reporting and have two questions.( I did not look at the tool yet, i just looked at the demo)
    1. I read in the white paper that the sceduling works with oracles scheduler.
    How will the scheduling work in Non-oracle databases?.
    2. Also how are workbooks handled using the database??<HR></BLOCKQUOTE>
    null

  • No authorization for backgroung user for log deletion

    Hello,
    I have included program SBAL_DELETE in a process chain in order to delete expired application logs periodically. But it doesn't work because I get always this message from backgroung monitor: "You do not have authorization to delete all these logs".
    If I run program manually via SLG2 it works correctly.
    The background user has profile S_BI-WHM_RFC.
    Can anybody advice what am I missing?
    Thank you.
    Branislav

    Hi Branislav
    For the administration processes that are bundled in a process chain, you require authorization for authorization object S_RS_ADMWB.
    To work with process chains, you require authorization for authorization object S_RS_PC
    Check this link
    http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    Regards,
    Naveen

  • Web Service scedule report NUll pointer Error

    I've managed to use the web service to scedule my report.
    The web service completes and mails the output but the final status is failed due to this error:
    System Message java.lang.NullPointerException
         at oracle.apps.xdo.servlet.scheduler.Util.getLocale(Util.java:127)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:596)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Anyone any ideas why?

    This is the call to the web service, I've just changed the email accounts for this example.
    String username = "Administrator";
    String password = "Administrator";
    String reportAbsolutePath = "/Burst/BURST to EMAIL/BURST to EMAIL.xdo";
    ReportRequest repRequest = new ReportRequest();
    repRequest.setReportAbsolutePath(reportAbsolutePath);
    DeliveryRequest devRequest = new DeliveryRequest();
    ScheduleRequest schedRequest = new ScheduleRequest();
    schedRequest.deliveryRequest = devRequest;
    schedRequest.scheduleBurstringOption = true;
    schedRequest.notifyWhenFailed = true;
    schedRequest.notifyWhenSuccess = true;
    schedRequest.notifyWhenWarning = true;
    schedRequest.notificationTo = "###@***.org.uk";
    schedRequest.reportRequest = repRequest;
    schedRequest.saveDataOption = false;
    schedRequest.saveOutputOption= false;
    schedRequest.schedulePublicOption= false;
    schedRequest.useUTF8Option = false;
    schedRequest.userJobName ="BURST to EMAIL";
    schedRequest.repeatInterval =0;
    schedRequest.repeatCount =0;
    myPort.scheduleReport(schedRequest,username,password );

  • Messages with Status "Scheduled" or "Sceduled for Outbound Processing"

    Hi All,
    When i run my interface, sxmb_moni shows the status of messages as "Scheduled" or "Sceduled for Outbound Processing".
    I know the reason and the problem gets resolved when I unlock the queues.
    But, is there a solution that I can resolve this completely? Reason being, everytime the interface is triggered, I have to unlock the queues. And if it is ccBPM scenario, I have to unlock multiple times, to acheive the flow completion
    Thanks,
    Swapna

    Hi,
    Check if u have set the value for monitor parameter QRFC_RESTART_ALLOWED to 1. default is 0.Also if your queues are registered in SMQR.Also checvk these reports
    · RSARFCSE: Restart an LUW (background job)
    · RSARFCEX: Restart tRFC LUWs (background job)
    · RSQOWKEX: Restart QOUT qRFC LUWs
    · RSQIWKEX: Restart QIN qRFC LUWs
    Thanks!
    Edited by: sudhir tiwari on Oct 10, 2008 12:19 PM

  • Sceduling of report of previous monthe in background job

    Hello Techies,
    I have  2 issues.
    1. i want to scedule bacground job of some previous months dates . How to do that?Please tell me step by step. And also i want content of that report should be visible to me.
    2. I want to do some chanes in Single Role which has been assigned to various user. That role containes the profile which is copy of SAP_ALL profile. Now i want to remove some specific Transactions from itlike CJ20N,VA02,FB08 ETC.
    NOTE: Menu tab is unmainted int it. And I also gone with Tcode Ranges BUT ITS NOT WORKING.
    Expecting reply on early basis.
    Renu.

    Answer for the first point
    1.Make a transaction which fetches the required data from ECC(O any data source), i suppose you must be having some data source where the past records are stored.
    2.In this transaction you must be using some Action Block to fetch the data (Eg BAPI or FM), this BAPI or FM must have some input on which you want to fetch the data , and i guess there must be some start and end date i/p field on which you want the data.
    3. In this start and end date field map two transaction variable like Start_Date and End_Date.
    4. Now from the schedular you can pass the start and end date to this BLS and in the BLS before mapping these dates you can use date functions which converts the date passed by you to one month back or so according to your requirement.
    I guess this will resolve your first query.

  • Change of scedule finish date

    Hi Gurus,
    I have items of two operations on a routing with different work centers and control keys. Now, my production order is calculating the finish date as per the sceduling as of operation one.I need the production orders to work out the finish dates of an order by the operation two.
    Please help me how i can handle this...?
    Thanks for your understanding.
    Naveen.A

    Naveen,
    In Scheduling parameters(OPU3) for the Plant & Order type combination define 'Adjust Basic dates to Scheduled Dates". Once this setting is there after the order is scheduled you would get have a same date for Scheduled Order finish and Basic Finish dates and this would be again based on the last operation completion dates.
    Regards,
    Prasobh

  • How to make a program for backgroung processing used servlet

    how to make a program for backgroung processing used servlet

    well i need the coding part written in servlet ,in which servlet is always ready for accepting a client request.

  • NullPointerException on calling Sceduler.scheduleJob

    Hi,
    I am new to the Quartz API.
    On calling Sceduler.scheduleJob () method I am getting NullPointerException. I am not bale to figure out why this is happening.
    Please see my Context Listener class below.
    package com.ustri.batman.listener;
    import java.text.ParseException;
    import javax.servlet.ServletContextEvent;
    import javax.servlet.ServletContextListener;
    import org.quartz.CronTrigger;
    import org.quartz.JobDetail;
    import org.quartz.Scheduler;
    import org.quartz.SchedulerException;
    import org.quartz.impl.StdSchedulerFactory;
    import com.ustri.batman.reporter.ReportJob;
    import com.ustri.batman.reporter.WIPReportJob;
    public class ReportListener implements ServletContextListener {
         Scheduler sched;
         Scheduler wipSched;
         public void contextDestroyed(ServletContextEvent arg0) {
              // TODO Auto-generated method stub
              System.out
              .println("************inside context destroy********************");
              if (sched != null) {
                   try {
                        sched.shutdown();
                        wipSched.shutdown();
                   } catch (SchedulerException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
              System.out
              .println("************scheduler shut down********************");
         public void contextInitialized(ServletContextEvent arg0) {
              // TODO Auto-generated method stub
              System.out
                        .println("************inside context init********************");
              StdSchedulerFactory schedFact = new StdSchedulerFactory();
              try {
                   sched = schedFact.getScheduler();
                   JobDetail jobDetail = new JobDetail("Weekely Report",
                             "Report Generation", ReportJob.class);
                   CronTrigger trigger = new CronTrigger("Weekely Report",
                             "Report Generation");
                   trigger.setCronExpression("0 * * * * ?");
                   JobDetail wipJobDetail = new JobDetail("WIP Report",
                             "WIP Report Generation", WIPReportJob.class);
                   CronTrigger wipTrigger = new CronTrigger("WIP Report",
                   "WIP Report Generation");
                   wipTrigger.setCronExpression("0 * 15 ? * 7 *");
                   sched.scheduleJob(jobDetail, trigger);
                   wipSched.scheduleJob(wipJobDetail, wipTrigger);
                   sched.start();
                   wipSched.start();
                   System.out
                             .println("**********************************scheduler started*********************************");
              } catch(NullPointerException e) {
                        e.printStackTrace();
              catch (SchedulerException e) {
                   System.out.println("************* Caught SchedulerException ");
                   e.printStackTrace();
              } catch (ParseException e) {
                   System.out.println("************* ParseException ");
                   e.printStackTrace();
    Please help.
    Thanks,
    Neelambary

    All,
    I am currently reading 'commands' from a db and placing them into a job>scheduler + trigger.
    I can perform this, But I always get a NullPointerException. The code will run, but it will not do so without producing this error:
    Exception in thread "main" java.lang.NullPointerException
         at mybeans.SchedulerScheduler.runScheduler(SchedulerScheduler.java:61)
         at mybeans.SchedulerScheduler.main(SchedulerScheduler.java:31)
    line 61 is :job.getJobDataMap().put("command", hash.get("command" + i).toString());
    line 31 is:           scheduler.runScheduler();
    My code is 2 classes.
    1. is Command, which implements Job
    public class Command implements Job {
         static Log log = LogFactory.getLog(EmailScheduler.class);
         public void execute(JobExecutionContext context){
              //every job has its own job detail.
              JobDataMap jobDataMap = context.getJobDetail().getJobDataMap();
              //System.out.println(jobDataMap.size());
              //String userid = jobDataMap.get("userid").toString();
              //String command = jobDataMap.get("command").toString();
              //iterate over key/value pairs.
              Iterator iter = jobDataMap.keySet().iterator();
              while(iter.hasNext()){
                   Object key = iter.next();
                   Object value = jobDataMap.get(key);
                   System.out.println(key + " " + value);
                   log.info("Key " + key + " - Value " + value);
              System.out.println("User id is: " + jobDataMap.get("userid") + "command is :" + jobDataMap.get("command") );
    }//class end.
    2. SchedulerScheduler which reads the db and schedules the jobs.
    public class SchedulerScheduler {
         private JobPoll jobPoll;
         static Log log = LogFactory.getLog(EmailScheduler.class);
         public static void main(String[] args)throws SchedulerException {
              SchedulerScheduler scheduler = new SchedulerScheduler();
              scheduler.runScheduler();
         public void runScheduler(){
              Scheduler scheduler = null;
              try{
              //lets get our jobs from jobs db
                   jobPoll = new JobPoll();
                   Hashtable hash = jobPoll.pollJobs();
                   int hashSize = hash.size();
              scheduler = StdSchedulerFactory.getDefaultScheduler();
              scheduler.start();
    //System.out.println("Scheduling started at : " + new Date());
              //Now we have our jobs in a Hashtable, let's schedule them.
              //1st, add our hash to jobdetails and jobs.
                   for(int i =0; i<hashSize; i++){
                   JobDetail job = new JobDetail("eassistjob" + Integer.toString(i), "eassistgroup" + Integer.toString(i), Command.class);
                        job.getJobDataMap().put("command", hash.get("command" + i).toString());
                        job.getJobDataMap().put("userid", hash.get("userid" + i).toString());
              //create a trigger.=immediate start, runs twice, every 100,000 milliseconds(100seconds).
              Trigger trigger = TriggerUtils.makeImmediateTrigger(-1, 10000);
              trigger.setName("JobPollTrigger" + Integer.toString(i));
              //scheduler.addJob(job, false);
              scheduler.scheduleJob(job, trigger);
    }catch(SchedulerException se){
         log.error(se);
    M

  • Suitable documentation about the SMPP- Job sceduling, integration in SOLMAN

    Hi!
    I look for the documentation regarding the SMPP-Job sceduling and integration this scenario into SOLMAN.
    Other question:
    is there some blogs or docu pool on SDN forum with documentation for SOLMAN?
    What is the URL for this?
    Thank you very much!
    regards
    Thom

    Hi Thom,
    Please refer to this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0699ad90-0201-0010-c4aa-8b18b7f76ccd
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bc0cb290-0201-0010-3b90-8f3b6bb841ed
    Hope this helps.
    Cheers,
    Sandeep Tudumu

  • Invoice Verification of Sceduling Agreement

    Hi ,
    I am having a scenario where the vendor send me the invoice electronically for the scedulling agreement and so for the GR is not done for the same. In this case since we have GR based IV so at the time of IV it says no line item to process.
    But our requirement is that it should allow to process the GR but block it for the payment.I mean to say it should allow the LIV but some Invoice block should get activated.
    Thanks,
    Lekhrams

    Hi,
    You can select PO based IV at first place and later you can post GR against the same PO
    and block invoice manually by writting code in your IV posting program for R field updation
    You can block an invoice manually. You have two options for doing this when you enter the invoice:
    You can block an invoice by entering an R in the field Payment block in the document header data.
    You can block an item by selecting the Ma (manual blocking reason) field in the item list. When you post the invoice, the system automatically sets an R in the field Payment block in the vendor line of the accounting document. Manually blocked items are given the blocking reason Manual block (M).
    BR
    Diwakar
    reward if useful

Maybe you are looking for

  • How to sync two libraries in to a third library?

    I have a MacBook pro with two user-accounts, each with separate iTunes-libraries. I'm also building a Home Theater PC using Mac mini. Now, I would like to have the contents of the two iTunes-libraries on the MBP on the Mac mini. How do I do that? Ide

  • Local characters urgent

    Please help, using jdev10g ADF BC & JSF, I've switched to mac os x from windows, and developed a few apps only to discover that they don't support local characters (croatia), so I've looked on my windows machine and found out that in tools -> prefere

  • JDBC drivers for  postgres+classpath for windows

    I've written an application for university last year, that connects to a postgres database. It worked perfectly on the Debian, but I'm trying to run it on Windows 2000 now. I've downloaded the driver http://jdbc.postgresql.org/download/postgresql-8.0

  • Any way to use elements 7 with windows 8 ?

    don't need anthing fancy ,not prof. program loads but won't update?

  • Video Flickering

    I didn't notice the problem while filming, but after transferring the tape to my computer, I can see that there's flickering in the footage I shot. I think it may be caused by the lighting from the venue. Is there anyway to fix this, with Final Cut P