Foreground Execution Vs. Background Execution

Hi all,
I've a program, when executed in the foreground, it's taking few seconds for the output to be displayed. But, when i execute in the background, it's taking longer time.
My question is what might be the reason for such difference in execution times?
Regards,
Pavan

Hi pavan,
1. JOB Class
2. By default the Job class =  C
3. So, put this as A
<b>A - High priority</b>
B-  Middle priority
C - Low priority
regards,
amit m.

Similar Messages

  • Selective replace foreground-color with background-color

    Hi,
    I'm new to Photoshop and coming from paint shop pro (psp).
    Now I have to recolor a black dotted arrow in a bitmap to red.
    All other contents are black, too. In psp there is a tool/brush to
    replace foreground-color with background-color. So I'd select
    black as foreground-color and red as background-color, hover
    with cursor over the area to recolor and that's it.
    How to do it with Photoshop?
    Thanks in advance
    Jörg

    softmonauts wrote:
    Now I have to recolor a black dotted arrow in a bitmap to red.
    All other contents are black, too.
    Can you clarify this?  It sounds like you have a black arrow on a black background.

  • BDC processing for background and foreground execution

    Hi,
    I've come accross a situation where in a BDC for sales order creation, creates one sales order and at the same time creates another sales order with a blank sales order number(but the data of both the sales order is identical), meaning it creates 2 sales orders. This only occurs when the BDC is processed in mode 'N' but it works fine when the BDC runs in mode 'A' and 'E'. Any idea as to why this could be happening?
    Any help will be appreciated.
    Thanks,
    ALAM.

    Hi Alam,
    No, sorry, I don't know why this is happening.
    What update-mode are you using? Asynchronous or Synchronous?
    Test both options, maybe it helps.
    Why are you not using BAPI_SALESORDER_CREATEFROMDAT2?
    Regards, Miranda

  • Main Thread is Foreground thread or Background thread ?

    The .NET Framework defines two types of threads: foreground and background.
    By default when we create a thread, it is a foreground thread, but we can change it to a background
    All processes have at least one thread of execution, which is usually called the main thread because it is the one that is executed when your program begins.
    Is this main thread is back ground or foreground thread.
    Regards
    krrishbiju

    The difference between a foreground thread/process is the priority and the parent/child ordering.  A main process/thread is the parent with higher priority while the background process/thread is the child with lower priority.  There is very little
    different between a process and a thread.  A class object is also a process.
    Processes run until a blocking method stops the execution (waits for an event before continuing) or when the operating system periodically performs a task switch to allow all processes a chance to run.  Processes with higher priority are allowed to
    run more often than processes with lower priority.
    jdweng

  • STO and delivery is getting created in the foreground instead of background

    Hi experts,
    In return document (with reference to Work Order), When user is selecting recommended action u2018YAu2019 and clicking the u2018returnu2019 button, an STO and delivery is getting created in the foreground instead of generating them in background.
    T-code - o3o_RT02
    Test case
    Create Work Order (IW31)
    Create return document w.r.t Work Order (o3o_RT01)
    Select recommended action u2018YAu2019, save and select u2018returnu2019 button.

    Hi,
    Could you checkthe foll cust link in SPRO:
    Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders).
    PO is created if you set the "*" for EITHER the purchasing group OR the product category.
    SRM is creating PR or PO depending on:
    - SRM customizing (ex: always external proc + PR if incomplete, PO if complete)
    - the interpretation of SC data by R/3.
    IF your SC is considered complete by SRM (but with a fixed vendor and not a preferred vendor) the system will check if it can create a PO in R/3.
    For this, each item will request a META_INTERPRETE_DATA to R/3, asking if it can create a PO. If R/3 considers this data as incomplete, it will reply to create a PR.
    Usual cases of R/3 PR creation instead of PO:
    - prefered vendor in SRM (and not a fixed one)
    - custom checks in user exits in R/3
    - error messages in R/3 (ex: O6 334 In the case of a fixed vendor, please enter info record)
    To debug without debuging into R/3, you can also try the following:
    - use BADI DETERMINE_TARGET_OBJECT and force PO creation
    - so the system will always try to create a PO
    - R/3 won't create the PO (for the same reason as in META_INTERPRETE_DATA), and will raise an error in SRM
    - finally you get the real error in application monitor (SC --> backend application errors
    Related thread:
    Re: PO not create from SC with source of supply in classic sena
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • Make Eyedropper Set Foreground Color not Background

    How do you make color selections/sampling like with the Eyedropper set the Foreground color?
    It was always that way before CS3 unless I accidentally changed a pref unknowingly.
    Now when I select/sample color it sets the background color.
    I looked, but couldn't find a pref setting for this.
    Thanks

    I think Kath meant to point you toward this entry in the FAQ section:
    http://forums.adobe.com/thread/421402?tstart=0

  • Foreground(Download file)- Background (BAPI)- Foreground(results) howto

    I have a program that currently:
    1) Downloads an industry specific file
    2) Converts the file into BAPI_SALESORDER_CHANGE call
    3) Displays the result in an ALV Grid.
    The problem is that the BAPI_SALESORDER_CHANGE can exceed the dialog workprocess timeout value for any decent sized order.  
    We want to:
    1) Download the file in the dialog wp.
    2) Process the bapi call in the background
    3) Awake the dialog process and display the results
    1&2 -- np
    3 - Problem ->   Using CL_GUI_TIMER.   Appears to work for a certain number of refreshes but the event randomly stops invoking at some point in the future.  
    This is some test code I was playing with:   It stops on my system somewhere between 40 and 150 iterations.
    *& Report  YNRK8_TIMER_TEST
    REPORT  ynrk8_timer_test.
    parameters: pa_refrs type i default 1.
    DATA: rf_gui_timer TYPE REF TO CL_GUI_TIMER.
    *       CLASS lcl_event_handler DEFINITION
    CLASS lcl_event_handler DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS: on_finished FOR EVENT finished OF cl_gui_timer IMPORTING sender.
    ENDCLASS. "lcl_event_handler DEFINITION
    *       CLASS lcl_event_handler IMPLEMENTATION
    CLASS lcl_event_handler IMPLEMENTATION.
      METHOD on_finished.
        STATICS: ltp_refreshed TYPE i.
        DATA:   l_remain TYPE i.
        ADD 1 TO ltp_refreshed.
        l_remain = ltp_refreshed MOD 5.
        IF l_remain = 0.
          WRITE: 'Refresh number:', ltp_refreshed.
        ENDIF.
        sender->run( ).
      ENDMETHOD.
    ENDCLASS.
    start-of-selection.
    create object rf_gui_timer.
    set handler lcl_event_handler=>on_finished for rf_gui_timer.
    rf_gui_timer->interval = pa_refrs. rf_gui_timer->run( ).
    write 'Wait for a while:'.
    So I'm either looking for a solution that allows CL_GUI_TIMER to work indefinately OR a better way.   My basis team does not want to dump the dialog work process timeout value at all.

    Are you using gui_download in foreground and open dataset in background? U'll get different file size because, by default, gui_download adds CRLF at the end of each line, and open dataset adds only LF. so the foreground file size should be little bigger than the other.
    Regards
    Sridhar

  • LSMW : foreground =  Ok but background = error, why ?

    Hi,
    I recorded an CO transaction (KB21N) in LSMW. The conversion runs fine if my Batch Input mode is set to foreground or errors only. But when I run it in Background mode, it always errors out on the first record. Any idea why this is so?
    Can you help me ?
    Carine.

    Though the initial problem seems to be solved, the necessary knowledge still seems to be missing:
    Perhaps the problem is in the configuration of the error message (check  "message control" in the IMG/SPRO).
    Many messages are configured to "Error" in background mode while in foreground mode they display only a "warning".
    This usually is the case with fields for data you have in your specific data record but which are not needed in that special case.
    E.g.
    For posting by FB01 on an account number which does not exist as a cost element you would not need a costcenter/order. If your data record contains a Costcenter/order, it is of no use, because the FB01 does not open the window where you would enter the costcenter/order. In foreground mode, this will diesplay a warning only, while in background mode, it will be an error.
    In such cases, you have three choices:
    0. change the customizing of the error message
    1. remove the superfluous information from your data records
    2. process the BTC-session in background mode at first, then let it run a second time unattendedly with "display errors only" and - if necessary at all - eventually process it in foreground mode.

  • Bdc running in foreground not in background.

    My BDC is working in foreground  mode but not running in background mode.What can be the possible reasons..

    hi renu,
    Do check for ur flat file from which u r picking the data to be in application server.
    Because in background processing the data cannot be picked from presentation server.
    Also if u r using Gui_upload FM, that would give an error.
    Use open dataset, read dataset statements to read from application server.
    <b>Hope this is helpful, Do reward.</b>

  • RM07DOCS Layout for background execution

    Hi,
    I'm executing  RM07DOCS, in foreground execution, the layout can either be graphical(detailed) or List(overview list of mat docs). In background execution, the only display available is the graphical(detailed list of Matdocs).
    Is there a way to setup the program to output in list (overview list of mat docs) view in background execution?
    please advise if this can be done and how can it be done.
    thanks,
    NC

    Dear expert
         this link might be help you
    http://www.****************/Tutorials/ALV/ALVLayout/Variant.htm
    http://help.sap.com/saphelp_470/helpdata/en/6b/2f13439c9f11d194da00a0c930328a/content.htm
    Regards
      Ajeesh.s

  • Need help to analysis "foreground and background wait events" on statspack report for oracle database 11.2.0.4 on AIX

    Hi: I'm analyzing this STATSPACK report: it is "volume test" on our UAT server, so most input is from 'bind variables'.  Our shared pool is well utilized in oracle.  Oracle redo logs is not appropriately configured on this server, as in 'Top 5 wait events' there are 2 for redos.
    I need to know what else information can be dig-out from 'foreground wait events' & 'background wait events', and what can assist us to better understanding, in combination of 'Top 5 wait event's, that how the server/test went?  it could be overwelming No. of wait events, so appreciate any helpful diagnostic or analysis.  Database is oracle 11.2.0.4 upgraded from 11.2.0.3, on IBM AIX power system 64bit, level 6.x
    STATSPACK report for
    Database    DB Id    Instance     Inst Num  Startup Time   Release     RAC
    ~~~~~~~~ ----------- ------------ -------- --------------- ----------- ---
    700000XXX   XXX              1 22-Apr-15 12:12 11.2.0.4.0  NO
    Host Name             Platform                CPUs Cores Sockets   Memory (G)
    ~~~~ ---------------- ---------------------- ----- ----- ------- ------------
         dXXXX_XXX    AIX-Based Systems (64-     2     1       0         16.0
    Snapshot       Snap Id     Snap Time      Sessions Curs/Sess Comment
    ~~~~~~~~    ---------- ------------------ -------- --------- ------------------
    Begin Snap:       5635 22-Apr-15 13:00:02      114       4.6
      End Snap:       5636 22-Apr-15 14:00:01      128       8.8
       Elapsed:      59.98 (mins) Av Act Sess:       0.6
       DB time:      35.98 (mins)      DB CPU:      19.43 (mins)
    Cache Sizes            Begin        End
    ~~~~~~~~~~~       ---------- ----------
        Buffer Cache:     2,064M              Std Block Size:         8K
         Shared Pool:     3,072M                  Log Buffer:    13,632K
    Load Profile              Per Second    Per Transaction    Per Exec    Per Call
    ~~~~~~~~~~~~      ------------------  ----------------- ----------- -----------
          DB time(s):                0.6                0.0        0.00        0.00
           DB CPU(s):                0.3                0.0        0.00        0.00
           Redo size:          458,720.6            8,755.7
       Logical reads:           12,874.2              245.7
       Block changes:            1,356.4               25.9
      Physical reads:                6.6                0.1
    Physical writes:               61.8                1.2
          User calls:            2,033.7               38.8
              Parses:              286.5                5.5
         Hard parses:                0.5                0.0
    W/A MB processed:                1.7                0.0
              Logons:                1.2                0.0
            Executes:              801.1               15.3
           Rollbacks:                6.1                0.1
        Transactions:               52.4
    Instance Efficiency Indicators
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:  100.00       Redo NoWait %:  100.00
                Buffer  Hit   %:   99.98  Optimal W/A Exec %:  100.00
                Library Hit   %:   99.77        Soft Parse %:   99.82
             Execute to Parse %:   64.24         Latch Hit %:   99.98
    Parse CPU to Parse Elapsd %:   53.15     % Non-Parse CPU:   98.03
    Shared Pool Statistics        Begin   End
                 Memory Usage %:   10.50   12.79
        % SQL with executions>1:   69.98   78.37
      % Memory for SQL w/exec>1:   70.22   81.96
    Top 5 Timed Events                                                    Avg %Total
    ~~~~~~~~~~~~~~~~~~                                                   wait   Call
    Event                                            Waits    Time (s)   (ms)   Time
    CPU time                                                       847          50.2
    enq: TX - row lock contention                    4,480         434     97   25.8
    log file sync                                  284,169         185      1   11.0
    log file parallel write                        299,537         164      1    9.7
    log file sequential read                           698          16     24    1.0
    Host CPU  (CPUs: 2  Cores: 1  Sockets: 0)
    ~~~~~~~~              Load Average
                          Begin     End      User  System    Idle     WIO     WCPU
                           1.16    1.84     19.28   14.51   66.21    1.20   82.01
    Instance CPU
    ~~~~~~~~~~~~                                       % Time (seconds)
                         Host: Total time (s):                  7,193.8
                      Host: Busy CPU time (s):                  2,430.7
                       % of time Host is Busy:      33.8
                 Instance: Total CPU time (s):                  1,203.1
              % of Busy CPU used for Instance:      49.5
            Instance: Total Database time (s):                  2,426.4
      %DB time waiting for CPU (Resource Mgr):       0.0
    Memory Statistics                       Begin          End
    ~~~~~~~~~~~~~~~~~                ------------ ------------
                      Host Mem (MB):     16,384.0     16,384.0
                       SGA use (MB):      7,136.0      7,136.0
                       PGA use (MB):        282.5        361.4
        % Host Mem used for SGA+PGA:         45.3         45.8
    Foreground Wait Events  DB/Inst: XXXXXs  Snaps: 5635-5636
    -> Only events with Total Wait Time (s) >= .001 are shown
    -> ordered by Total Wait Time desc, Waits desc (idle events last)
                                                                 Avg          %Total
                                              %Tim Total Wait   wait    Waits   Call
    Event                               Waits  out   Time (s)   (ms)     /txn   Time
    enq: TX - row lock contentio        4,480    0        434     97      0.0   25.8
    log file sync                     284,167    0        185      1      1.5   11.0
    Disk file operations I/O            8,741    0          4      0      0.0     .2
    direct path write                  13,247    0          3      0      0.1     .2
    db file sequential read             6,058    0          1      0      0.0     .1
    buffer busy waits                   1,800    0          1      1      0.0     .1
    SQL*Net more data to client        29,161    0          1      0      0.2     .1
    direct path read                    7,696    0          1      0      0.0     .0
    db file scattered read                316    0          1      2      0.0     .0
    latch: shared pool                    144    0          0      2      0.0     .0
    CSS initialization                     30    0          0      3      0.0     .0
    cursor: pin S                          10    0          0      9      0.0     .0
    row cache lock                         41    0          0      2      0.0     .0
    latch: row cache objects               19    0          0      3      0.0     .0
    log file switch (private str            8    0          0      7      0.0     .0
    library cache: mutex X                 28    0          0      2      0.0     .0
    latch: cache buffers chains            54    0          0      1      0.0     .0
    latch free                            290    0          0      0      0.0     .0
    control file sequential read        1,568    0          0      0      0.0     .0
    log file switch (checkpoint             4    0          0      6      0.0     .0
    direct path sync                        8    0          0      3      0.0     .0
    latch: redo allocation                 60    0          0      0      0.0     .0
    SQL*Net break/reset to clien           34    0          0      1      0.0     .0
    latch: enqueue hash chains             45    0          0      0      0.0     .0
    latch: cache buffers lru cha            7    0          0      2      0.0     .0
    latch: session allocation               5    0          0      1      0.0     .0
    latch: object queue header o            6    0          0      1      0.0     .0
    ASM file metadata operation            30    0          0      0      0.0     .0
    latch: In memory undo latch            15    0          0      0      0.0     .0
    latch: undo global data                 8    0          0      0      0.0     .0
    SQL*Net message from client     6,362,536    0    278,225     44     33.7
    jobq slave wait                     7,270  100      3,635    500      0.0
    SQL*Net more data from clien        7,976    0         15      2      0.0
    SQL*Net message to client       6,362,544    0          8      0     33.7
    Background Wait Events  DB/Inst: XXXXXs  Snaps: 5635-5636
    -> Only events with Total Wait Time (s) >= .001 are shown
    -> ordered by Total Wait Time desc, Waits desc (idle events last)
                                                                 Avg          %Total
                                              %Tim Total Wait   wait    Waits   Call
    Event                               Waits  out   Time (s)   (ms)     /txn   Time
    log file parallel write           299,537    0        164      1      1.6    9.7
    log file sequential read              698    0         16     24      0.0    1.0
    db file parallel write              9,556    0         13      1      0.1     .8
    os thread startup                     146    0         10     70      0.0     .6
    control file parallel write         2,037    0          2      1      0.0     .1
    Log archive I/O                        35    0          1     30      0.0     .1
    LGWR wait for redo copy             2,447    0          0      0      0.0     .0
    db file async I/O submit            9,556    0          0      0      0.1     .0
    db file sequential read               145    0          0      2      0.0     .0
    Disk file operations I/O              349    0          0      0      0.0     .0
    db file scattered read                 30    0          0      4      0.0     .0
    control file sequential read        5,837    0          0      0      0.0     .0
    ADR block file read                    19    0          0      4      0.0     .0
    ADR block file write                    5    0          0     15      0.0     .0
    direct path write                      14    0          0      2      0.0     .0
    direct path read                        3    0          0      7      0.0     .0
    latch: shared pool                      3    0          0      6      0.0     .0
    log file single write                  56    0          0      0      0.0     .0
    latch: redo allocation                 53    0          0      0      0.0     .0
    latch: active service list              1    0          0      3      0.0     .0
    latch free                             11    0          0      0      0.0     .0
    rdbms ipc message                 314,523    5     57,189    182      1.7
    Space Manager: slave idle wa        4,086   88     18,996   4649      0.0
    DIAG idle wait                      7,185  100      7,186   1000      0.0
    Streams AQ: waiting for time            2   50      4,909 ######      0.0
    Streams AQ: qmn slave idle w          129    0      3,612  28002      0.0
    Streams AQ: qmn coordinator           258   50      3,612  14001      0.0
    smon timer                             43    2      3,605  83839      0.0
    pmon timer                          1,199   99      3,596   2999      0.0
    SQL*Net message from client        17,019    0         31      2      0.1
    SQL*Net message to client          12,762    0          0      0      0.1
    class slave wait                       28    0          0      0      0.0
    thank you very much!

    Hi: just know it now: it is a large amount of 'concurrent transaction' designed in this "Volume Test" - to simulate large incoming transaction volme, so I guess wait in eq:TX - row is expected.
    The fact: (1) redo logs at uat server is known to not well-tune for configurations (2) volume test slow 5%, however data amount in its test is kept the same by each time import  production data, by the team. So why it slowed 5% this year?
    The wait histogram is pasted below, any one interest to take a look?  any ideas?
    Wait Event Histogram  DB/Inst: XXXX/XXXX  Snaps: 5635-5636
    -> Total Waits - units: K is 1000, M is 1000000, G is 1000000000
    -> % of Waits - column heading: <=1s is truly <1024ms, >1s is truly >=1024ms
    -> % of Waits - value: .0 indicates value was <.05%, null is truly 0
    -> Ordered by Event (idle events last)
                               Total ----------------- % of Waits ------------------
    Event                      Waits  <1ms  <2ms  <4ms  <8ms <16ms <32ms  <=1s   >1s
    ADR block file read          19   26.3   5.3  10.5  57.9
    ADR block file write          5                     40.0        60.0
    ADR file lock                 6  100.0
    ARCH wait for archivelog l   14  100.0
    ASM file metadata operatio   30  100.0
    CSS initialization           30              100.0
    Disk file operations I/O   9090   97.2   1.4    .6    .4    .2    .1    .1
    LGWR wait for redo copy    2447   98.5    .5    .4    .2    .2    .2    .1
    Log archive I/O              35   40.0         8.6  25.7   2.9        22.9
    SQL*Net break/reset to cli   34   85.3   8.8         5.9
    SQL*Net more data to clien   29K  99.9    .0    .0    .0          .0    .0
    buffer busy waits          1800   96.8    .7    .7    .6    .3    .4    .5
    control file parallel writ 2037   90.7   5.0   2.1    .8   1.0    .3    .1
    control file sequential re 7405  100.0                      .0
    cursor: pin S                10   10.0                    90.0
    db file async I/O submit   9556   99.9    .0                .0          .0
    db file parallel read         1  100.0
    db file parallel write     9556   62.0  32.4   1.7    .8   1.5   1.3    .1
    db file scattered read      345   72.8   3.8   2.3  11.6   9.0    .6
    db file sequential read    6199   97.2    .2    .3   1.6    .7    .0    .0
    direct path read           7699   99.1    .4    .2    .1    .1    .0
    direct path sync              8   25.0  37.5  12.5  25.0
    direct path write            13K  97.8    .9    .5    .4    .3    .1    .0
    enq: TX - row lock content 4480     .4    .7   1.3   3.0   6.8  12.3  75.4    .1
    latch free                  301   98.3    .3    .7    .7
    latch: In memory undo latc   15   93.3   6.7
    latch: active service list    1              100.0
    latch: cache buffers chain   55   94.5                     3.6   1.8
    latch: cache buffers lru c    9   88.9                    11.1
    latch: call allocation        6  100.0
    latch: checkpoint queue la    3  100.0
    latch: enqueue hash chains   45   97.8                     2.2
    latch: messages               4  100.0
    latch: object queue header    7   85.7        14.3
    latch: redo allocation      113   97.3               1.8    .9
    latch: row cache objects     19   89.5                           5.3   5.3
    latch: session allocation     5   80.0              20.0
    latch: shared pool          147   90.5   1.4   2.7   1.4    .7   1.4   2.0
    latch: undo global data       8  100.0
    library cache: mutex X       28   89.3         3.6         3.6         3.6
    log file parallel write     299K  95.6   2.6   1.0    .4    .3    .2    .0
    log file sequential read    698   29.5    .1               4.6  46.8  18.9
    log file single write        56  100.0
    log file switch (checkpoin    4               25.0  50.0  25.0
    log file switch (private s    8         12.5        37.5  50.0
    log file sync               284K  93.3   3.7   1.4    .7    .5    .3    .1
    os thread startup           146                                      100.0
    row cache lock               41   85.4   9.8               2.4         2.4
    DIAG idle wait             7184                                      100.0
    SQL*Net message from clien 6379K  86.6   5.1   2.9   1.3    .7    .3   2.8    .3
    SQL*Net message to client  6375K 100.0    .0    .0    .0    .0    .0    .0
    Wait Event Histogram  DB/Inst: XXXX/xxxx  Snaps: 5635-5636
    -> Total Waits - units: K is 1000, M is 1000000, G is 1000000000
    -> % of Waits - column heading: <=1s is truly <1024ms, >1s is truly >=1024ms
    -> % of Waits - value: .0 indicates value was <.05%, null is truly 0
    -> Ordered by Event (idle events last)
                               Total ----------------- % of Waits ------------------
    Event                      Waits  <1ms  <2ms  <4ms  <8ms <16ms <32ms  <=1s   >1s
    SQL*Net more data from cli 7976   99.7    .1    .1    .0                      .1
    Space Manager: slave idle  4086     .1    .2    .0    .0    .3         3.2  96.1
    Streams AQ: qmn coordinato  258   49.2                .8                    50.0
    Streams AQ: qmn slave idle  129                                            100.0
    Streams AQ: waiting for ti    2   50.0                                      50.0
    class slave wait             28   92.9   3.6   3.6
    jobq slave wait            7270     .0                               100.0
    pmon timer                 1199                                            100.0
    rdbms ipc message           314K  10.3   7.3  39.7  15.4  10.6   5.3   8.2   3.3
    smon timer                   43                                            100.0

  • Avoid page break in back ground execution of report

    Hi Friends,
    Normally when we execute any report in back ground it will have page break. eg: FL3N
    But we dont see this in foreground execution of a report.
    may i know how to avoid this page break when we execute in background.
    Thanks in advance
    NNS

    Hi Badari,
    when you set the Background Job via <b>SM36</b>, you can mention the Variant. and set the time , so that the report will run for every 5 minutes with the mentioned variant. Check it.
    Regards
    Vijay

  • Differentiate foreground and background processing

    Hi All,
    I want to execute a certain report in background. If the user tries to execute the program in foreground, the system should prompt him not to run it in foreground. In the same way, the message should not come if the program is run in backgroud.
    That is, the system should differentiate whether the program is run in foreground or in background. How to differentiate them?
    If i could differentiate, i could code a message to display when the user runs the program in foreground.
    Please help me.

    if sy-batch = 'X'  '' then it is runing in background other wise it is running in foreground
    <enter ur code here, to display when running in background>
    else
    <enter ur code here, to display when running in foreground>
    endif.
    Madhavi

  • Running sales orders in background

    Hello All,
    The requirement is the user has to run some sales orders in the background while somevalues are not reflecting in the execution of the 'list of open order report'. The error message isunable to run the orders in the foreground,run in background*. Now what should I/user do to execute retrieve and see the missing values?
    Regards,
    Raj.

    Hi,
    Please check with the sales orders for Incompletion (Pricing, Fields in incompletion log etc).
    The sales orders should be complete for further processing.
    Please check and confirm.
    Regards,
    Harsh
    Edited by: Harsh Mathur on Mar 5, 2008 5:26 PM

  • Gui_download Function module is not working in Background Scheduling

    Hi Experts,
    Function modules like GUI_DOWNLOAD are not working in background scheduled jobs, It is raising an exception. Though it is working fine in foreground execution.
    Please provide me solution for this challenging task.
    you could be rated well for this question.
    Thanks,
    Rama Krishna.

    Hello,
    work with open dataset and close dataset...
    just loop over itab and transfer itab field for field into a string field separated by ;
    Here is an extract of coding:
    OPEN DATASET p_dath FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      LOOP AT itab_pos.
        CLEAR satz.
        MOVE itab_pos-vbeln TO satz-vbeln.
        MOVE ';' TO satz-fill1.
        MOVE itab_pos-kunnr TO satz-kunnr.
        MOVE ';' TO satz-fill2.
        MOVE itab_pos-ktgrd TO satz-ktgrd.
        MOVE ';' TO satz-fill3.
        MOVE itab_pos-fkdat TO satz-fkdat.
        MOVE ';' TO satz-fill4.
        MOVE itab_pos-budat TO satz-budat.
        MOVE ';' TO satz-fill5.
        MOVE itab_pos-cpudt TO satz-cpudt.
        MOVE ';' TO satz-fill6.
        MOVE itab_pos-fkimg TO satz-fkimg.
        MOVE ';' TO satz-fill7.
        MOVE itab_pos-netwr TO satz-netwr.
        MOVE ';' TO satz-fill8.
        MOVE itab_pos-vrkme TO satz-vrkme.
        MOVE ';' TO satz-fill9.
        MOVE itab_pos-ktgrm TO satz-ktgrm.
        MOVE ';' TO satz-fill10.
        MOVE itab_pos-matnr TO satz-matnr.
        MOVE ';' TO satz-fill11.
        MOVE itab_pos-mattxt TO satz-mattxt.
        MOVE ';' TO satz-fill12.
        MOVE itab_pos-gewei TO satz-gewei.
        MOVE ';' TO satz-fill13.
        MOVE itab_pos-brgew TO satz-brgew.
        TRANSFER satz TO p_dath.
      ENDLOOP.
      CLOSE DATASET p_dath.
    It is not so comfortable as it is with GUI_DOWNLOAD but it works in background!

Maybe you are looking for

  • Disk image Restore returns "Could not validate source - error 254"

    I had backed up an older G4 with a disk image of the boot disk. I was having severe problems so I reformatted the boot drive and started a restore (using disk utility from startup disk). The restore started fine and ran a while but then "stalled." Th

  • My iTunes keeps freezing/not responding when I open the program?

    I am trying to restore my mum's iPod nano after it just died and won't work- but everytime I open iTunes it crashes! It works for about 1 minute of use before it stops responding and I have to end task, but then when I try and re-open the program it

  • Broken Multitouch in 10.7.2?

    I keep Mail at fullscreen in its own space. In previous versions of Lion, I could drag a file into an email in two ways: by click+dragging the icon with my mouse and 3-finger-swiping the trackpad to switch spaces by click+dragging the icon with my th

  • Horizontal gray lines &  Frequent TC breaks in Import

    I'm importing my mini-DV tapes in lo res via 'Capture now' and have a couple problems: 1) I read on other forums that the horizonal gray lines appearing in the image are due to dirty DV deck tape heads. I have cleaned the heads before and this only s

  • How to find the Different entries of the characters.

    HI Gurus, i have two characters in the Cube, for these two characters text is same for some records and different for some records. My requirement i need to find out the records whose text values are different for these two characters. I need to find