Batch job on Report

Hi,
I have a report that shows a list of internal orders with date of last change and open po number. 
The user will run the batch on this report every night and do necessary updates according to the field values on the report.
Now the report is showing all the internal orders with open po, date, etc., now the question is how do I achieve the request of running the report on batch and do necessary updates?
Thanks
Lily

Hi ,
u can create a background job from SM36 with condition.
Regards
Prabhu

Similar Messages

  • Batch Jobs for Reports?

    Hi,
    Is there a way to schedule the reports to run through a batch job in Production ? Say the job will run the report in the night so that the users can come and see it in the morning.
    The report also prompts for selections / filters before it runs.
    I am using SAP BW / Bex for reporting.
    Any inputs on how to go about it would help.
    Rgds
    Shweta

    Hi Shweta,
    Throw the Reporting Agent  you can schedule the report and Web templates in the SAP BW 3.x format
    http://help.sap.com/saphelp_nw04/helpdata/en/28/734d3caa70ea6fe10000000a114084/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/2.0/2.0b%20reporting%20agent%20incl.%20precalculating%20web%20templates.pdf
    i hope above links would lead you to the solution of your problem, still u have any problem ..........
    you can start reading this two links...
    other wise can you follow these steps
    1.Just go to RSA1
    2.Go to reportin agent tab below modelling and monitoring tabs.
    3.go to print
    4.find and select your info provider
    5.slect your query
    6.right click and go for new setting
    7.name it and do all the setting as you need for printing, here you can specify printer name and page formats also.
    8.drag and drpot it in right pane where you have scheduling packages (if not present then create your own)
    9.schedule it as per your print schedules.
    Hope it helps.
    Regards,
    Krissh

  • Batch job in a report program

    Hi Abappers,
    I have a peculiar scenario.
    My report has 2 PERFORMS lets say
    PERFORM1:
    PERFORM2:
    I have a DATE criterion in PERFORM 1.
    Based on that date only I have to execute my PERFORM2.
    Ex:   The Date consideration is Suspension of a Contract Date: which is 01/12/2010.(dd/mm/yyyy)
    Now based on the this date I have to execute the 2nd PERFORM.
    I mean I have to create a Sales Order on this date only.
    To summarize,Execution of a program in a future date whose date is dynamic in nature
    Can i achieve this using a BATCH JOB.
    Please tell me how to schedule a BATCH JOB for a future date.
    Can i call a BATCH JOB froma  REPORT.
    Please your inputs shall be of great help to me in solving my problem.
    Thanks and Regards
    Srikanth.P

    Hi Sakshi,
    In that case of using the FM
    g_date is sy-datum.
    g_time is sy-uzeit.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
    *   DELANFREP              = ' '
    *   JOBGROUP               = ' '
        JOBNAME                = 'Z_BATCHJOB_TRGT'
        SDLSTRTDT              = g_date
       SDLSTRTTM               = g_time.
    *   JOBCLASS               =
    * IMPORTING
    *   JOBCOUNT               =
    * CHANGING
    *   RET                    =
    * 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.
    In the above case how would the Job name get mapped to the Report. / Or / How can we assign the Job Name to the Report.
    There is no scope of giving the Report name in the FM.
    Can you please elucidate.(EXP parameters)
    By the way Thanks for your quick response.
    Thanks and Regards
    Srikanth

  • How to do equivalent of Mainframe batch jobs in Oracle

    Hi Everybody ,
    We are considering to move our application from mainframe to Oracle , our present day application relies heavily on mainframe batch jobs for report generation and other purposes, I was wondering what are the similar batch options we have in Oracle .Any feedback is most welcome.
    Thanks in advance ,
    Sanjay

    (Your question was posted to the forum dealing with Oracle's Application software so it's somewhat off topic.)
    However, Oracle does include a Job schedule capability (DBMS_JOBS) as part of the database, as well as other neat capabilities including a full blown Workflow and Message Queue - all built into the database.
    In addition, you might want to consider looking at the Oracle9i Application Server as that includes comprehensive (paper and web based) reports and (web based) ad-hoc query.
    Strongly urge you to contact a sales rep and ask for technical discussion on these capabilities.

  • Email Address not visible for output device MAIL in created batch job

    Issue in ECC6.0: Email Address not visible to display/change for output device MAIL in print parameter of each step in the created batch job.
    User wants to periodically receive report file via send to his email, so I create the batch job running report and send the report in pdf file to his email.
    Detail in the batch job
    1) In print parameter screen of the step in the batch job
       -Using output device MAIL (output type ZPDF1)
       -inputting email address of receiver in the EMAIL ADDRESS field
    2) After the batch job was saved, I tried to display/change the field EMAIL ADDRESS via Tx. SM37, but this field is invisible. The field can not be displayed or changed anymore. I also tried in SM36, but it is for creating new batch job, not changing the existing batch job.
    4) User receives email with pdf file from the batch job.
    How to change/display the email address of the receiver in the created batch job?
    Note that we just changed to use SAP ECC6 from SAP 4.6c. In SAP 4.6c, we can change/display the
    Email Address Field via Tx. SM37.
    Pls kindly suggest, thank you very much in advance.

    Hi Srirompoti,
    After saving the job if the job has not started then you can follow the below steps to change the Email address.
    1. View the job from Txn SM37.
    2. check the check box for your job that you want to change and goto menu path "Job->change
    3. in the next screen goto "Edit->steps." or press "F6" key
    4. place the coursor on the job and goto menu path "Step->change->print specifications.
    5. here you can change the email address.
    If you are not able change the data then you might not have authorization.

  • Report to be sent to a list of recipients in an e:mail (part of batch job)

    Hi,
    I need to generate a report using ALV functionality.
    Currently my report requirement is to sent to a list of recipients in an e:mail (part of the batch job set-up) and the recipients just download the report in a spreadsheet format. 
    Could you please give me the suggestions the way which I need to follow and how I will be able to set this report as a part of batch job which will send the report details to the users in the form of Email.
    Points will be rewarded for the answers.
    Regards,
    Ravi Ganji

    Hi,
    IN SM36..You will see a button for "Spool list recipient" which is next to the target server button..
    press that button..
    Give the email address in the recipient field..
    GIve the steps and start condition and then release the job..
    THanks,
    Naren

  • I Need to Create a report for batch jobs Based on Subject Area.

    Hi SAP Guru's,
    I need to create a report , that it must show the status of batch jobs Completion Times based on Subject area(SD,MM,FI).
    Please help me in this issue ASAP.
    Thanks in Advance.
    Krishna.

    You may need to activate some additional business content if not already installed but there are a lot BI statistics you can report on. Have a look at this:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/f9bd5b0d40537de10000000a1553f6/frameset.htm

  • Run_report_object in forms10g: Reports Server only accept batch jobs

    Hi all,
    We've migrated an old forms application to forms 10g R1. To run report objects from the form applications, I use the following code to run reports with a report server (10g):
    SET_REPORT_OBJECT_PROPERTY(l_rep_id,REPORT_FILENAME,'c:\path\to\report.rep'');
    SET_REPORT_OBJECT_PROPERTY(l_rep_id,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(l_rep_id,REPORT_COMM_MODE,ASYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(l_rep_id,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(l_rep_id,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(l_rep_id,REPORT_SERVER,'repserver');
    l_rep_return := RUN_REPORT_OBJECT(l_rep_id, pl_id);
    The parameter pl_id is a pre-filled parameter list, and the parameter l_rep_id is the report_object, which was added to the reports-node in the fmb.
    By running this code, the reportserver successfully executes the report and via the report server queue I can open the created PDF file.
    But, as the report_comm_mode is set to ASYNCHRONOUS, the code doesn't wait until the reportserver has finished the execution of the report, so it's impossible to show the report by web.show_document. So I've set the report_comm_mode to SYNCHRONOUS:
    SET_REPORT_OBJECT_PROPERTY(l_rep_id,REPORT_FILENAME,'c:\path\to\report.rep'');
    SET_REPORT_OBJECT_PROPERTY(l_rep_id,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(l_rep_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(l_rep_id,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(l_rep_id,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(l_rep_id,REPORT_SERVER,'repserver');
    l_rep_return := RUN_REPORT_OBJECT(l_rep_id, pl_id);
    But when I executes this code, the execution of the report failes, and the following error code is shown in the report server queue:
    Terminated with error: REP-188: Reports Server only accept batch jobs
    But as you can see, the execution_mode is set to BATCH, so that is not the problem.
    Is there anyone who can help me to fix this problem?
    Regards,
    Jeroen

    I just sent you an e-mail, I hope it helps!

  • Is there a way to access ABAP OO instances from a batch job report

    Hello,
    I am looking for a way to access ABAP OO instances from a batch job report. My circumstances are the following:
    I have got some ABAP OO coding that identifies other objects (class instances) that have to be processed (they have a DoIt method that does some calculation). As this processing is time consuming and performace relevant I have to parallelize this in batch jobs. This batch jobs however can only be "simple" ABAP reports according to SM36. The problem is now that I dont really know how to tell the batch job report what objects to process. Somehow I have to access theses instances from  that batch job report.
    Does anybody have an idea?
    Greetings
    Matthias

    Hi David,
    thanks a lot for your help. After a lot of searching on the net this seems to be the only way to cope with it. However I am not sure about the locking mechanisms and if its suitable for mass data processing. In the help page you suggested the following is stated which I do not fully understand::
    "The current lock logic does not enable you to set specific locks for the following requirements:
    ·        Many parallel read and write accesses
    ·        Frequent write accesses
    ·        Division into changeable and non-changeable areas
    Although the lock logic makes the first two points technically possible, they are not practical because most accesses would be rejected."
    Does this mean
    a) if I dont want to set "specific locks" for frequent write accessess I am fine
    or
    b) I am discouraged from use shared memory technics for frequent write accessess?
    In the latter case I will have a problem...
    What do you think?
    Greets
    Matthias

  • Automatically output report to excel from a batch job

    We have business users who require that a standard report be run daily as a batch job and output to a printer, which is using a large pile of paper every day.  I have challenged the rationale for this without success, and am trying to find a way to continue to run the batch job but output the report to an excel file and e-mail it to a manager.  I know that this can be done by a good ABAP programmer, but I am trying to find a way to set up the batch job to do this without additional ABAP, as programming resources are very limited.  I would appreciate input from anybody who knows how to do this.

    Likely because your user is continuing to call the service in a Windows (classic) DOMAIN\username format, and not in the Claims identity it should be.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Batch Job to Create and Send Excel Reports Using!!!

    Hello at all,
    i have a Report which is created by an Query.
    My question is, how can i know if this report have a batch-job in background or not??
    I want to know if their is existing any job for this report???
    OTHER QUESTION, is:
    Is it possible to create a job for a Query-Report that is sending email in background??

    Hi ETN_58,
    in transaction SM37 you can look for jobs for a specific report using field "ABAP program name".
    when you create a job in transaction SM36 you have a button for "Spool list recipient". Fill it out to distribute the spool generated by the jog to a distribution list or an email.
    regards,
    Edgar

  • How to solve  problem :- rep-188-Report Server acccepts only Batch jobs

    How to solve problem :- rep-188-Report Server acccepts only Batch jobs
    Report server :- 10gR1

    Hello,
    Could you give us some details about the command line ?
    What is the value of DESTYPE ?
    Regards

  • Command line interface to Crystal?   Batch job to refresh report data?

    Hi All.
    I have some users who do certain work and then want to print an updated report.  However they only have the report viewer.  As they work at night, they can't ask me to refresh the report.
    Is there a facility to schedule jobs like this in Crystal?
    Is there a way to create a batch job that will automatically refresh the report?
    Is there a command line interface to Crystal?
    Has anyone got a suggestion for some other means of solving my problem?
    Thanks.

    are you using crystal enterprise as your portal? that has a scheduler.

  • DOS batch command to call Hyperion workspace reporting batch job

    Hello,
    Is there any method to call the batch job in hyperion workspace for exporting report ?
    i would like to call the job batch by DOS batch. Is it possible?
    thanks
    Gary

    An option is to look at the SDK and see if there is a way for you to make a Java call to do what you are trying to do.
    The SDK is part of the Services Install Package.
    I have used the SDK to make a call to the External Event Trigger.
    You may want to look at the Hyperion Workspace Developer’s Guide
    http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/hs_developer.pdf
    Wayne Van Sluys
    TopDown Consulting

  • How to create F.29 - batch jobs to execcute the customer evaluation report

    Hi,
    I am executing the S_ALR_87012167 report for customer evaluation reports.I have defined all evaluation views,but while executing F.29 bacht jobs,it is saying no jobs exist.
    How to execute F.29.Kindly advice me.I am not able to execute the report.
    Thanks
    Supriya

    Use Job wizered...........
    enter job and server name...............     continue -
      enter program name   RFDRRGEN
    enter variant name SAP&VARI...............   press continue four times and complete.............
    In the job selection check the status of your job and check the spool ..............   now your evaluation reports should work..........  but before generating batch job you should have completed the previous steps like OBAN and OBAJ.
    Regards,

Maybe you are looking for

  • Operation System not found

    I've been following the beginners' guide and I keep running into this "Operation System not found" error. I'm using a dell xps l502x, and trying to install x86_64 arch. I've tried using syslinux and grub both with the same error on reboot During a sy

  • T410 system restore interupted, Win 7

    HI, My daughter's boyfriend was having a problem with all his word docs on his T410 so he started a "System restore" from the Windows boot manager without backing up anything (I know, big red WARNING sign) and then immediately realized his mistake an

  • Block decimals for EA

    How to Block decimal entry for UOM ea in Purchase order/ Delivery or Sales order. I have checked Material Master-Additional Data--UOM settings, but htere is no way to change 1.000 to 1 I have also check transaction CUNI--Configuration of UOM, but for

  • Problem upgrading to a new version of WCS

    Hi, I'm currently trying to upgrade my wcs from version 5.1.64.0 to 6.0.181.0. but every time i run the installation file it tells me that there are multiple copies of the WCS installed on the server and i can't upgrade i can only start a new install

  • Interactive Form Issues

    Hi, In general my application is as following with tow Views: 1- After the use enter the search criteria in View1 and click Preview Button. 2- View2 open PDF file. 3- In View2 I have a Interactive form to open PDF. My Issues are: 1- After I go and ru