Background processing .... transaction.

Hi
i have to run a report program in background ,say every 30 days ,is there any transaction using which i can do it or any other way please help,its urgent
Regards
Sumant

hi
se38->provide the report which u want execute
in menu bar program->execute-> back ground.
then progrm will run in back ground.
the result u can see in sm 37.
Reward if useful.
thanks,
usha
Message was edited by:
        Usha Rani R

Similar Messages

  • GMT or local time in background processing ?

    Hello all,
    In the Background Processing transaction, is the time for scheduled job in GMT or in Local time ?
    Regards,
    Michaël.

    Hello Michaël,
    As far as I remember you specify there local time.
    Regards,
    Alex.

  • BDC (Background processing in call transaction )

    Frnds how to go for background processing in " call transaction method"
    We know that " NO display" mode is there but any other method is there in real time.
    > in session method while data is getting uploaded suddenly server stops then how to upload the data from the last record where the server stopped.
    plz help.
       regards,
        satya

    Hi
    u have to use No Display mode in call transaction...there is no other go for this...
    Otherwise opt for session method and using SUBMIT rstbdcsub. process in background.
    When server stops mean while the processing of the session, u can get the processed records info by the log and you can process the failed / un processed records now by foreground in sm35 or u can process the entire file again or u can create the file with only failed records and process .
    Regards,
    kumar

  • ABAP trail 7.00 timeouts and background process

    Does anyone knows if it's possible to change the number of dialog and background processes?
    And the transaction to change the timeouts of such processes?
    Thank you

    you can change the timeout in rz11.Parameter-name is rdisp/max_wprun_time. Backgound processes habe no timeout, so this value is only valid for dia-processes
    To change the number, you have to adjust your instance profile. In the forum  'Netweaver Administrator' should be some information about that. So just the short hint: you can adjust the profiles in RZ10, but have to do some steps for that. Just search in NW-Admin-forum above.
    Regards,
    ulf

  • How can I run a method as a background process?

    Hello,
    I am currently working on a report where depending on the number of items selected, the user may choose to process all the items right now or as a background process.
    How can I do that in ABAP?
    Thanks

    To run a job in the background it has to be scheduled as batch job. You would usually do that using transaction SM36. As I understand your problem you want to schedule such a job directly from your coding. You may want to have a look at function group BTCH. It overs quite a few FMs to programmatically add a batch job.
    regards
    Daniel

  • Background processing of CM21

    Hello all
    I am trying to run the transaction CM21 in background processing through LSMW transaction, but it shows me the following error per each item:
    Run-time error "RAISE_EXCEPTION" occurred
    > Short dump "101201 202224 MEXQAS01 0_ECQ_01 " generated
    Does anyone know about the error? Or the best option to run the transaction CM21 in background processing massively (LSMW).
    Thank you in advance.

    Hi,
    1. What are u tyring to do with CM21 in BG job?
    2. why didnt you try the CM40 - Execute ?
    Reg
    dsk

  • Background processing- download multiple itabs into one excel with tabs

    Hello,
    I want to run a report as a background job and download the outputs in excel file into different tabs.
    Problem is OLE does not run in background mode.
    Are there any other alternatives for that?
    I searched the forum and did not get any useful answer for background procesing. All the topics use for foreground processing.
    (Old query for reference:- )
    [background processing] multiple work sheets in single attachment file
    Thanks.

    Hi,
    Even i had the same issue before, what i did is, i written a program which will run in the background and stores the data in application server file, and also it sends the email to user saying that 'the data is soted in application server, to veiw please run the ZXXXX transaction code to view,
    The second transaction code is having the OLE code which will download the data into an excel sheets with more than 1 tab.
    Thanks
    Sudheer

  • Workflow not working in Background Processing

    Hi All,
    I am relatively new to Workflow.  Currently, I am creating Deliveries (preferably in background) once a Sales Order is created.  I am using an ABAP Class as the object method to submit the sales order number to the delivery processing method (which just submits basic information to standard SAP transaction VL04).  I found that if the execution of the delivery creation task is not in Background Processing (the user manually kicks off the Delivery creation in SBWP) the workflow works as expected and creates the deliveries.  However, if the Background Processing is checked, the workflow does not process and does not create a delivery.  Is there any specific reason as to why the workflow will not work in background?
    Any help you can give would be greatly appreciated.  Thanks.
    John

    Hi,
    John
    See to process a Back ground task, there should be a proper parameter flow.
    Please look at the import parameters in the method you are using to process the back ground task..
    If proper import parameters are passed then the task will work
    This should help..
    Thanks,
    Shanky

  • Background processing - load distribution guidelines

    Hello,
    We are using the HR module (ESS/MSS type Web application) in an ECC6 system.
    Due to the business needs we need to run heavy interfaces job.
    Basically the interfaces background jobs would turn round the clock and we fear this will impact the end users running the dialog transactions.
    While we can scale up the environment I was wondering if there are any guidelines or best practices from SAP regarding SAP background processing and interfaces. Recommendations like running interfaces background jobs outside businnes hours. Or anything similar that could help us approach the topic in a good way.
    Currently we fell that we will misuse the system and we will generate a big impact on the end-user dialog performance.
    Any hint is greatly appreciated,
    Kind Regards,
    Florin

    you can use logon load balancing in scheduling those background jobs,
    Re: Scheduling background job on Logon group
    Re: Scheduling background job on Logon group
    or you can speficify some particular jobs to be run only on application server so as to avoid the load in CI
    and following also might help you
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a7f39505211d189550000e829fbbd/frameset.htm

  • I want to covert the BDC to background process

    Hi,
    I want to change the BDC program to Background processing . I am posting the code below, can you change it.
    FUNCTION YFIIN_CRC_SET_FLG1.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(CTU) LIKE  APQI-PUTACTIVE DEFAULT 'X'
    *"     VALUE(MODE) LIKE  APQI-PUTACTIVE DEFAULT 'N'
    *"     VALUE(UPDATE) LIKE  APQI-PUTACTIVE DEFAULT 'L'
    *"     VALUE(GROUP) LIKE  APQI-GROUPID OPTIONAL
    *"     VALUE(USER) LIKE  APQI-USERID OPTIONAL
    *"     VALUE(KEEP) LIKE  APQI-QERASE OPTIONAL
    *"     VALUE(HOLDDATE) LIKE  APQI-STARTDATE OPTIONAL
    *"     VALUE(NODATA) LIKE  APQI-PUTACTIVE DEFAULT '/'
    *"     VALUE(QMNUM_001) LIKE  VIQMEL-QMNUM
    *"  EXPORTING
    *"     VALUE(SUBRC) LIKE  SYST-SUBRC
    *"  TABLES
    *"      MESSTAB STRUCTURE  BDCMSGCOLL OPTIONAL
    subrc = 0.
    perform bdc_nodata      using NODATA.
    perform open_group      using GROUP USER KEEP HOLDDATE CTU.
    perform bdc_dynpro      using 'SAPLIQS0' '0200'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RIWO00-QMNUM'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RIWO00-QMNUM'
                                  QMNUM_001.
    perform bdc_dynpro      using 'SAPLIQS0' '7200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=GNOK'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'VIQMEL-QMNUM'.
    perform bdc_dynpro      using 'SAPLIQS0' '7200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BUCH'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'VIQMEL-QMNUM'.
    perform bdc_transaction tables messtab
    using                         'IQS2'
                                  CTU
                                  MODE
                                  UPDATE.
    if sy-subrc <> 0.
      subrc = sy-subrc.
      exit.
    endif.
    perform close_group using     CTU.
    ENDFUNCTION.
    ==================================
    ***INCLUDE BDCRECXY
          Batchinputdata of single transaction
    DATA:   BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE.
          Nodata-Character
    DATA:   NODATA_CHARACTER VALUE '/'.
      create batchinput session                                          *
    FORM OPEN_GROUP
         USING P_GROUP    LIKE APQI-GROUPID
               P_USER     LIKE APQI-USERID
               P_KEEP     LIKE APQI-QERASE
               P_HOLDDATE LIKE APQI-STARTDATE
               P_CTU      LIKE APQI-PUTACTIVE.
      IF P_CTU <> 'X'.
        CALL FUNCTION 'BDC_OPEN_GROUP'
             EXPORTING  CLIENT   = SY-MANDT
                        GROUP    = P_GROUP
                        USER     = P_USER
                        KEEP     = P_KEEP
                        HOLDDATE = P_HOLDDATE.
       ENDIF.
    ENDFORM.
      end batchinput session                                             *
    FORM CLOSE_GROUP USING P_CTU LIKE APQI-PUTACTIVE.
      IF P_CTU <> 'X'.
    close batchinput group
        CALL FUNCTION 'BDC_CLOSE_GROUP'.
      ENDIF.
    ENDFORM.
           Start new transaction according to parameters                 *
    FORM BDC_TRANSACTION TABLES P_MESSTAB
                         USING  P_TCODE
                                P_CTU
                                P_MODE
                                P_UPDATE.
    DATA: L_SUBRC LIKE SY-SUBRC.
      IF P_CTU <> 'X'.
        CALL FUNCTION 'BDC_INSERT'
             EXPORTING  TCODE     = P_TCODE
             TABLES     DYNPROTAB = BDCDATA
             EXCEPTIONS OTHERS    = 1.
      ELSE.
        CALL TRANSACTION P_TCODE USING BDCDATA
                         MODE   P_MODE
                         UPDATE P_UPDATE
                         MESSAGES INTO P_MESSTAB.
      ENDIF.
      L_SUBRC = SY-SUBRC.
      REFRESH BDCDATA.
      SY-SUBRC = L_SUBRC.
    ENDFORM.
           Start new screen                                              *
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    ENDFORM.
           Insert field                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
      IF fval <> NODATA_CHARACTER.
        CLEAR BDCDATA.
        BDCDATA-FNAM = FNAM.
        BDCDATA-FVAL = FVAL.
        APPEND BDCDATA.
      ENDIF.
    ENDFORM.
           Insert field                                                  *
    FORM BDC_NODATA USING P_NODATA.
      NODATA_CHARACTER = P_NODATA.
    ENDFORM.

    Hi..
    Incase of Session method you have to Schedule the Program RSBDCSUB in backgroud using the Tcode SM36.
    This program Takes the Session Name as input and Process the Session in background.
    Note: Create a variant with the Session name for this program
    <b>Reward if Helpful</b>

  • Run report in background using transaction launcher

    Hi ,
    I need to run my zreport using transaction launcher in background....
    anybody please help.
    Ruchi

    Hello
    I agree with Andrei. Transaction Launcher is intended for front office operations with agents, not for basis tasks which must be performed by consultants with SAPGui access.
    Anyway, you can launch your transaction and try to see if it works with background processing, but that is not what transaction launcher is intended for.
    Regards
    Joaquin

  • Report Execution - Background Process

    Hi Friends,
    I have developed a report program.
    I have also created a transaction code for executing it.
    Now the user needs to execute this program as a background job.
    I have tried with SM36 and SM37 transactions. Here, you need to set the variants and time for execution.
    But the user has lots of selection criteria and setting the variants for this requirement is highly impossible.
    Kindly let me know whether I can add any additional statements in the program so that the program executes as a background process when initiated th' the selection screen / transaction code.
    Kindly provide your suggestions.
    Thanks in advance.

    Hi Karthik,
    Looks like a wrapper ABAP program is required to meet your requirement. This program can be called in the background and in turn can submit the report program that you have created to achieve the actual functionality.
    In this wrapper program, you need to create a dynamic variant using FMs (search RSVARIANT in SE37). Here you can populate the fields of the selection screen based on any complex criteria as you mentioned using ABAP statements. The dynamic variant is similar to the variants created on the selection screen.
    Once you have the variant (dynamic) ready you can create a background job and submit it within this wrapper program, for which you again have to use the FMs (search createjob*, and go to the function group).
    You have to release the submitted job and you can get the status of the job while it is running using the standard FMs provided for this.
    Finally, you can create a spool list for the wrapper program that can detail the status of the submitted job.
    It is a good idea to delete the dynamic variant once it ahs been used because if required again, it can be created again. If the dynamic variant is created daily or several times a day, it is definitely good to delete it after the use. The right place to do deletion is at the end of the wrapper program after confirming that the job submitted has completed. Or as an alternate strategy, all variants prior to a week can be deleted when the wrapper program runs today (we are using this strategy).
    I have used this successfully.
    Hope this helps.
    Thanks
    Sanjeev

  • BDC background processing

    Hi all,
       I've written a batch input data transfer program, into the internal table of which i upload some data from the presentation server using the GUI_UPLOAD function module . I am trying both session method and call transaction. I am being successful in uploading the data into the SAP system i,e into the database tables when i follow foreground processing for session method and 'MODE A'  in call transaction. The problem arises when i try to use the background processing option , the data is not getting uploaded into the SAP system. When i use the  foreground option the same data gets uploaded without problem.
       For the case of call transaction i tried looking into the message internal table during successful uploads, it'll have success message type and for the PROBLEM case of mine the internal table will be empty.

    hi,
    Yes. You can't run it in background if you are using GUI_UPLOAD.
    If the data is in application server, you can read it using OPEN DATASET.. and upload it to internal table in background.
    regards,
    Beena

  • Regarding background processing of the session

    Hi Gurus
       I have some records in my flat file.
    While i am doing uploading the file using tc, in foreground it is processing correctly and no issues.
    While in Background some of the records are not processing properly and in sm35 for those records I am getting the message :"InCorrect".
    What may be the reasons I am not getting.
    Can you please suggest me where may be the wrong exactly.
    Your suggestions are highly encouragable.
    Regards,
    kumar

    Hi Sree Ram,
    This is a very common problem faced in Mass upload of data. This mainly happens if the current transaction is dependent on the previous transaction. For e.g. transaction 2 has a dependency on sucessfull processing of transaction 1.This is due to the time taken by the transaction to update the database table.
    Put a commit statement after every transaction in your recording and this will ensure that the records are updated and you will not face any problem in background processing.
    Regards,
    Guru

  • Background processing for a task

    Hi all,
    my problem is this: I enter in a step of a wf structure and for that step I must set the task in background--->double click on task and I thought that, in modify mode, the flag 'background processing' in label 'Execution' of the task was editable and instead no...How can I set my task/step in background?
    Thanks in advance
    Bye

    Hi,
    Follow the below steps
    1. Execute PFTC transaction.
    2. Choose the task type as Standard Task.
    3. Enter the task ID without Object type TS i.e. if task ID is TS90000000, then simply enter 90000000.
    4. Open in change mode and enable the check box BACk ground Processing.
    After the above steps are completed, Execute the transaction SWU_OBUF and click SHIFT + F1. to refresh teh buffer.
    Regards
    Pavan
    Edited by: Pavan Bhamidipati on Nov 21, 2011 4:24 PM

  • Background processing on CM01

    Hello
    When I run the transaction CM01 with the "Detailed cap. list" option, and I choose to run the process on a Background processing, the transaction asks me for a Variant, but when I choose one (no matter which one) it fails inmediately on the transaction sm37, I can see it as Canceled.
    Could anyone help me to understand why I am not able to run on a Background process.
    Thank you in advance.
    Regards.

    Hi Mario
    Thank you, but was not an authorization problem, my question was solved with the SAP note 153146.
    Regards!

Maybe you are looking for

  • If i previously had my iTunes library set up on an external hard drive, how do I get my iTunes on my new mac pro to operate off of the same hard drive?

    I recently bought a mac pro. I previously had a macbook that I had set up for iTunes to run off of an external hard drive. How do I set up my mac pro to run off of this hard drive?  I have been trying to figure it out for the last hour and have had n

  • Bridge doesn't recognize processor

    Hello, I'm using Bridge CS3 2.1.1.9 under MS Vista Home Premium, Processor is a Intel Dual Core E8200. After starting Bridge, I get the message (copied from a different thread): Adobe Bridge This application requires an Intel Pentium 4, Intel Celeron

  • Error connecting to SQL  server 2005 from Dreamweaver 8

    Hi I have a database in SQL server 2005.I just started using dreamweaver's server behaviours.When I use the "log in" behaviour I get the following error. Microsoft VBScript compilation (0x800A0401) Expected end of statement /MyBlog/Connections/connBl

  • Buying U.S. English Keyboard in Germany

    I'm currently living in Germany and need to update my PowerBook G3 to a new (the update coming in a week or two) MacBook Pro. I can buy one with an International English keyboard from the German Apple website, but would rather get a U.S. keyboard (le

  • Problem running shell command

    hi i am just trying to run a simple msdos command public class TestImage{     public static void main(String args[]){      try{          Process p=Runtime.getRuntime().exec("echo");      catch(IOException e){          System.out.println(e); }and i ge