Migo_gr dump in background

hi all,
        we are running the call transaction for tcode migo_gr in foreground which is working fine,when we try the same doing by background scheduling  we are leaving at dump side.pleas can anyone help on this.why it is behaving like this..
thanks alot .

Please see note 304122. This transaction is not suitable for batch input in the background. You can either convert to a BAPI or use the old transaction in batch input.
Rob

Similar Messages

  • FM ARCHIVE_SCHEDULE_JOB giving dump as background job?

    Hello Everyone,
                       I am scheduling a report in SM37 which consists of FM ARCHIVE_SCHEDULE_JOB.
                       And based on the output of FM, some Ztables are updated and some jobs are created in sm37.
    Now, when i debugged the background job, i found out that Fm is giving Dump 'NO_RUNTIME_INFO' since sy-batch is not initial.
    Due to which Ztables are not updated but the jobs are created....
    Can anyone please help me what should i do on this case?
    Edited by: Suruchi Razdan on Jun 2, 2011 9:45 AM

    Hi Akshay,
    II have copied the Std workflow WS20000075 into a custom one and in the latest end tab, i have selected "Workitem creaton" for Refer Date/Time field and given 5 mins. I have deactivated the workflow in which i have created the containers for date and time and used "Expresion" for latest end and also commented the zmethod in delegated object. Even now also the job is getting cancelled with the same error.
    Any idea why is it happening ?
    regards,
    Trimurty

  • Dump in Background Scheduling

    Hi all,
              I am using FM 'FILE_GET_NAME' to retrieve path from application server and then i read and write on that file.
    Further my problem is this when i execute program in forground it is running fine but when i am scheduling it to background so it give dump with DATASET_NOT_OPEN.I have checked all varriant for foreground and background but still i face same problem.
    Please help me in this regards
    Thanks
    Gagan

    Hey, Gagan.
    You canot activate FILE_GET_NAME in background mode, it requires user's interrupt.
    Activate it according to sy-batch (eq X at background mode), meaning that if sy-batch is empty activate it and if it equals X initilize the file path with a default file without any user's interuction.
    Best Regards,
    Rebeka

  • How to catch dump in background spool

    Hi Experts,
      I am a fresher and in background I want to execute a program, which is creating dump in production server and which I am not able to see the screenshots. The dump occurs, as I raise error message in start of selection. Can I see the dump output in spool or anything in testing server, forwhich I am authorised in my company. Could you say how to catch the dump. Should I eliminate the error messages or could I catch the error message also. Please help for this.
    Thanks and regards,
    Venkat, IBM.

    Hi Venkat,
    You will have to get the necessary authzn to production server for ST22 transaction.
    There is no way to access the dump of production server from Unit testing client.
    Other alternative could be to simulate the same program in background in Unit testing server & check whether it dumps.
    Schedule a job in SM36 for the same program in Quality/Unit testing client & check the output.
    Best regards,
    Prashant

  • Dump while background processing

    Hi
      When I run my program in forground I am able to download the file on PC.But when I run the program in background its generating the spool but its not creating the file on my PC for the path I have giving and also its not showing any output in the spool that its creating.When I remove the download file option and execute the program in background it works fine.
    Please advise.
    Thanks and Regards
    Davinder Singh

    You cannot download to your desktop in background. When you execute in the background, the execution actually happens on the server end and your server will not know your desktop location at that time. That is why it dumps. If your local directory structure is mounted on the application server, only in such cases, it treats the desktop locations similar to application server location. But even in those cases, you cannot use WS_DOWNLOAD or GUI_DOWNLOAD etc. You have to create a file on the application server using OPEN DATASET, TRANSFER, and CLOSE DATASET commands.

  • Time_out dump in BackGround job

    Hi experts,
    I am facing an issue while scheduling a Background Job.The entire scenario is as follows.
    A RFC function module has been called  in the Report Program.The code inside the RFC function module is fetching a data from the database table(Select Query has been written).But in Production server system is giving the Time_out DUMP at this select Query which is written inside RFC function module.
    Table is having large number of records.For this Code optimization has been done already.
    Moreover entire report has been scheduled in Background.But I came to know RFC will work in Foreground only even though entire report program is scheduled in Background.
    Can anyone suggest how to solve this problem?
    For your information time limit has been maintained for Foreground job.

    Hi, Akhil, the rfc call is of course not run in foreground, but in dialog work process. Thats the same work process type, that performs requests of dialog users. Even though it does not sound much logically in first look, it has a logic. Also other limits for dialog users will apply.
    If you have to run the FM through RFC, there is no way how to bypass the dialog work process runtime limit on destination system, it will just apply, in my opinion I would recommend you don't loose your time to work around this point. afaik it does not matter if you start it synchronously or asynchronously.
    But as I wrote, you can try to throw a commit work in destination system occasionally, if you can (e.g. if you are not blocked in one big select query), you can also increase the runtime limit (but for all users on the same instance). You can redesign your application...
    If you will study the dump, you will find that it occurred on the destination (accounting) system, not in the calling system - where you are really ok since you run in background work process.
    Also, during the active RFC call you can monitor the destination system with SM66, where you will see this running process in DIA work process with the time increasing, before it will fail.
    On the other hand if you will start SM66 on caller system, you will see the work process is BTC

  • HR_INFOTYPE_OPERATION for 0712 is giving DUMP in background Task

    Hi,
    I am using HR_INFOTYPE_OPERATION for 0712 to INS a record in background. I got below runtime error in background execution.
    "Exception condition "CNTL_ERROR" raised" for user WF-BATCH.
    Do we have any BADI's or OSS notes to apply to resolve this issue?
    Regards,
    Ram.

    This is a commen error when in a background process, a program try to show a popup or something similar.
    Maybe you should check if IT 0712 has some custom popup or similar.
    Bye.

  • FM BDS_BUSINESSDOCUMENT_CREATEF  gives dump in background

    This works fine when run in SAP GUI.
    But when scheduled in a job it dumps with kpro_error.
    Pls help.

    Make sure you ar catching the exception in your program.
    Rob

  • Dump in Background Procesing

    When i run a report. It runs fine. but when i try to run it in backgroound, it throws this error."OBJECTS_NOT_CHARLIKE".
    At the statment
    "STRLEN( obj )..."
    , only character-type data objects are supported at the argument
    position "obj".
    In this particular case, the operand "obj" has the non-charcter-type type
    "I".
    kindly help me out

    Hi Saathi,
    I think u will get syntax error when u use type i variable in STRLEN function. Check whether ur object is active or not.
    Keep a break point at this statement and execute in foreground, I think control will not come to this place. There might be different flow in forground and back ground.
    If every thing is fine then move that type i variable into character or string variable and then try to use STRLEN with this char or string variable.
    Hope it will solve ur problem.
    Thanks,
    Vinod.

  • Dumps generting due to background job failing

    Hi Experts,
    The following backround job getting failed frequently caused dumps generation,
    Background running with the below program,
    Dump::
    Can you please some one help me on this issue.
    Rgds,
    Venkat

    Hi All,
    Thanks for your valuable suggestions.
    We are investigating the issue with PI team meanwhile job has disabled.
    Will update you once it resolved.
    Thanks & Regards,
    Venkat

  • Creating job

    Hi Experts,
    I am about to create a batch job. I used FM JOB_OPEN, JOB_SUBMIT and JOB_CLOSE. However, whenever I run the program it creates job for every 1 second. It will not stop creating jobs unless you completely exited in the program. The code is not inside the loop.

    mariposa,
       Suppose you have 100000 records which is going for dump in background also.
    Taht time decided to create a job for every 20000 records.
    select * from database table
      into itab
    packaze size 20000
    where x  =  s_x.
       your functionality here if required and moved to final internal table.
    Now  you have to pass this final internal table data to your submit program selection screen.
    CALL FUNCTION 'JOB_OPEN'
          EXPORTING
        DELANFREP              = ' '
        JOBGROUP               = ' '
            jobname                = csm_std_reconciliation_job
        SDLSTRTDT              = NO_DATE
        SDLSTRTTM              = NO_TIME
         IMPORTING
            jobcount               = jobcount
    EXCEPTIONS
       cant_create_job        = 1
       invalid_job_data       = 2
       jobname_missing        = 3
       OTHERS                 = 4
        IF sy-subrc <> 0.
    MESSAGE ID 'CSM' TYPE 'W' NUMBER '045' WITH csm_std_reconciliation_job.
          EXIT.
        ENDIF.
        CALL FUNCTION 'JOB_SUBMIT'
          EXPORTING
        ARCPARAMS                         =
            authcknam                         = sy-uname
        COMMANDNAME                       = ' '
        OPERATINGSYSTEM                   = ' '
        EXTPGM_NAME                       = ' '
        EXTPGM_PARAM                      = ' '
        EXTPGM_SET_TRACE_ON               = ' '
        EXTPGM_STDERR_IN_JOBLOG           = 'X'
        EXTPGM_STDOUT_IN_JOBLOG           = 'X'
        EXTPGM_SYSTEM                     = ' '
        EXTPGM_RFCDEST                    = ' '
        EXTPGM_WAIT_FOR_TERMINATION       = 'X'
            jobcount                          = jobcount
           jobname                           = csm_std_reconciliation_job
        LANGUAGE                          = SY-LANGU
        PRIPARAMS                         = ' '
            report                            = csm_std_reconciler
            variant                           = csmvari
      IMPORTING
        STEP_NUMBER                       =
         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.
    MESSAGE ID 'CSM' TYPE 'W' NUMBER '045' WITH csm_std_reconciliation_job.
          EXIT.
        ENDIF.
        strttime = sy-uzeit + timepad.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount                          = jobcount
            jobname   = csm_std_reconciliation_job
           sdlstrtdt                         = sy-datum
           sdlstrttm                         = strttime
    IMPORTING
      JOB_WAS_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.
          MESSAGE ID 'CSM' TYPE 'W' NUMBER '045'
             WITH csm_std_reconciliation_job.
          EXIT.
        ELSE.
          MESSAGE ID 'CSM' TYPE 'I' NUMBER '104' WITH
              csm_std_reconciliation_job.
        ENDIF.
    endselect.
    Now for every 20000 records it will create one batch job.
    Pls. reward if useful.

  • Database Configuraion Assistant doesn't run

    Please answer me to [email protected]
    I installed Oracle 9i Enterprise Edition Database on OpenUNIX 8 (SCO UnixWare 7.1.3 + Caldera OpenLinux 3.1.1 RPM). Net Assistant was completed automatically after the installation while the other tool (Database Configuration Assistant) didn't run correctly, so I had to complete the instalation without creating any database. Runing that tool after shows the same error messages as below :
    SIGSEGV 11* segmentation violation
    stackbase=0x450b8000, stackpointer=0x450b75b0
    and then te following as below
    Full thread dump:
    "KeywordDataSource Background Merge" (TID:0x411d80d0, sys_thread_t:0x4515ce0
    c, state:CW) prio=4
    java.lang.Object.wait(Object.java)
    oracle.ewt.timer.Timer._waitTilScheduled(Unknown Source)
    oracle.ewt.timer.Timer.run(Unknown Source)
    java.lang.Thread.run(Thread.java)
    "TaskScheduler timer" (TID:0x411c4138, sys_thread_t:0x4513be0c, state:CW) pr
    io=5
    java.lang.Object.wait(Object.java)
    oracle.ewt.timer.Timer._waitTilScheduled(Unknown Source)
    oracle.ewt.timer.Timer.run(Unknown Source)
    java.lang.Thread.run(Thread.java)
    "Thread-4" (TID:0x411b1478, sys_thread_t:0x4511ae0c, state:CW) prio=5
    oracle.sysman.assistants.util.SplashScreenWindow.run(SplashScreen.java)
    java.lang.Thread.run(Thread.java)
    "Screen Updater" (TID:0x411b15f0, sys_thread_t:0x450f9e0c, state:CW) prio=4
    java.lang.Object.wait(Object.java)
    sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:70)
    sun.awt.ScreenUpdater.run(ScreenUpdater.java:90)
    "AWT-Finalizer" (TID:0x411c1918, sys_thread_t:0x450d8e0c, state:MW) prio=9
    sun.awt.image.ImageRepresentation.doFinalization(ImageRepresentation.jav
    a:455)
    sun.awt.AWTFinalizer.run(AWTFinalizer.java:47)
    "Image Fetcher 3" (TID:0x411b92f8, sys_thread_t:0x450b7e0c, state:R) prio=9
    current thread
    sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:176
    sun.awt.image.ImageDecoder.setPixels(ImageDecoder.java:115)
    sun.awt.image.GifImageDecoder.sendPixels(GifImageDecoder.java:447)
    sun.awt.image.GifImageDecoder.readImage(GifImageDecoder.java:558)
    sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:227)
    sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java
    :257)
    sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:143)
    sun.awt.image.ImageFetcher.run(ImageFetcher.java:119)
    "Image Fetcher 0" (TID:0x411b9810, sys_thread_t:0x45096e0c, state:CW) prio=8
    sun.awt.image.ImageFetcher.nextImage(ImageFetcher.java:101)
    sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:138)
    sun.awt.image.ImageFetcher.run(ImageFetcher.java:119)
    "AWT-Motif" (TID:0x411c10e0, sys_thread_t:0x45075e0c, state:CW) prio=5
    java.lang.Thread.run(Thread.java)
    "AWT-Input" (TID:0x411c1100, sys_thread_t:0x44583e0c, state:R) prio=5
    "AWT-EventQueue-0" (TID:0x411c1118, sys_thread_t:0x44562e0c, state:CW) prio=
    5
    java.lang.Object.wait(Object.java)
    java.awt.EventQueue.getNextEvent(EventQueue.java:126)
    java.awt.EventDispatchThread.run(EventDispatchThread.java:70)
    "process reaper" (TID:0x411bd468, sys_thread_t:0x44541e0c, state:CW) prio=5
    java.lang.Thread.run(Thread.java)
    "Finalizer thread" (TID:0x411a0210, sys_thread_t:0x444c1e0c, state:CW) prio=
    1
    "Async Garbage Collector" (TID:0x411a0258, sys_thread_t:0x444a0e0c, state:CW
    ) prio=1
    "Idle thread" (TID:0x411a02a0, sys_thread_t:0x4447fe0c, state:R) prio=0
    "Clock" (TID:0x411a0088, sys_thread_t:0x4445ee0c, state:CW) prio=12
    "main" (TID:0x411a00b0, sys_thread_t:0x81e2ec0, state:CW) prio=5
    java.lang.Object.wait(Object.java)
    oracle.ewt.graphics.ImageLoader.waitFor(Unknown Source)
    oracle.ewt.graphics.ImageUtils.loadImage(Unknown Source)
    oracle.ewt.graphics.ImageUtils._getImageResource(Unknown Source)
    oracle.ewt.graphics.ImageUtils.getImageResource(Unknown Source)
    oracle.sysman.assistants.dbca.ui.WelcomePage.<init>(WelcomePage.java)
    oracle.sysman.assistants.dbca.ui.DBCAWizard.getPageAt(DBCAWizard.java)
    oracle.sysman.assistants.util.wizard.WizardExt.addPages(WizardExt.java)
    oracle.sysman.assistants.util.wizard.WizardObject.addPages(WizardObject.
    java)
    oracle.sysman.assistants.dbca.ui.DBCAWizard.addPages(DBCAWizard.java)
    oracle.sysman.assistants.util.wizard.WizardObject.launch(WizardObject.ja
    va)
    oracle.sysman.assistants.dbca.ui.UIHost.performOperation(UIHost.java)
    oracle.sysman.assistants.dbca.backend.Host.startOperation(Host.java)
    oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java)
    oracle.sysman.assistants.dbca.Dbca.main(Dbca.java)
    Monitor Cache Dump:
    oracle.ewt.timer.Timer@1092370816/1093138304: <unowned>
    Waiting to be notified:
    "TaskScheduler timer" (0x4513be0c)
    sun.awt.motif.MToolkit@1092358560/1093011760: owner "Image Fetcher 3" (0x450
    b7e0c, 1 entry)
    Waiting to enter:
    "AWT-Finalizer" (0x450d8e0c)
    Waiting to be notified:
    "AWT-Motif" (0x45075e0c)
    <unknown key> (0x0x4511ae0c): <unowned>
    Waiting to be notified:
    "Thread-4" (0x4511ae0c)
    oracle.sysman.assistants.dbca.ui.DBCAWizard@1092354968/1093001008: owner "ma
    in" (0x81e2ec0, 1 entry)
    oracle.sysman.assistants.util.wizard.WizardExt@1092365232/1093030256: owner
    "main" (0x81e2ec0, 1 entry)
    java.awt.EventQueue@1092358504/1093012024: <unowned>
    Waiting to be notified:
    "AWT-EventQueue-0" (0x44562e0c)
    sun.awt.image.ImageRepresentation@1092464464/1093651080: owner "Image Fetche
    r 3" (0x450b7e0c, 1 entry)
    oracle.ewt.graphics.ImageLoader@1092464472/1093651152: <unowned>
    Waiting to be notified:
    "main" (0x81e2ec0)
    sun.awt.ScreenUpdater@1092294128/1093093832: <unowned>
    Waiting to be notified:
    "Screen Updater" (0x450f9e0c)
    oracle.ewt.timer.Timer@1092452616/1094222688: <unowned>
    Waiting to be notified:
    "KeywordDataSource Background Merge" (0x4515ce0c)
    java.util.Vector@1092327416/1092940056: <unowned>
    Waiting to be notified:
    "Image Fetcher 0" (0x45096e0c)
    <unknown key> (0x0x444a0e0c): <unowned>
    Waiting to be notified:
    "Async Garbage Collector" (0x444a0e0c)
    Registered Monitor Dump:
    Fork_Wait_monitor: <unowned>
    Waiting to be notified:
    "process reaper" (0x44541e0c)
    Thread queue lock: <unowned>
    Name and type hash table lock: <unowned>
    String intern lock: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class loading lock: <unowned>
    Java stack lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Has finalization queue lock: <unowned>
    Finalize me queue lock: <unowned>
    Waiting to be notified:
    "Finalizer thread" (0x444c1e0c)
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    Child death monitor: <unowned>
    Event monitor: <unowned>
    I/O monitor: owner "AWT-Input" (0x44583e0c, 1 entry)
    Alarm monitor: <unowned>
    Waiting to be notified:
    "Clock" (0x4445ee0c)
    Monitor registry: owner "Image Fetcher 3" (0x450b7e0c, 1 entry)
    Thread Alarm Q:
    sys_thread_t 0x44583e0c [Timeout expired]
    sys_thread_t 0x4511ae0c [Timeout in 94 ms]
    sys_thread_t 0x444a0e0c [Timeout in 345 ms]
    sys_thread_t 0x45096e0c [Timeout in 4983 ms]
    ../dbca: line 129: 13423 Aborted $JRE_DIR/bin/jre -DORACLE_HOME=$
    ORACLE_HOME -DJDBC_PROTOCOL=thin -mx64m -classpath $CLASSPATH oracle.sysman.assi
    stants.dbca.Dbca $ARGUMENTS
    If anyone has any idea what's going on please me to the email adress shown at the top.

    A.T., I seem to remember it took me hours to download PRE7 4 or 5 years ago.
    I'm adding the latest step in this saga in case it helps someone else, as I had not found the following in any of the threads I searched through.
    My chat got closed while I was downloading and I got sent an email with details of the case number and a link to the Customer Support Portal online so I can update the case to let them know once everything is downloaded and working (fingers crossed).
    When I clicked on the link in the email, I went to a screen with the case link to use to update later. 
    BUT in the menu bar at the top of the page there is a link to Order History, which then took me to details of my orders, which I had not been able to get to by just using My Orders.  Beside my current order is a button to press to view the order details, so I did and got taken to a copy of the order details, which included a link to Downloads Available.  When I clicked on that, what do you know - I am in the Adobe store with all my Akamai download links for both lots of software and the installer for both 32 and 64-bit operating systems.
    How do you find the Customer Support Portal?? I searched Customer Support Portal on the Adobe home page and found this link to use
    http://helpx.adobe.com/x-productkb/policy-pricing/customer-support-portal.html
    It looks like you select your location then log in and you should get to your Customer Support Portal, with links to open and closed cases, as well as your order history and returns history.
    Hope that helps someone in the same boat in the future.

  • Dump_area_size is unlimited but Enterprise manager showing 57% full in

    Hi,
    I am working on oracle 10g 10.2.0.1 on Linux 32 bit, In Enterprise manager it is showing Dump Area used (%) 60%, when i removed all of my trace file from bdump,cdump,dpdump,adump. My archive log files are also in this dump area, so i removed most of archice and from rman delete expired archivelog too.
    But it is still showing 57%
    When i look at parameter MAX_DUMP_FILE_SIZE=unlimited
    Then why there is a full % IN Enterprise Manager

    Type of Dump area Dump area directory Total Dump area Dump area used
    Dump area used% Free Dump area
    background /u01/app/oracle/admin/test4/bdump 69171924 37290596 57
    31881328
    core /u01/app/oracle/admin/test4/cdump 69171924 37290596 57 31881328
    user /u01/app/oracle/admin/test4/udump 69171924 37290596 57 31881328
    Can we change the the dump area size and if we let it reach 100%, what will be the consequences, whether Oracle database automatically delete the older one or database will not be available for use

  • Run ALV in Background JOB (DUMP)

    HI Experts,
    Before post  i have already  look at this forum and tried many solutions , im on  SAPGUI 7.20 and already creatde a doc container... so nothing has work yet...
    Im trying to run a alv report in a  scheduled JOB...!!
    Below the Dump Description and My source code...!
    Many Thanks for any help..!!!!
    DUMP.
    Short text
        Exception condition "CNTL_ERROR" raised.
    What happened?
        The current ABAP/4 program encountered an unexpected
        situation.
    What can you do?
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        A RAISE statement in the program "CL_GUI_CONTROL================CP" raised the
         exception
        condition "CNTL_ERROR".
        Since the exception was not intercepted by a superior
        program, processing was terminated.
        Short description of exception condition:
        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.
    How to correct the error
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
    SOURCE CODE:
    DATA: gro_doc_container     TYPE REF TO cl_gui_docking_container,
            w_off                 TYPE  INT4.
      IF w_1c_container IS INITIAL.
      CALL METHOD cl_gui_alv_grid=>offline
       RECEIVING e_offline = w_off.
    IF NOT w_off is initial.
        CREATE OBJECT w_1obj_alv
                 EXPORTING i_parent = gro_doc_container .
      else.
          CREATE OBJECT w_1c_container
            EXPORTING
              container_name = c_1alv.
          CREATE OBJECT w_1obj_alv
            EXPORTING
              i_parent = w_1c_container.
        ENDIF.
        CREATE OBJECT w_event_receiver.
        SET HANDLER: w_event_receiver->handle_data_changed FOR w_1obj_alv,
                     w_event_receiver->handle_toolbar FOR w_1obj_alv,
                     w_event_receiver->handle_user_command FOR w_1obj_alv.
        CALL METHOD w_1obj_alv->register_edit_event
          EXPORTING
            i_event_id = cl_gui_alv_grid=>mc_evt_modified.
        CALL METHOD w_1obj_alv->set_table_for_first_display
          EXPORTING
            i_save               = c_a
            is_layout            = e_1layout
            is_variant           = e_1variant
            it_toolbar_excluding = is_1func
            i_structure_name     = c_1strucs1
          CHANGING
            it_outtab            = is_1pant
            it_fieldcatalog      = is_1fcat[].

    HI ,
    The ALV grid will not work in background. You need to check sy-batch (for background processing ) and write a seperate code .
    The better way of doing is to use SALV factory methods - It works both in background and foreground modes.
    Remember It will work on ECC and it doesnot support editable ALV directly.
    For Demo program  SALV_DEMO* and F4
    Hope this brings clarity and neccassary help to you.

  • Dump when run in background

    Hi All,
    I have a z-report which displays a ALV report. when I run this in background it gets canceled. when i see the log , it has dump and dump is as shown below.
    A RAISE statement in the program "CL_GUI_CONTROL================CP" raised the exception condition "CNTL_ERROR".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    What could be the problem, suggest me a solution if i have to add some code into my program or is it an application error which can be solved by SAP Notes.
    Regards
    Divakar Goud,

    Are you using GUI_UPLOAD or GUI_DOWNLOAD in the report then they will not work there.
    Use OPEN DATASET instead to read or write.
    Also, check weather there is a Container for OO ALV on the Report then use Docking Containe when SY_BATCH = 'X'.
    If its an normal ALV then Change the GRID to LIST layout for Backgroud. Its not that we cannot display grid in background we can do that but we require some layout handling there.
    ALV Grid in background job?
    Regards,
    Amit
    Reward all helpful replies.

Maybe you are looking for

  • Is there a way to disable "hide others"?

    I often have tons of apps open and if I accidentally hit "hide others" instead of "hide (app)" it makes me crazy. I hate having to "show all" then hide them one at a time. I know I could use the keyboard command, but it's different in some apps (Phot

  • Own page

    Im going to make a site to advertise my own web site services now taking on advice people have given me on here i want to get it all into one page I was thinking having groups of related items inside a main fixed width containing DIV, and a different

  • Blank data CD doesn't show up in finder window, but I can burn music onto..

    When I load a blank CD (or CD-RW), iTunes opens. But no icon shows up, either in iTunes, in the Finder window or on the Desktop. If I select a playlist in iTunes, the Burn Disc icon appears and I can burn the disc (even thought I can't see it). Once

  • Ecatt unique problem in SAPGUI

    Hi everyone I am facing an unique error, in SAP-GUI I recorded VL02N transaction and in this process I have pressed 'place cursor' button this button is giving the problem. My requirement is I have to repeat the whole process for different no of deli

  • Can only make one album in iphoto. Why?

    I make a photo album in iphoto. Give it a name and import photos into it. All works great. I create a second album, give it a new name and save it. I import photos into it and that works great too. Except now the first album I made is completely gone