Reporting agent - Back ground scheduling

Hello Gurus,
I am trying to schedule the reporting agent scheduling package in Background... Is it possible to schedule it in Background when executing via Process Chain.
Thank you

Thanks for the Info.
But the situation that I am facing is.. I have a remote cube and the regular cube attached to a multiprovider which is used to reconcile BW report with that of R/3 tables.
When I execute the report in BW ... the data that is read from R3 tables ... it is under DIA process.
the time out is set to 20 minutes. and everytime the report is executed it is saying uncaught exceptiona and when I check in the log it says time exceeded.
Is there anyway that I can schedule the R/3 side job to a Background job (so that there would be no timeout).
I hope I am clear..
Please help me on this issue.

Similar Messages

  • How to keep break point in back ground scheduling Report

    Hi,
    how to keep break point in back ground scheduling Report?
    Regards,

    Hai ,
    One more way to debug  in the back ground is , pur some infinite loop condition and execute the job and in SM50 you can see the job which is running place the cursor on the job and go to the program in the menu and go to debugging from there .
    Example code for infinite loop .
    i=1 .
    loop at itab .
    if i > 5 .
    end loop .
    Regards,
    K.Vinaykumar

  • Alv report in back ground

    Hi All,
    Can we run alv report in back ground,if yes how?
    Thanks&Regards.
    Srikanth.V

    hi Ramu,
    Run in Background but make sure it is alv list, not alv Grid FM. if you are uisng alv list not problem , but if you are using alv grid then you can code like this..
    if sy-batch = ' '.
    call 'REUSE_ALV_GRID_DISPLAY'.
    else.
    call 'REUSE_ALV_LIST_DISPLAY'.
    endif.
    if you are using OO alv then write this code..
    CALL METHOD cl_gui_alv_grid=>offline
                    RECEIVING e_offline = off.
        IF off IS INITIAL.
          CREATE OBJECT g_custom_container
                 EXPORTING container_name = g_container.
        ENDIF.

  • Filter report by back ground color or by condition

    I'd like to filter my report by conditions like iif(Parameter is true, Fields.speed.value > 100 or Fields.speed.value > (speedlimit +15), nothing).  I tried using Dataset filter as following set up, but it won't return the order with speed
    over 100 or over speedlimit by 15 km/h.   
    FilterExpression: [Speed]
    >
    =iif((Parameter.Boolean.value = true, 100 or (fields.Speedlimit.value +15), 0).
    Then i filter all the cell that when speed is under the condition like
    iif(speed > 100 or speed > (speedlimit+15), "PINK", "White")
    but I don't know whether I could filter report by back ground color.
    Anyone please help me with any solution. 
    thanks.

    Thank you very much for the solution.!
    It works when i select "true' for the parameter. 
    But instead of showing all orders when "false", it shows orders under condition Fields!Speed.Value>(Fields!SpeedLimit.Value+15.
    Do you have any idea why?
    all order number is 1000
     number of orders with Field.Speed.Value > 100 is 13
     number of orders with Fields!Speed.Value>(Fields!SpeedLimit.Value+15
    is 340
     number of orders with Fields!Speed.Value>100
    or Fields!Speed.Value>(Fields!SpeedLimit.Value+15  is 353
    I'm getting 353 when "True" 340 when "False"(I do want 1000)

  • Reporting Agent and Download Scheduler

    Hello All,
        I have an issue with the Reporting Agent and Download scheduler.  I am on BW 3.5.  I am not familiar with the setup myself (I inherited it), and I would like some basic information.
       Essentially it was working fine until we added some new settings.  Now, the Download Scheduler freezes mid-run - just stops - and I am guessing this has to do with the new settings that were created (not by me - again, I just inherited all this).
       Any help, suggestions, links to white papers (Google was NOT helpful) anything at all on this ancient technology would be appreciated.
       Thanks.
    Dave

    Hi Nagesh,
    Chech whether the user or role is specified in your web template settings.
    Check this link for further details:
    http://help.sap.com/saphelp_nw04/helpdata/en/4b/ddb057ca3aa447b0d5aff7ea2408d3/frameset.htm
    Regards,
    Prema

  • Submiting report in back ground with values

    Hello all abapers,
      I m working on one application where one module pool program will take input from user for user id and password. After verification, one back ground report will be scheduled by this program to change user pw and add some role in user's profile.
    when i schedule the prg in background i need to pass some values like user id and password entered on module pool screen...
    how do i pass it to background job when scheduling and how bg job prg will read these values..
    please advise me as its needed asap...
    thanks in advance,
    jigs.
    any helpful suggestions will be rewarded.

    Hi,
    Put the following code in user command:
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname                = 'ZSUBMIT'
    IMPORTING
       jobcount               = jbcnt
    EXCEPTIONS
       cant_create_job        = 1
       invalid_job_data       = 2
       jobname_missing        = 3
       OTHERS                 = 4
    IF sy-subrc <> 0.
    ENDIF.
    SUBMIT <program to be submitted> WITH P_user_id = user id  VIA JOB 'ZSUBMIT' NUMBER jbcnt AND RETURN.
    CALL FUNCTION 'JOB_CLOSE'
      EXPORTING
        jobcount                          = jbcnt
        jobname                           = 'ZSUBMIT'
        strtimmed                         = 'X'
    EXCEPTIONS
       CANT_START_IMMEDIATE              = 1
       INVALID_STARTDATE                 = 2
       JOBNAME_MISSING                   = 3
       JOB_CLOSE_FAILED                  = 4
       JOB_NOSTEPS                       = 5
       JOB_NOTEX                         = 6
       LOCK_FAILED                       = 7
       INVALID_TARGET                    = 8
       OTHERS                            = 9
    IF sy-subrc <> 0.
    ENDIF.
    A job called 'ZSUBMIT' will be released in background.
    Please try and award points if useful.
    Thanks and regards,
    S. Chandra Mouli.

  • Problem when printing Alv Tree Report in back ground

    Hi,
    I am using SUBMIT ...TO SAP-SPOOL WITHOUT SPOOL DYNPRO with GET_PRINT_PARAMETERS FM.Its working fine.
    My problem is that my SUBMIT report have TREE STRUCTURE as output so when i am running my program one blank screen is coming with heading DISPLAY LOG TREE because of TREE STRUCTURE.when i click on back button then only further processing happens.
    How to avoid this TREE STRUCTURE SCREEN ???
    Is there any other way to pass your list o/p to SPOOL other than .....TO SAP-SPOOL..?
    Thanks in advance.

    in foreground when u run ALV report it holds maximum fields and displays in 1 single row, but the case is not in back ground...When any report is run in background, the default size for a line is 255 chars...So, if it more it gets splitted into 2 line item....This is how back ground job works for a report  though it is a normal report or alv report.

  • Need to fetch updated records by Back ground scheduling

    Hi,
    I have a report program which fetches the employee details. I have created a back ground job for this report program. When the job executes for the first time it should fetch all the records. But when the job executes for the second time and so on it should retrieve only the updated records.
    I will explain in detail.
    Suppose I execute the job today for the first time , it should retrieve all the employee records . But tomorrow if the job executes, it should retrieve those records that are inserted or changed in these 24 hrs of time.
    Could any body tell me the necessary programming logic.
    Reward points are assured.
    Best regards
    Bhagat.

    Hi Bhagat,
    make an Input-field f. example P_ALL as checkbox.
    create to variants first P_ALL = 'X', second P_ALL = space.
    Create a job with variant A wich runs only one time.
    create a job with variant B which runs every day.
    In the Report hande P_ALL as you want.
    Hope it Helps.
    Regards, Dieter

  • Back ground scheduling

    hi friends,
    i got a issue like this..
    i want to make back ground scheulding daily expect saturday.. i saw the option in process chain restriction in its shows only sunday or holiday.. i want to schdeule the chain daily except saturday..
    please  anyone  reply this issue
    regards
    siva

    Hi siva,
    I think the following link will help you in better.
    It having a better code for achieving your requ....
    /people/claudio.ciardelli2/blog/2005/09/01/launching-an-apd-analysis-process-from-an-abap-program
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a65cfe07211d2acb80000e829fbfe/content.htm

  • Scheduling report in back ground after the previous report is executed

    Hi,
    There is one report which will be executed manually, once that is executed my report should be executed automatically in background.
    Pls help me in how to do this.
    Thanks,
    Lucky

    Hi,
    In the first report, try this code:
      DATA l_jobcount TYPE tbtcjob-jobcount.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname          = 'TEST_JOB'
        IMPORTING
          jobcount         = l_jobcount
        EXCEPTIONS
          cant_create_job  = 1
          invalid_job_data = 2
          jobname_missing  = 3
          OTHERS           = 4.
      IF sy-subrc <> 0.
        CASE sy-subrc.
          WHEN 1.
            MESSAGE e054(bl)
          WHEN 2.
            MESSAGE e008(mi_badi)
          WHEN 3.
            MESSAGE e009(mi_badi)
          WHEN 4.
            MESSAGE e703(fkjo)
        ENDCASE.
      ENDIF.
      SUBMIT z_second_program
        WITH p_param1 =  'TES'
        WITH s_select_option IN s_range
        VIA JOB 'TEST_JOB' NUMBER l_jobcount
        AND RETURN.
      IF sy-subrc EQ 0.
        p_submit = true.
      ENDIF.
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount             = l_jobcount
          jobname              = 'TEST_JOB'
          strtimmed            = 'X'
        EXCEPTIONS
          cant_start_immediate = 1
          invalid_startdate    = 2
          jobname_missing      = 3
          job_close_failed     = 4
          job_nosteps          = 5
          job_notex            = 6
          lock_failed          = 7
          invalid_target       = 8
          OTHERS               = 9.
      IF sy-subrc <> 0.
        CASE sy-subrc.
          WHEN 1.
            MESSAGE e012(mi_badi)
          WHEN 2.
            MESSAGE e013(mi_badi)
          WHEN 3.
            MESSAGE e009(mi_badi)
          WHEN 4.
            MESSAGE e014(mi_badi)
          WHEN 5.
            MESSAGE e015(mi_badi)
          WHEN 6.
            MESSAGE e541(scpr)
          WHEN 7.
            MESSAGE e267(arch_ana)
          WHEN 8.
            MESSAGE e216(xm)
          WHEN 9.
            MESSAGE e727(fkjo)
        ENDCASE.
      ENDIF.

  • Problem submitting a report in back ground

    Hi,
    I'm trying to submit a report in background and I always get an error saying make an entry in all required fields. But it works perfectly fine in foreground. I'm not sure what am I doing wrong. Pls suggest.............I'm not using any front end FMs...
      SUBMIT RKAEP000 via selection-screen
             USING SELECTION-SCREEN 310
             with p_tcode eq 'KOB2'
             WITH  SELECTION-TABLE seltab
             TO SAP-SPOOL WITHOUT SPOOL DYNPRO
             AND RETURN.

    Hi chesat
    u just compare ur code with this...
    Using JOB_OPEN,JOB_SUBMIT,JOB_CLOSE
    Demo Program:
    REPORT  YJob  .
    DATA : v_jobhead LIKE tbtcjob.
    DATA : v_jobcount LIKE tbtcjob-jobcount.
    DATA : v_eventparm LIKE tbtcjob-eventparm.
    DATA : v_flg_released TYPE c.
    DATA: e_error.
    DATA: running LIKE tbtcv-run.
    TYPES: esp1_boolean LIKE boole-boole.
    CONSTANTS: esp1_false TYPE esp1_boolean VALUE ' ',
               esp1_true  TYPE esp1_boolean VALUE 'X'.
    CONSTANTS: true  TYPE boolean VALUE esp1_true,
                              false TYPE boolean VALUE esp1_false.
    PARAMETERS: v_jobnam LIKE tbtcjob-jobname,
                v_report LIKE sy-repid,
                v_varian LIKE  raldb-variant,
                v_uname  LIKE sy-uname.
    START-OF-SELECTION.
    add the new job
      CALL FUNCTION 'JOB_OPEN'
           EXPORTING
               delanfrep        = 'X'
                jobname          = v_jobnam
           IMPORTING
                jobcount         = v_jobcount
           EXCEPTIONS
                cant_create_job  = 1
                invalid_job_data = 2
                jobname_missing  = 3
                OTHERS           = 4.
      IF sy-subrc <> 0.
        e_error = true.
      ELSE.
        CALL FUNCTION 'JOB_SUBMIT'
             EXPORTING
                  authcknam               = v_uname
                  jobcount                = v_jobcount
                  jobname                 = v_jobnam
                  report                  = v_report
                  variant                 = v_varian
             EXCEPTIONS
                  bad_priparams           = 1
                  bad_xpgflags            = 2
                  invalid_jobdata         = 3
                  jobname_missing         = 4
                  job_notex               = 5
                  job_submit_failed       = 6
                  lock_failed             = 7
                  program_missing         = 8
                  prog_abap_and_extpg_set = 9
                  OTHERS                  = 10.
        IF sy-subrc <> 0.
          e_error = true.
        ELSE.
          CALL FUNCTION 'JOB_CLOSE'
               EXPORTING
                  EVENT_ID                    = IC_WWI_WORKPROCESS_EVENT
                  EVENT_PARAM                 = V_EVENTPARM
                  EVENT_PERIODIC              = 'X'
                    jobcount                    = v_jobcount
                    jobname                     = v_jobnam
                    strtimmed                   = 'X'
               IMPORTING
                    job_was_released            = v_flg_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 sy-subrc <> 0.
            e_error = true.
          ELSE.
            DO.
              CALL FUNCTION 'SHOW_JOBSTATE'
                EXPORTING
                  jobcount               = v_jobcount
                  jobname                = v_jobnam
               IMPORTING
            ABORTED                =
            FINISHED               =
            PRELIMINARY            =
            READY                  =
                 running                =
            SCHEDULED              =
               EXCEPTIONS
                 jobcount_missing       = 1
                 jobname_missing        = 2
                 job_notex              = 3
                 OTHERS                 = 4.
              IF sy-subrc <> 0.
                e_error = true.
                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              ENDIF.
              IF running = space.
                EXIT.
              ENDIF.
            ENDDO.
          ENDIF.
        ENDIF.
      ENDIF.
    Are u  using any ALV display while prinitng..??

  • Reg:back ground scheduling

    Hai to all,
    I am executing report in backgroung .
    using selection-screen:   program----
    >execute in backgound(f9)
    but when i was scheduling in background with start time 11:00:00 pm
    its showing the error message:
    "Internal error with background job scheduling "
    i dont why its showing
    could any body suggest me.
    please its very urgent.
    regards,
    Chaitanya

    Hi Chaitu
    internal error while running background job (progname) is due to authorisation issue. where we have to check the background in one of the object. I had got this error & corrected it in authorisation. Ask the user to send a su53 screen shot when he/she gets the error
    reward points to all helpful answers
    kiran.M

  • How to run a report in back ground

    how to run a report in background with out using job open, submit , close is there any other function module to run report in background.

    Hi,
               There are two ways for you to handle,
    one manually setting up the job through SM36 which is better and convinient,
    secondly through program using FM's JOB_OPEN, SUBMIT, JOB_CLOSE.
    Find below steps in doing both:
    Procedure 1:
    1. Goto Trans -> SM36
    2. Define a job with the program and variant if any
    3. Click on start condition in application tool bar
    4. In the pop-up window, click on Date/Time
    5. Below you can see a check box "Periodic Job"
    6. Next click on Period Values
    7. Select "Other Period"
    8. Now give '15' for Minutes
    9. Save the job
    Procedure 2 via Program:
    Below is a sample code for the same. Note the ZTEMP2 is the program i am scheduling with 15mins frequency.
    DATA: P_JOBCNT LIKE TBTCJOB-JOBCOUNT,
    L_RELEASE(1) TYPE c.
    CALL FUNCTION 'JOB_OPEN'
    EXPORTING
    JOBNAME = 'ZTEMP2'
    IMPORTING
    JOBCOUNT = P_JOBCNT
    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.
    SUBMIT ZTEMP2 VIA JOB 'ZTEMP2' NUMBER P_JOBCNT
    TO SAP-SPOOL WITHOUT SPOOL DYNPRO
    WITH DESTINATION = 'HPMISPRT'
    WITH IMMEDIATELY = SPACE
    WITH KEEP_IN_SPOOL = 'X' AND RETURN.
    CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
    JOBCOUNT = P_JOBCNT
    JOBNAME = 'ZTEMP2'
    STRTIMMED = 'X'
    PRDMINS = 15
    IMPORTING
    JOB_WAS_RELEASED = L_RELEASE
    EXCEPTIONS
    CANT_START_IMMEDIATE = 1
    INVALID_STARTDATE = 2
    JOBNAME_MISSING = 3
    JOB_CLOSE_FAILED = 4
    JOB_NOSTEPS = 5
    JOB_NOTEX = 6
    LOCK_FAILED = 7
    INVALID_TARGET = 8
    OTHERS = 9.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Hope the above helps you.
    <b>Reward points</b>
    REGARDS

  • Unable to generate So through Back ground scheduling : URGENT

    Dear All ,
    I am coded a customized BAPI to create Sales order from the data sent by SAP.NET scheduler.
    If i test the BAPI as a function module I am able to generate SO for the Same data which is there in the external system, but the SAP.NET scheduler is calling the BAPI the SO's are not generating generated.
    I have the attributes as RFC enabled and start immediately.
    Even if I try to run a BDC coded in SE38 it is successful but if I schedule the same in SM36 the SO's are not getting generated.
    Regards,
    shyam

    Dear All,
    I have used 'BAPI_TRANSACTION_COMMIT' FM and also after getting the amount fields I am converting them into a Charater format as for eg
    eg: Data : g_kbetr(13) type  c.
    The problem if I test the BAPI in SAP directly I am able to generate SO but when the .NET scheduler is calling the BAPI the SO's are not getting generated
    shyam

  • List wrapping in back ground scheduling

    HI folks,
       I am executing a program which displays an alv list ,when run in the foreground ,there are no issues.
    when i run from the selection screen ,giving the option as run in background,and when i check the o/p in sm37 ,the list is getting wrapped into the next line ,its not proper ,haphazard .
    when i schedule the same in sm36 ,i am gettin the proper output but the client wants to run the program from the selection-screen,so i should solve this ..
    are there any settings or how to correct this problem??
    many thnx .

    Hi I have made the changes as per Ken Sanghavi's suggestion in other post.
    But now I have face a problem. When after setting the X_65_1000. It displays only 10 pages of data
    for the format type X_65_80 it displays 19 pages in the Spool.
    Why is there a missing of 9 pages and also
    if I click display button for the spool which contains 19 pages it gives me a message saying that
    Only page 1 to 10 of 19 displayed.
    Did any one faced similar kind of problems.
    Any suggestions would be appreciated.
    Thanks,
    Chaithanya

Maybe you are looking for

  • IPhone 3G Won't Back Up In iTunes Since Upgrading From XP to Windows 7

    I currently own an iPhone 3G which has worked perfectly and synchronized with iTunes for the past 18 months. I recently upgraded my OS on my PC from Windows XP to Windows 7. Obviously i had to wipe the hard drives and re install everything. Since the

  • HT1212 I'm trying to restore an iPod touch.

    I'm trying to restore an iPod touch that has been locked out and iTunes says "The iPod software update server could not be contacted.  Make sure your network settings are correct and your network connection is active, or try again later."

  • I've tried restoring and it still won't sync

    I recently bought a used iPod nano. I've restored it to factory settings several times but I'm still having trouble with it. Sometimes it will sync to Itunes but only get 3 songs and then will give me an error message that says the file is corrupted.

  • Installation of Ghostscript in order to print to non-Postscript printers

    Hi, As I understand Ghostscript can read a PostScript or PDF file and convert them into a form you can print on a non-PostScript printer. As a reason what we have no postscript printers , I want to use Ghostscript for printing reports into OA 11i on

  • Reservations with respect to delivery

    Can we reserve the stock that is there in the delivery Thanks, Sri