Spool Generation problem in Back ground

Hi,
Can some one let me know what is the problem  in spool generation in the following scenario.
I have two reports:
ZF003 and ZF005.
ZF003 contains the ALV grid which actually  outputs the list.
If i run this in background the spool is being generated bcoz it makes use of ALV grid.
we had a requirement to  code some additional functionality in ZF005 and made use of ZF003 in the program ZF005.
ZF005 displays the ALV output when it is run in fore ground.but it is not generating the spool when run in the background.
Thanks in advance.
Regards,
Babul.

Hi Aarun,
It doesnot handle any upload or download from PC.
Very much  Thanks for ur suggestions.
But  i have coded in ZF005 using ALV once again to generate the spool in background.

Similar Messages

  • Problem with Back ground MRP Run (MDBT) or MD01

    Hello SAP Experts,
    Issue :- Material is not considering during Automatic back ground MRP run ( MDBT or MD01)
    But when we run MRP in forground (MD02) system is considering the material.
    we have checked both the selection parameter are same for MD01 and MD02 .
    can you help us on this issue ?
    Regards
    Mahesh

    Hi,
    Problem is due to entry in Planing File is missing for that Material.
    Go to MD21 and check whether Planing File entry is maintain for that Materiel.
    If not then maintain it by T.code MD20 (Manual) or you can do it by using back Ground JOB - OMDU.
    Regards,
    Dhaval

  • Problem in Back Ground Job

    Hi Experts,
    I want to execute a program in Back ground but my program has selectionscreen.
    I don't want to Provide Variant for this screen that's why i am passing these values Thru INITILIZATION event.
    But Background is not moving forward. It is waiting for I/p.
    Can you please help me on this.
    Thanks,
    Murali Krishna K

    Murali,
    For a program to be executed in background you need to create a variant and provide the variant name in the def. of the background job. giving the values at INITIALIZATION  will NOT work.
    On the second thought, you might have declared your parameters as OBLIGATORY. Take out that and make them optional. Now you schedule this in background without a variant and give the values in the INITILIZATION event.
    Regards,
    Ravi
    Note : Please close the thread of the issue is resolved.
    Message was edited by: Ravikumar Allampallam

  • Problem with back ground job

    Hello experts,
    I have one background job which generates a text file and place it in a FTP folder.
    When one user runs this job its working fine. But,
    When two users run <b>the same background job at same time,</b> then i get trouble with my output file as the data is mixed up.
    How to avoid this!  Appreciate quick response.

    Have each run of the job create a unique file  OR  when a user starts a job, create a "marker" file that prevents all other runs of the same prg from executing until the marker file is deleted.
    The deletion of the marker file would need to be the last step of the prog then.  This would allow the second user to run the prog later (after the first user is done).

  • Problem when printing Alv Tree Report in back ground

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

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

  • Back Ground Job Printing Problem

    Dear Experts,
    We schedled one back ground job with spool generation. Ecery thing is working fine but in printing selecton parameters are printing along with out put data.
    That means, if i gave 1000 materials in my variant, in spool first 1000 materials are printing an then actually out put is printing. i need to avoid these printing of selection set.
    Please help me...
    Thanks in advance

    Hello,
    Pleas find if there is any "PRINT_SELECTION" function module in report, which should be responsible for printing selection screen parameter values.
    Thanks.

  • Am unable to see all COLUMNS of my_ALV in SPOOL from a BACK GROUND JOB, Why

    hi experts,
    pls. clarify m ysimple doubt that,
    Am running a ALV report in my_BACK GROUND..........this ALV contains 16 comuns...........I ´got the SPOOL from the scheduled my_BACK GROUND.......I noticed that, ONLY 9 columns are showing up?????????????
    so,
    1 - If I take print, all the columns will come show up?
    2 - If I/user waanna to see totla columns, than How to get it done?
    3 - Why SAP is so?
    thanq

    Hi Srini,
      I do faced the same problem and struggle a lot. I have done two things and My problem is resolve .
    1. First my Report autom mail come in PDF format that we have change to HTML view. (Basis people can do it.)
    2. Page format previously it was X_44_120  we have change it to  X_58_170 and the problem is resolve.
    hope it will be help full for you.
    Regards
    Swati....

  • Back ground job problem

    hi every  one,
      pls help me out in this.
      i have written a program to create a wbs element.as it takes  20 to 30 min to create one element in production.in my program, there is part of code which creates wbs elements.
    so i want to run tht part of code in background.
    only part of code.
    even i did the coding for it. i wrote  a new program and i pasted that part of code in new program.
    and this new program i m submitting in old one by creating a back ground job.
    i m exporting few required internal tables for new report.i hav imported all internal tables in new report also..
    but still this importing exporting is not happening..pls
    tell me wat can be the problem..
    thanks..

    Your code is not optimized according to performance,can you sed me your code ...
    see my business card  for my  id.
    Thanks

  • Problem in scheduling job in back ground

    hi all,
    My project scenario is ,i have written a program to create WBS element.
    For 1 WBS creation ,In production it takes 20 to 30 min to create as there are many transactional bdcs.
    so i want to run that perticular code (all bdcs) in back ground.
    so i wrote another program with name 'zback_job_for_wbs_creation' and added all the required code.
    in old program,i have written some code to execute this new program in back ground . this code is below..
    FORM submit_for_job.
      TABLES:btcevtjob.
      DATA:l_jobname LIKE tbtco-jobname,
           l_jobnumber LIKE rsjobinfo-jobnumb.
      DATA: count LIKE btcevtjob-jobcount,
            jobname LIKE btcevtjob-jobname.
      DATA: job_was_released LIKE btch0000-char1.
      jobname = 'WBS_CREATION'.
      EXPORT s_scrnum TO MEMORY ID 'W_SCRNUM'.
      EXPORT iscrh TO MEMORY ID 'W_ISCRH'.
      EXPORT iscrl1 TO MEMORY ID 'W_ISCRL1'.
      EXPORT iscrl2 TO MEMORY ID 'W_ISCRL2'.
      EXPORT iscrl2b TO MEMORY ID 'W_ISCRL2B'.
      EXPORT iscrl2a  TO MEMORY ID 'W_ISCRL2A'.
      EXPORT iscrl1a  TO MEMORY ID 'W_ISCRL1A'.
      CALL FUNCTION 'JOB_OPEN'
            EXPORTING
                  jobname          = jobname
           IMPORTING
                  jobcount         = count
      SUBMIT zback_job_for_wbs_creation
      with S_SCRNNUM IN S_SCRNUM
      and return via JOB JOBNAME NUMBER COUNT TO SAP-SPOOL
      WITHOUT SPOOL  DYNPRO.
      CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
         jobcount                    = count
         jobname                     = jobname
          strtimmed                   = 'X'
        IMPORTING
             job_was_released            = 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
    here i have put break-point in my submitted program..but its not going to the program and job gets closed successfully without executing my code( Submitted Program).
    in above submit statement , if i just write submit progname and return ,then it goes to program.
    but job_close function module throws exception no 5.
    so pls help me out for this..
    i want my submitted program to be run in back ground..
    thanks.

    Hi,
    Start Job Monitor SM37 and search for your job. I think you will find it.
    Jobs are not linked to GUI frontend. So you can't debug your background job in that way.
    If you want to debug you must be tricky.
    Code a never ending loop with an exit condition which you can control by debugging.
    DATA:
    stop_for_capture.
    DO.
    IF sy-uname NE 'HABICH'. "change to your account
    EXIT.
    ENDIF.
    IF NOT stop_for_capture IS INITIAL.
    EXIT.
    ENDIF.
    ENDDO.
    When your job is running, start TA SM50 and mark relevant batch work process and
    choose by menu program -> program -> debugging.
    regards
    Walter Habich

  • SPOOL Output in back ground

    Hi experts ,
    Hi have 70 fields in my ALV output. When the data is huge the output format in back ground is destorted ( overlapping).
    When the data is less i could able to see alla colums appearing fine and can able to down load well?
    I wanna know is there any limitation of spool capacity or number of coulumns * rows in ALV format .
    Your help is highly rewarded.
    Thanks n Regards,
    Vamsi

    Hi,
    Well then did you try to increase the line-size in the report statement of the program?
    report ztest line-size 1023.
    Regards,
    Vikranth

  • Submit statemet not creating spool in back ground

    Hi,
    My program works perfectly fine(creates spool) when I execute in foreground. But it doesn't create the spool when I execute in back ground. Pls help...
            SUBMIT rkaep000
                   WITH p_tcode = 'KOB2'
                   WITH aufnr   IN r_aufnr
                   WITH r_budat IN r_date
                   WITH p_disvar = '/SCORP 1404'
                   TO SAP-SPOOL SPOOL PARAMETERS params
                   WITHOUT SPOOL DYNPRO
                   AND RETURN .

    Hi Chesat bs,
    check demo program DEMO_LIST_SUBMIT_TO_SPOOL.
    Hope this helps.
    Thanks
    Lakshman

  • ALV Grid in back ground

    Hi friends,  i got some problem in alv grid while i am running it in back ground.
      my report contains some currency(amount)  field in out put. when i am removing the amount field it is good result in back ground. but when it consist of amount field it is giving error. it indicating some string length problem. and error analysis as follows.
    Error analysis
    In statement
       "STRLEN( obj )..."
    the argument "obj" can only take a character-type data object.
    In this case, the operand "obj" has the non-character type "P".
      pls tell me can't we run amount field in back ground. if  s  how to solve my error. pls give me some ideas.
                                      Kumar.

    Hi
    Many a times there is a requirement to display ALV Grid (not ALV List) in the background Job. I have checked the SDN Forum for the same and it has been mentioned that ALV Grid cannot be displayed in Background, but the list output of ALV is possible. So user won’t have the actual Grid interface but the List interface.
    There is a workaround to display ALV Grid in Background Job. The only restriction is you can’t schedule the job through SM36. You need to execute the transaction of the report program, fill in the selection screen data and hit Execute.
    The job would be executed in background. User will be able to see the Job Log and Job Status after executing the program. User doesn’t have to go to SM37 to view the job status/log. Once the Job Status is changed to “COMPLETED”, user can click on “DISPLAY SPOOL” to view the ALV Grid.
    /people/prashant.patil12/blog/2007/02/20/displaying-alv-grid-in-background-job

  • Back ground job scheduling

    hi,
    question regarding back ground scheduling, one program consists of a selection screen having some input field and program calling SMARTFORMS in the program. When I shedule it in back ground I am not seeing output in the spool, and job is not completed sucessfully, so what is the problem??

    Hi Rajesh,
    probably the report is not designed to work properly in background.
    Give some details.
    Regards,
    Clemens

  • How to set Back ground job & get my desired output layout in sm36 & sm37 ?

    Hai SAP ABAP/BASIS Gurus,
    I am currently taking ME2N PO Pending value Report by setting variant in input screen & setting my own output layout  ie only four field ie.Plant, Material,Currency,Still to be delivered value will be visible in output screen
    I set Back ground in sm36 using my variant & i saw my output in sm37.. But I cant get output as my desired field..
    This is my problem..
    1) I Cant Get the Same output in shedule job [sm36 & sm37] like When i run in foreground for ME2n.
        I am using ALV Scope of list..
    2) If I use BEST Layout in Scope of list means i get the desired Output field layout as same as my foreground output field..
    I want to get the output layout as desired & also in ALV format[ Useful for excel work]
    Kindly guide me.
    Thanks in advance..
    swetha
    Edited by: Swetha SAP Girl on Jul 2, 2009 5:06 PM

    Hi Swetha,
    To get the missed fields in the spool, while creating the background job(execute in background option) you can see the printer setting block at the end of the background job settings window, in that check the 'Spool Request Max. Width 255 char' check box and then continue. It will generate the spool list with maximum width and you can see all the fields in the spool output.
    Thanks,
    Muthu
    Edited by: Muthu Prabakaran Selvam on Jul 3, 2009 2:35 PM

  • Output should be in Text format from Back ground job

    Hi friends,
    I have scheduleda back ground job. In the receipent i ahve put my user mail ID. when the job was finished the output came as HTML file. where as my user wants a Text file or excel file.
    We are in ECC 5.0 and i am just scheduling standard ABAP program( costing run
    Is it possible , if yes then, please let me know where to change the setting.
    Cheers
    PK

    Hi,
    I tried the same , it did not work for me. But when i contacted my Basis Guy through SCOT he changed. Now the text file has started coming.
    But now next problem is my spool request is of 215 pages but system is sending the text file for only first 10 pages..
    I have changed the setting for display from 10 pages 215 pages . and belwo even changed the seeting to permanenet between logons..Still system did not send the file to email Id.
    can you help mein this regards
    cheers
    PK

Maybe you are looking for

  • Is there any way to have 2 different itunes accounts on one computer?

    I am trying to find out if you can have two different itunes accounts on one computer.  My boyfriend and I both have the iphone 4 but we share a computer.  Is it  possible to have two accounts on one laptop? And if so, how do i do it?

  • Using 5th generation IPOD on two computers

    I just bought a new 30GB 5th generation Ipod. I travel for the government - one laptop I use at home, the other I use when traveling overseas. I use the same IPOD on both computers - or so I thought. Now I discover that when I try to use the same IPO

  • IPod disabled for over 23 million minutes

    When i turned my iPod on it showed that it is disabled for 23,547,746 minutes. I've tried plugging it into iTunes but it said to respond on my iPod, I can't as it's disabled. What can I do?

  • Aluminum PB Won't Automatically Sleep

    I posted this before, but said Titanium when I meant Aluminum. So I've posted again with the correction. My 15" Aluminum Powerbook won't automatically sleep any longer. This seems to coincide with my upgrade to 10.4.2, or perhaps the recent AirPort u

  • Deleting records from ztable??

    hi there.... i have arequirement to delete records from a ztable using coding ..... i hav tried the delete command but its not working properly. can anyone suggest a proper method for this.... urgent requirement.... useful ans wil be rewarded. regard