Regarding Background processes

Hi,
I need information regarding the Oracle background processes how it works internally step by step process for all the Background Processes and kindly tell me is their any duration for all the processes and kindly tell me is their online site so that i can learn and tell me how do we manage the tablespaces and i do not know sql kindly tell me how to learn sql and pl/sql?if you provide me the link for all these i would be garteful.
regards,
sudhir

... and specifically start the reading from Oracle Concepts.....In the paragraph(s) regarding the Oracle bkg processes , there are links that direct you to other more detailed docs....
Have a good reading.....
Greetings...

Similar Messages

  • Submit Report (Regarding Background Processing)

    Hi Guru's,
    I want help regarding Background Processing.
    I have developed a program which is running fine in forground but in Background mode no values are comming.
    All values are becomig Zero.
    Plz help.
    *--- Submit Report for 'COGI' (Postprocessing of Error Records from Automatic Goods Movements)
      SUBMIT coruaffw USING SELECTION-SCREEN '1000'
                      WITH  r_cumul = 'X'
                      EXPORTING LIST TO MEMORY
                    AND RETURN.
    *---- Get the List
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = it_list_tab
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.
      IF sy-subrc = 0.
    *--- Convert to Ascii
        CALL FUNCTION 'LIST_TO_ASCI'
          TABLES
            listobject         = it_list_tab
            listasci           = it_asci_tab
          EXCEPTIONS
            empty_list         = 1
            list_index_invalid = 2
            OTHERS             = 3.
        IF sy-subrc <> 0.
    *      MESSAGE i000 WITH 'Problem in converting LIST to ASCII'.
        ENDIF.
        DESCRIBE TABLE it_asci_tab LINES w_cogi.
        w_cogi = w_cogi - 5.
      CALL FUNCTION 'LIST_FREE_MEMORY'
        TABLES
          listobject = it_list_tab.

    Hi Arbind,
                  You have used return you need to add the addition with.Try this way hope it works
    SUBMIT zreport EXPORTING LIST TO MEMORY
                    AND RETURN
                    WITH P_1 = P_1
                    WITH P_2 = P_2
                    WITH P_3 = P_3
                    WITH S_4  IN S_4
                    WITH S_5 IN S_5
                    WITH S_6 IN S_6.

  • 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

  • Regarding background processing

    hi experts,
    i have developed a report in which huge amount of data is involved so i decided to execute in the background,,,for this i created the variant and for back ground i wrote this code but when i execute this it gives an error plz help me to solve this problem sud i change something in the variant or in the function module....
    report given here::::
    REPORT  ZBACKGROUND.
    parameters:job(32) .
    data:count like btcevtjob-JOBCOUNT,
         teamit like TBTCJOB-AUTHCKNAM.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
      DELANFREP              = ' '
      JOBGROUP               = ' '
        JOBNAME                = JOB
      SDLSTRTDT              = NO_DATE
      SDLSTRTTM              = NO_TIME
      JOBCLASS               =
    IMPORTING
       JOBCOUNT               = COUNT
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE:/ SY-SUBRC.
    CALL FUNCTION 'JOB_SUBMIT'
      EXPORTING
      ARCPARAMS                         =
        AUTHCKNAM                         = TEAMIT
        JOBCOUNT                          = COUNT
        JOBNAME                           = JOB
       REPORT                            = 'ZRAW_PRODUCTION_REPORT'
       VARIANT                           = 'ZRAW'
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE:/ SY-SUBRC.
    CALL FUNCTION 'JOB_CLOSE'
      EXPORTING
        JOBCOUNT                          = COUNT
        JOBNAME                           = JOB.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE:/ SY-SUBRC.
    error:::ShrtText
        Exception condition "INVALID_JOBDATA" raised.
    What happened?
        The current ABAP/4 program encountered an unexpected
        situation.
    Error analysis
        A RAISE statement in the program "SAPLBTCH" raised the exception
        condition "INVALID_JOBDATA".
        Since the exception was not intercepted by a superior program
        in the hierarchy, processing was terminated.
        Short description of exception condition:
        Error in Job Data, See SYSLOG
        For detailed documentation of the exception condition, use
        Transaction SE37 (Function Library). You can take the called
        function module from the display of active calls.
    Trigger Location of Runtime Error
        Program                                 SAPLBTCH
        Include                                 LBTCHU24
        Row                                     308
       Module type                             (FUNCTION)
       Module Name                             JOB_SUBMIT
    ource Code Extract
    ine  SourceCde
    278   GLOBAL_STEP_TBL-AUTHCKNAM = AUTHCKNAM.
    279   GLOBAL_STEP_TBL-STATUS    = BTC_SCHEDULED.
    280   MOVE-CORRESPONDING PRINT_PARAMS TO GLOBAL_STEP_TBL.
    281   MOVE-CORRESPONDING ARC_PARAMS TO GLOBAL_STEP_TBL.
    282   APPEND GLOBAL_STEP_TBL.
    283
    284   CALL FUNCTION 'BP_JOB_MODIFY'
    285     EXPORTING
    286       DIALOG              = DIALOG_FLAG
    287       JOBCOUNT            = GLOBAL_JOB-JOBCOUNT
    288       JOBNAME             = GLOBAL_JOB-JOBNAME
    289       NEW_JOBHEAD         = GLOBAL_JOB
    290       OPCODE              = BTC_MODIFY_WHOLE_JOB
    291     TABLES
    292       NEW_STEPLIST        = GLOBAL_STEP_TBL
    293     EXCEPTIONS
    294       CANT_ENQ_JOB        = 02
    295       INVALID_NEW_JOBDATA = 09
    296       OTHERS              = 99.
    297
    298   CASE SY-SUBRC.
    299     WHEN 0.
      300 *
      301 *     Stepnummer ermitteln
      302 *
      303       DESCRIBE TABLE GLOBAL_STEP_TBL LINES STEP_NUMBER.
      304
      305     WHEN 02.
      306       RAISE LOCK_FAILED.
      307     WHEN 09.
    >>>>>       RAISE INVALID_JOBDATA.
      309     WHEN OTHERS.
      310       RAISE JOB_SUBMIT_FAILED.
      311   ENDCASE.
      312
      313 ENDFUNCTION.

    Refer to these sample programs
    http://www.sapdevelopment.co.uk/reporting/rep_submit.htm
    http://www.kabai.com/abaps/z05.htm
    REgards,
    Santosh

  • Regarding the Mandatory BackGround Processes

    Hi,
    I wanna to know the information abt the BackGround processes like(PMON,SMON,CKPT,LGWR,DBWR).Can u pls explain abt all these processes and can i able to visualise these processes practically?
    Regards,
    sudhir

    To fully outline these processes and what they do, would take a book. In fact, books have been written on the subject.
    Go to http://tahiti.oracle.com/ and start with the Concepts manual.
    -Mark

  • GUI_DOWNLOAD and background processing

    Hello,
    I have created a process which creates a file. this process uses GUI_DOWNLOAD to put the file on the users C drive or other directory on our network. The user wants to run this process in background and the program is returning a 6  (error unknown) from the GUI_DOWNLOAD FM. I was looking on SDN and found out the GUI_DOWNLOAD only works in foreground. You have to use OPEN and CLOSE DATASET statements to process in background. I am thinking about putting a button to denote foreground/background processing and using the appropriate statements to process the file. I will then have to get the file from the app server to a place will the user can get access to it.
    <b>first question</b> - is there a FM to do a FTP from the app server to a directory on our network for the user to access?
    <b>second question</b> - is this the right approach or is there something else that I should be doing.
    thanks in advance for your help

    Hi,
    Yes, your right, GUI_DOWNLOAD wil not work in background mode, you need to place the file in Application server, here.
    See the below link for a FTP program, use the proper commands(i do not know whether downloading the file is possible through the commands)
    http://www.sap-img.com/ab003.htm
    or else, write a small program which downloads the data from the application server, but it should run in the foreground
    Regards
    Sudheer

  • How to Create Excel File in Background processing with different colors

    HI All
    I am trying to create Excel file in background & send it to user through e-mail, this i could acheive using fucntion module SO_DOCUMENT_SEND_API1, but here my requirement is i want to put different colors to columns of excel & this should happen in Background processing,
    Initially i completed above requirement by using HTML type of document with attachment type 'ALI'  & formatted output using write statement & used colors, after that i took this o/p using save_list function module & then table compress...etc.
    but i don't know how to achieve same if we need o/p in excel as size of object of excel file is less than that of HTML
    I am thankfull to everybody who will help me.
    Regards
    Lokesh

    Lokesh,
    Iam also trying to populate my text file with colors as an attachment . If you know this please let me know.

  • Data of alv report in  excel file in background processing using open datas

    Hi Experts,
    I have developed report for purchase register . if i execute this report in background process i am not able to get the downloaded file in excel and output is also not coming properly, columns are going to overlap.
    i used open dataset  read dataset and close dataset but still problem is not solved. so if anyone have code with this and also which will have concatenate statement in the code send it.
    Regards,
    Rahul

    Hi Rahul,
    Ur code shud be like below:
    DATA : l_filename2 TYPE string,
                v_extn.
        SPLIT p_filename AT '.xls' INTO l_filename2  v_extn.
        CONCATENATE l_filename2  'downloaded'  INTO l_filename2  SEPARATED BY '_'.
        CONCATENATE l_filename2  'txt'   INTO l_filename2 SEPARATED BY '.'.
        OPEN DATASET l_filename2 IN TEXT MODE FOR OUTPUT ENCODING DEFAULT.
        IF sy-subrc <> 0.
          MESSAGE e499(sy) WITH text-e02.
        ENDIF.
        LOOP AT it_order_number INTO wa_order_number.
          TRANSFER wa_order_number TO l_filename2.
        ENDLOOP.
        CLOSE DATASET l_filename2.
    Now, go to tcode AL11 and check it in the Application server itself.
    Hope this helps,
    Regards,
    Arnab.

  • Regarding Background job vs Performance.

    Hi all,
      I ran 2 similar programs in background through SE30 for comparing the performance.In SM37 the Duration(sec.) for the 2nd program is 3 times less than the first program after execution.But runtime analysis shows the performance of the first program is better than the second program by 1.5 times. Why is this difference!
      My question here is, can we consider the time duration shown in SM37 for performance comparison? Why do we get different results in SM37 and SE30?
    What factors affect the background process?
    Please clarrify.
    Regards,
    Venkatesh Kumar S.

    Hi Venkatesh!
    You have overflows. The total in SE30 is just 0.3 sec and 0.4 sec - but in SM37 3086 and 1112 seconds. After a conversion into microseconds, you would have 3 086 000 000 - which is obviously to much.
    For such long times, you can only look on the SM37 times - if you like to get more details, make info messages - they will be in the job log with a time stamp and you can inform about 'data read', 'data converted', 'data output' or something like this.
    Regards,
    Christian

  • Background Processing? how schedule job for "System Error" Message .

    Hello everyone,
    in sap help i have read.
    http://help.sap.com/saphelp_nw04/helpdata/en/5a/f72040599a8f5ce10000000a155106/frameset.htm
    PCK> Monitoring>Message Monitoring-->Background Processing
    you can schedule jobs for various background processing:
    ●     Archiving of messages processed successfully
    ●     Deletion of messages that are not to be archived
    ●     Restarting of messages with errors
    ●     Rescheduling of lost messages
    can anyone understand this docu?
    give me some introduction, how can i define and schedule these jobs ?
    thx in advance!!
    best regards
    Yaning

    Background Processing
    Prerequisites
    You have started the message monitor on the initial screen of the PCK and are in Background Processing.
    Features
    Archiving
    You require two archiving sessions to archive messages:
    ●     One session to write the messages to the archive
    ●     One session to delete the persisted messages that have been archived
    To do this, you schedule an archiving job, which implicitly schedules the sessions to write to the archive and delete the archived messages.
    You can define one or more rules for each archiving job; these rules contain conditions that a message must meet in order to be archived by the job. At least one of the defined rules must be met for archiving to take place.
    All information that is displayed for a message in message monitoring is archived, in addition to the audit log for each message.
    Deleting
    A standard delete job is created automatically. It runs once a day. You can schedule additional delete jobs; however, you cannot define rules for them.
    Restarting
    Instead of restarting messages with errors manually with message monitoring, you can schedule a job to automatically restart these messages. This is possible for all messages for which the number of defined restart attempts has been exceeded (messages with the system error status).
    You can define one or more rules for each job to restart messages; these rules contain conditions that a message must meet in order to be restarted by the job. At least one of the defined rules must be met for archiving to take place.
    Rescheduling
    A standard job to reschedule messages is created automatically. The job runs once a day and ensures that messages lost as a result of database failure, for example, are rescheduled. You can schedule additional rescheduling jobs; however, you cannot define rules for them.
    Thx Aamir.
    But I mean the messages with errors in Adapter Engine , not in Intergrations Engine.
    the situation is like Naveen Pandrangi's WebLog
    II. Errors in Adapter Engine [XI :  How to Re-Process failed XI Messages Automatically|XI :  How to Re-Process failed XI Messages Automatically]
    I
    Till now we have seen how to resubmit/restart message that failed in Integration Engine.  One a message makes it from Integration Engine to Adapter Engine, the message is flagged as checked in Integration Engine. The status of the message in Adapter engine does not effect the processed state in Integration Engine. Now if this message was asynchronous, XI will by default try to restart the message 3 times at intervals of 5 minutes before the status of the message is changed from Waiting to System Error .
    *how can i schedule a job to automatically restart these messages with errors?
    best regards
    Yaning
    Edited by: Yaning Liu on Aug 18, 2008 1:43 PM

  • 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

  • ERROR while uploading the data into ztable with background processing

    Hi gurus,
    i am trying to upload the data from excel file to internal table 
    its working fine ..
    but........
    if i try to upload the data with background processing , in sm37 it is saying "error during the upload of clipboard contents".
    Regards,
    Sri

    Hi,
    FM GUI_UPLOAD doesnt work in background, use dataset to upload it from application server.
    refer below code
    *--Local Variables
      DATA : l_file  TYPE string,
             l_line  TYPE string,
             l_index TYPE sy-tabix.
    *--Clear
      CLEAR : l_file.
      l_file = p_ipfile.
    *--Read the data from application server file.
      OPEN DATASET l_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc NE 0.
    *--Error in opening file
        MESSAGE i368(00) WITH text-005.
      ENDIF.
    *--Get all the records from the specified location.
      DO.
        READ DATASET l_file INTO l_line.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT l_line AT cl_abap_char_utilities=>horizontal_tab
                          INTO st_ipfile-vbeln
                               st_ipfile-posnr
                               st_ipfile-edatu
                               st_ipfile-wmeng.
          APPEND st_ipfile TO it_ipfile.
        ENDIF.
      ENDDO.
    Regards,
    Prashant

  • Background processing needed...

    iWeb needs to background process.
    Each shape/rollover/png/navbar/image-resize file needs to be generated as you make it, or in the background if you're working fast. Every time you alter the item's size or appearance on the iWeb page, it should regenerate it, but if you don't alter the item it leaves the generated file untouched. Moving the item on the iWeb page should not alter the already generated file. Altering plain text on a page should not change anything, only the html file.
    There should be an info page like iDVD informing you of background encoding status. You can however save at any time (like iDVD).
    When you come to publish, it should generate all other items that have changed or not yet been background encoded (as it does now).
    Next time you open iWeb to work on it, all encoding is all up to date (as it did it all prior to publish), so any items that have not been changed should be untouched, and only new items need to be encoded and hence published.
    That way, only changed items are generated, not the whole shebang. Thus saving everybody's wasted time and effort in uploading/finding changed files etc.
    It should be perfectly possible as iWeb has an undo and a restore feature, so it is already keeping track of changes all the time.
    What do you think, will this be in iWeb 1.2, iWeb 2.0, or Web Studio Pro 1.0 ?
    Michael
    Quicksilver G4 Dual 1GHz   Mac OS X (10.4.5)   http://www.rowan-cottage.co.uk

    Hi,
    This is the F1 documentation for calling a FM in Update task
    Flags the function module func for execution in the update task. It is not executed at once, but the data passed with EXPORTING or TABLES is placed in a database table and a subsequent COMMIT WORK then causes the function module to be executed by the update task.
    This is the F1 documentation for calling a FM in background task
    Flags the function module func to be run asynchronously. That is, it is not executed at once. Instead, the data passed using EXPORTING or TABLES is placed in a database table and the next COMMIT WORK executes it in another work process.
    Hope this helps
    Regards,
    San

  • Background processing in Flex

    I have two questions here. But, I guess they both are related
    1. I have a calendar application, where I display set of
    events based on time for a day. I need to start a background
    process to check if any of the events are scheduled for the next
    half an hour and show the reminder to the user.
    Like I mentioned, I believe that there should be a background
    thread running to check the current day event's time against the
    local time and display reminder.
    2. Next question is, I have a search component, where the
    user enters the text and clicks on the search to fetch the results
    based on the text entered.
    I need a little customizable behavior here, where I need to
    fetch the results based on the user input automatically(without
    clicking the search button) based on the time lag after the last
    character entered.
    Any help/views in this regard is highly appreciated.
    Thanks In Advance,
    Suresh.

    Hi,
    The issue is bcz. in background screen container is not recognized.
    Change the code as follows:
    SET PF-STATUS 'SCREEN_100'.
    SET TITLEBAR 'xxx'.
    <b>*if program is run in background
      CALL METHOD cl_gui_alv_grid=>offline
        RECEIVING
          e_offline = off.
      IF off IS INITIAL.
        IF container1 IS INITIAL.
          CREATE OBJECT container1
                EXPORTING
                 container_name    = 'CC_ALV1' .
        ENDIF.
      ENDIF.
      CREATE OBJECT g_grid1
              EXPORTING
                i_parent          = container1.</b>
      PERFORM prepare_field_catalog.
      PERFORM exclude_button.
      PERFORM display_alv.
    Best regards,
    Prashant

Maybe you are looking for

  • Rest iPod touch is not recognized by itunes

    I was given a used ipod touch and i deleted everything off of it from the ipod. It then asks me to plug into itunes, which I have. Itunes does not pick up the device so I can upload all my stuff. What do I do?

  • Me2n & me2m & me2l reports in service po

    Dear gurus, I am not getting the proper out put in me2n, me2m & me2l reports of service po. For materials PO I am getting the proper reports, but while executting the above T-code for service PO, it is not showimg me the proper output report. In serv

  • Thinkpad W530 video to HDMI TV

    I use a thinkpad w530 and would like to watch videos on TV.  I do not have a docking station and I am looking to the type of cable that I need to order to connect my small DVI port to HDMI connection on TV.  Found tons but they all relate to MAC's, 

  • I have a new ipod classic, iwant to give my ipod nano to partner.

    I would like to take my nano and give to my partner. Do I need to rename it sothey can create there own list of music. Can two be put on the same computer?

  • Back up and HD erase question.

    Hey all, appreciate some help here. Recently my iMac has been running a bit slow and dodgy at times, so I would like to erase the HD and reinstall OSX 10.4 to get rid of some "build up". Here are my questions regarding this: 1) Other than the obvious